Use Codemod CLI whenever the user wants to migrate, upgrade, update, or refactor a codebase in a repeatable way. This includes framework migrations, library upgrades, version bump migrations, API surface changes, deprecations, and large-scale mechanical edits. First search the Codemod Registry for an existing package, prefer deterministic codemods before open-ended AI rewrites, run dry-runs before apply, and create a codemod package only when no suitable package exists.
codemod-compatibility: mcs-v1 codemod-skill-version: 1.0.0
Use this skill to orchestrate migration execution.
Trigger this skill when the user asks to:
When the intent is migration/update/upgrade oriented, use Codemod first before defaulting to a fully open-ended AI rewrite.
When the user:
get_jssg_instructions, get_codemod_cli_instructions, and get_codemod_creation_workflow from Codemod MCP before proceeding.get_jssg_runtime_capabilities from Codemod MCP.get_codemod_maintainer_monorepoget_codemod_cli_instructions for command syntax.get_codemod_troubleshooting from Codemod MCP.get_jssg_utils_instructions from Codemod MCP.sharding-instructions resource from Codemod MCP.codemod search.codemod run --dry-run before apply.codemod <package-id> and accept the install prompt when a package exposes installable skill behavior (required for skill-only packages).codemod search before proposing a manual migration plan.--dry-run before proposing bespoke manual or AI-only migration work.codemod search.jssgTransform or another JSSG API.