Skip to main content

Curated list of tools that can fix your code for you

29
GitHub Stars
56
Curated Resources
6
Categories
1 day ago
Last Refreshed
By EnvironmentLibraries/Tools for refactoringTools for invoking codemodsFix aggregatorsCommercial PlatformsMeta

Use this list with your AI agent

Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:

"Show me javascript/typescript resources from awesome-codemods"

Installation instructions →

What's inside

By Environment

  • 5to6-codemodJavaScript/TypeScript

    transform ES5 code to ES6

  • angular-codemodsJavaScript/TypeScript

    codemods for refactoring Angular applications

  • apply-multiarch-hintsDebian

    Apply multi-arch fixes from

  • autoflakePython

    remove unused imports and unused variables

  • blacken-docsPython

    run black on code fragements in documentation

  • clippyRust

    linter that can also fix (some of the) issues it reports

Tools for invoking codemods

  • all-repos

    Run codemods across a set of local repositories

  • CodeshiftCommunity

    Community-owned global registry for codemods

  • pre-commit

    Run formatters during git pre-commit

  • silver-platter

    Run codemods against remote repositories and publish changes (creating PRs/pushing)

Libraries/Tools for refactoring

  • asttokens

    token-preserving AST library for Python

  • Bowler

    modern Python (deprecated, recommends libcst)

  • clang-libastmatcher

    CLang AST Matchers

  • libcst

    Python

  • pasta

    code rewriting for Python using AST mutation instead of string templates

  • putout

    pluggable JavaScript/TypeScript code transformer

Commercial Platforms

Fix aggregators

  • mrm

    codemods for project config files

  • nitpick

    Apply the same pre-defined settings across all your projects

  • routine-update

    run various codemods for Debian packages

Showing a sample of 56 resources. View the full list on GitHub →