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
.claude/skills/a5c-ai-codemod-executor/SKILL.md| 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 codemods| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 10,900 | 6,848 | -37% | 1 | 1 | 0% | 2,422 | 2,190 | -10% | 0 | 0 | — |
case-02 | fail→pass | 11,210 | 10,227 | -9% | 1 | 1 | 0% | 2,565 | 3,057 | +19% | 0 | 0 | — |
case-03 | fail→pass | 9,838 | 8,572 | -13% | 1 | 1 | 0% | 2,056 | 2,651 | +29% | 0 | 0 | — |
case-04 | fail→fail | 7,449 | 3,892 | -48% | 1 | 1 | 0% | 1,393 | 1,434 | +3% | 0 | 0 | — |
case-05 | fail→fail | 10,834 | 4,116 | -62% | 1 | 1 | 0% | 1,986 | 1,401 | -29% | 0 | 0 | — |
case-06 | fail→fail | 3,461 | 2,852 | -18% | 1 | 1 | 0% | 560 | 1,200 | +114% | 0 | 0 | — |
case-07 | fail→pass | 12,989 | 5,786 | -55% | 1 | 1 | 0% | 1,805 | 1,748 | -3% | 0 | 0 | — |
case-08 | fail→fail | 13,493 | 8,728 | -35% | 1 | 1 | 0% | 1,874 | 2,089 | +11% | 0 | 0 | — |
case-09 | fail→fail | 5,686 | 2,163 | -62% | 1 | 1 | 0% | 1,113 | 1,082 | -3% | 0 | 0 | — |
case-10 | fail→fail | 9,844 | 6,307 | -36% | 1 | 1 | 0% | 1,960 | 1,827 | -7% | 0 | 0 | — |
case-11 | fail→pass | 8,084 | 4,068 | -50% | 1 | 1 | 0% | 1,768 | 1,565 | -11% | 0 | 0 | — |
case-12 | fail→pass | 4,463 | 2,849 | -36% | 1 | 1 | 0% | 952 | 1,137 | +19% | 0 | 0 | — |
case-13 | fail→fail | 7,703 | 5,303 | -31% | 1 | 1 | 0% | 1,334 | 1,694 | +27% | 0 | 0 | — |
case-14 | fail→fail | 5,857 | 4,915 | -16% | 1 | 1 | 0% | 915 | 1,435 | +57% | 0 | 0 | — |
case-15 | fail→pass | 12,227 | 10,435 | -15% | 1 | 1 | 0% | 2,059 | 2,643 | +28% | 0 | 0 | — |
case-16 | fail→fail | 18,961 | 17,152 | -10% | 1 | 1 | 0% | 2,588 | 3,173 | +23% | 0 | 0 | — |
case-17 | fail→fail | 15,428 | 17,475 | +13% | 1 | 1 | 0% | 2,548 | 3,257 | +28% | 0 | 0 | — |
case-18 | fail→pass | 12,446 | 2,175 | -83% | 1 | 1 | 0% | 1,581 | 1,024 | -35% | 0 | 0 | — |
case-19 | fail→fail | 9,226 | 1,480 | -84% | 1 | 1 | 0% | 1,325 | 890 | -33% | 0 | 0 | — |
case-20 | fail→pass | 9,456 | 3,646 | -61% | 1 | 1 | 0% | 1,453 | 909 | -37% | 0 | 0 | — |
case-21 | fail→pass | 13,801 | 2,701 | -80% | 1 | 1 | 0% | 1,638 | 1,021 | -38% | 0 | 0 | — |
case-22 | fail→fail | 8,328 | 8,707 | +5% | 1 | 1 | 0% | 903 | 1,509 | +67% | 0 | 0 | — |
case-23 | fail→fail | 8,216 | 8,664 | +5% | 1 | 1 | 0% | 1,518 | 2,259 | +49% | 0 | 0 | — |
case-24 | fail→fail | 11,220 | 12,272 | +9% | 1 | 1 | 0% | 2,622 | 3,082 | +18% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted. The headline lift of +42 percentage points is the difference between those two pass rates over the 24 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.