Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The CLI for codemods: scaffold, share, and run multi-step transformations of any size. First-class ast-grep support. Fast, reliable, polyglot.

License

Notifications You must be signed in to change notification settings

codemod/codemod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Codemod Registry Header


Platform Β· Community Β· Docs

Codemod

Community License

Codemod is the AI-powered, community-led platform for automating code migrations, framework upgrades, and large-scale changes.

This repo houses the Codemod CLI and its underlying workflow engine – everything you need to scaffold, test, and run codemods locally or in CI. The CLI can also connect to Codemod’s hosted Registry and Platform when you want to publish or orchestrate migrations across many repositories.

Key Features

  • Workflows – Scaffold, test, and orchestrate complex, multi-step migrations with ast-grep YAML or JavaScript ast-grep (jssg).
  • Codemod Registry – Share or discover community codemods via npx codemod publish or npx codemod search.
  • Codemod MCP – AI tools for code analysis, AST manipulation, and codemod creation in AI-powered IDEs.

Getting Started

# 1) Scaffold a new codemod project
npx codemod init my-codemod

# 2) Test it locally
npx codemod workflow run -w my-codemod/workflow.yaml

# 3) Publish it when you're ready
npx codemod publish my-codemod

# 4) Run it from the Registry
npx codemod @codemod/my-codemod

See the full CLI reference for every command and option.

Codemod Platform

The CLI is the engine that powers campaigns inside Codemod Platform. Need to coordinate changes across multiple repositories, track progress, or collaborate with your team? The Platform adds insights, orchestration, dashboards, and authoring tools that help teams successfully land large-scale code migrations.

Learn more in the docs and share feedback on the feedback board. We also hang out in Slack β€” join us at go.codemod.com/community.

Contributing

We welcome contributions to the Codemod CLI. Please see the contributing guide to get started.

Contributors ✨

Alt

Thanks goes to these wonderful people (emoji key):

Alex Bit
Alex Bit

πŸ’» πŸ“–
Mohamad Mohebifar
Mohamad Mohebifar

πŸ’» πŸ›
amirabbas-gh
Amirabbas Ghasemi

πŸ’» πŸ›
Mohab Sameh
Mohab Sameh

πŸ’» πŸ“–
siamak
Siamak

πŸ’» πŸ› 🎨
Jahred Hope
Jahred Hope

πŸ’»
Jacob Smith
Jacob Smith

πŸ“–
Augustin Mauroy
Augustin Mauroy

πŸ’» πŸ› πŸ€”
Bruno Rodrigues
Bruno Rodrigues

πŸ’»
Cameron Seebach
Cameron Seebach

πŸ› πŸ’»
Benny Joo
Benny Joo

πŸ’» πŸ› πŸ“–
Grzegorz
Grzegorz

πŸ› πŸ’»
Greg Pabian
Greg Pabian

πŸ’» πŸ› πŸ“–
arshcodemod
arshcodemod

πŸ“– πŸ“’
Sasha
Sasha

πŸ’» πŸ›
Mikhail Demidoff
Mikhail Demidoff

πŸ’»
Aleksy
Aleksy

πŸ’» πŸ›
Pardis Pashakhanloo
Pardis Pashakhanloo

πŸ’» πŸ“ πŸ”£
DmytroHryshyn
DmytroHryshyn

πŸ’» πŸ›
kevtran2
kevtran2

πŸ“– πŸ’»
Max Leiter
Max Leiter

πŸ’»
Manish Jha
Manish Jha

πŸ› πŸ’»
with-heart
with-heart

πŸ› πŸ“– πŸ€”
Aniello Falcone
Aniello Falcone

πŸ›
Harsh Gupta
Harsh Gupta

πŸ’»
Nuurek
Nuurek

πŸ’» πŸ›
Norayr Baghdasarov
Norayr Baghdasarov

πŸ’» πŸ›
Espen Bye
Espen Bye

πŸ›
Jake Riordan
Jake Riordan

πŸ’» πŸ›
Jonathan Giardino
Jonathan Giardino

πŸ’» πŸ›
Mohamed Amine Diboune
Mohamed Amine Diboune

πŸ’»
Seif Ghezala
Seif Ghezala

πŸ’»
Ahmad Soliman
Ahmad Soliman

πŸ’»
Maciej Lotkowski
Maciej Lotkowski

πŸ›
Jay Kumar
Jay Kumar

πŸ’»
Shinya Fujino
Shinya Fujino

πŸ“– πŸ’» πŸ›
coderaiser
coderaiser

πŸ’»
Zach Wolf
Zach Wolf

πŸ›
Serhii Melnyk
Serhii Melnyk

πŸ€”
Henry Q. Dineen
Henry Q. Dineen

πŸ’» πŸ›
Matthias
Matthias

πŸ›
Mohammad Bagher Abiyat
Mohammad Bagher Abiyat

πŸš‡
Yugal Agarwal
Yugal Agarwal

πŸ’»
Sameer Poswal
Sameer Poswal

πŸ’» πŸ›
Michael Stramel
Michael Stramel

πŸ“–
George W Langham
George W Langham

πŸ›
Siddhesh Mhadnak
Siddhesh Mhadnak

πŸ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

About

The CLI for codemods: scaffold, share, and run multi-step transformations of any size. First-class ast-grep support. Fast, reliable, polyglot.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published