Coding assistants like Cursor have brought us into a new era of programming. But there’s a class of programming tasks that remain outside their reach: large-scale, systematic modifications across large codebases. You wouldn’t ask an AI to delete all your dead code or reorganize your entire component hierarchy - the tooling just isn’t there. That’s where codemods come in. A codemod is a program that operates on a codebase, and when you give an AI agent the ability to write and execute them, these platform-level tasks fall below the high-water mark of AI capabilities. Here’s a real example: we asked Devin (an autonomous SWE agent) to “delete all dead code” from our codebase. Instead of trying to make hundreds of individual edits, Devin wrote and debugged a program that systematically removed unused code while handling edge cases like tests, decorators and indirect references.Documentation Index
Fetch the complete documentation index at: https://codegeninc-fix-system-prompt-typo.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.

Try it yourself
Want to experience this with your own Devin instance? Install the Codegen CLI in your Devin box:Dead Code Deletion Prompt
Download System Prompt
Convert Promises
Automatically convert Promise chains to async/await syntax across your codebase.
Organize Code
Move and organize code safely with automatic import and dependency handling.
Modernize React
Convert class components to hooks, standardize props, and organize components.
Migrate Tests
Automatically convert unittest test suites to modern pytest style.