Codemod

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, large-scale mechanical edits, codemod package authoring, AST inspection, tree-sitter node type lookup, and Codemod documentation lookup through `codemod ai` commands. 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 7d66377 2 files · 16.4 KB Updated

File contents

codemod/codemod/tree/main/crates/cli/src/templates/ai-native-cli/codemod-cli commit 7d66377bf6

Frequently asked questions

npx skillmds@latest add codemod/codemod-2