develop-codemod

Automate AST-based code migrations with boundary validation for TypeScript and JavaScript projects.

6|1|Updated Apr 26, 2025
One-click install
npx skills add https://github.com/edobry/minsky --skill develop-codemod
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: develop-codemod
Source: https://github.com/edobry/minsky/tree/main/.claude/skills/develop-codemod
Command: npx skills add https://github.com/edobry/minsky --skill develop-codemod

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Develop safe, effective codemods using AST-based approaches with mandatory boundary validation testing before deployment.

Core Features & Use Cases

  • AST-based codemods for safe, structure-aware refactoring.
  • Mandatory boundary validation testing before deployment, including problem analysis, technical analysis, test design, and validation.
  • End-to-end workflow covering the five-step validation process and decision documentation.

Quick Start

Run the codemod tooling across the repository to apply the defined transformation safely.

Frequently Asked Questions about develop-codemod

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely refactor a large TypeScript codebase using AST codemods?

AST-based codemods automate structure-aware refactoring by parsing code into an abstract syntax tree and applying transformations with mandatory boundary validation to prevent regressions.

What is the best way to automate code migrations for API surface changes in JavaScript?

Automating code migrations for API surface changes in JavaScript is best done using AST-powered codemods that enforce a five-step validation workflow including reverse engineering, technical analysis, test design, validation execution, and decision documentation.

Do I need ts-morph or jscodeshift to run AST-based codemods?

Yes, AST-based codemods require AST tooling such as ts-morph or jscodeshift to parse and transform TypeScript or JavaScript codebases during migrations.

Can I use AST codemods for large scale refactoring without breaking existing tests?

You can use AST codemods for large scale refactoring without breaking existing tests by following the mandatory boundary validation workflow, which includes test design and validation execution before deployment.

What are the limitations of using AST codemods for TypeScript code migrations?

Limitations of using AST codemods for TypeScript code migrations include the requirement for AST tooling like ts-morph or jscodeshift and the necessity of completing a five-step boundary validation process to ensure no regressions.

Why does AST-based code migration require boundary validation testing?

AST-based code migration requires boundary validation testing to prevent regressions by enforcing a five-step workflow covering reverse engineering, technical analysis, test design, validation execution, and decision documentation.