Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Execute automated AST-based code transformations for large-scale refactoring and migration
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -11% | 0% |
Executes automated code transformations using AST-based tools for large-scale refactoring, framework migrations, and language version upgrades.
Enable automated code transformations for:
| Tool | Language | Integration Method | |------|----------|-------------------| | jscodeshift | JavaScript/TypeScript | CLI | | ts-morph | TypeScript | Library | | Rector | PHP | CLI | | Scalafix | Scala | CLI | | OpenRewrite | Java | CLI / Maven | | Bowler | Python | CLI | | ast-grep | Multi-language | CLI / MCP | | gofmt -r | Go | CLI |
json{ "executionId": "string", "timestamp": "ISO8601", "codemod": { "name": "string", "version": "string", "description": "string" }, "results": { "filesProcessed": "number", "filesModified": "number", "filesSkipped": "number", "transformations": "number" }, "changes": [ { "file": "string", "transformations": [ { "type": "string", "line": "number", "before": "string", "after": "string" } ] } ], "errors": [], "warnings": [] }
refactoring-assistant: Suggests transformationsstatic-code-analyzer: Pre-transformation analysiscode-transformation-executor: Orchestrates codemodsframework-upgrade-specialist: Framework-specific codemodsOther measured skills in the registry, with their headline benchmark lift.