Get started with building codemods using Codemod Studio.
Add before/after snippets
codemod learn
command straight from your IDE/CLI to automatically populate the before/after snippets.Use AI helper
Actions
Build a codemod to transform before to after
action to automatically build a codemod using the default prompt.Fix codemod error
action to automatically try fixing the caught error.Prompt builders
Codemod editor
Output panel
Before
snippet in real-time.This immediate feedback loop helps you quickly identify and correct any issues in your codemod without having to export and run it over your local project.AST viewer
Debugger
console.log
in the codemod editor to print out any output in the debugger.Share
to get a shareable public link to your codemod.
This allows you to easily share and test your codemods with friends, team members, and the community.
Export codemod
Run locally via CLI
to export and download the codemod package.Run via Codemod CLI