email-sdk-migrate
Installation
SKILL.md
Email SDK Migration
Migrate an application from its installed Email SDK API to the target version using the exact package declarations and current migration docs. Treat this skill as a discovery-and-edit workflow, not a static codemod.
Establish the migration boundary
- Read the application package manifest and lockfile to identify the installed
@opencoredev/email-sdkversion. - Inspect the installed package exports, README, and
dist/*.d.ts. When working inside the Email SDK repository, inspectpackages/email-sdk/src/index.ts,types.ts,core.ts,errors.ts, andapps/fumadocs/content/docs/guides/migrate/instead. - Identify the target version requested by the user. Default to the latest stable version, not an unreleased local tree, unless the task explicitly targets repository source.
- Read the migration guide for every crossed major version. Prefer the exact installed declarations when prose and code disagree.
Audit before editing
Run the bundled scanner from the target application root:
node path/to/email-sdk-migrate/scripts/audit.mjs .