| name | codemod-executor |
| description | Execute automated AST-based code transformations for large-scale refactoring and migration |
| allowed-tools | ["Bash","Read","Write","Grep","Glob","Edit"] |
| graph | {"domains":["domain:software-engineering"],"specializations":["specialization:code-migration-modernization"],"skillAreas":["skill-area:dead-code-elimination","skill-area:dependency-upgrade-strategies"],"roles":["role:backend-engineer","role:refactor-bot"],"workflows":["workflow:technical-debt-reduction"],"topics":["topic:refactoring"]} |
Codemod Executor Skill
Executes automated code transformations using AST-based tools for large-scale refactoring, framework migrations, and language version upgrades.
Purpose
Enable automated code transformations for:
- Framework migration (React, Angular, Vue)
- Language version upgrades
- API deprecation handling
- Pattern standardization
- Large-scale refactoring
Capabilities
1. AST-Based Transformations
- Parse source code to AST
- Apply transformation rules
- Generate modified source
- Preserve code style
2. Pattern Matching and Replacement
- Define source patterns
- Specify target patterns
- Handle edge cases
- Support wildcards and captures
3. Multi-File Transformations
- Apply across entire codebase