codemod

Plan, scaffold, execute, and verify code migrations with the Codemod CLI.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/refactory-lang/refactory-template --skill codemod-refactory-lang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codemod
Source: https://github.com/refactory-lang/refactory-template/tree/main/.agents/skills/codemod
Command: npx skills add https://github.com/refactory-lang/refactory-template --skill codemod-refactory-lang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of planning, executing, and managing code migrations, ensuring safety, repeatability, and efficiency.

Core Features & Use Cases

  • Migration Execution: Plan and run code migrations using the Codemod CLI.
  • Codemod Creation: Scaffold new codemod packages or monorepos.
  • Use Case: Automatically update all instances of a deprecated API across your entire codebase with a single command, ensuring consistency and reducing manual effort.

Quick Start

Use the codemod skill to plan and execute code migrations for the 'react-router-dom' upgrade.

Frequently Asked Questions about codemod

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

FAQPage Schema
How do I automate code migration for deprecated APIs across a large project?

Automated code migration uses the Codemod CLI to plan, execute, and verify code transformations, updating deprecated APIs across your codebase consistently while reducing manual effort.

What is the best way to safely refactor a codebase during a major framework upgrade?

Safe refactoring during framework upgrades is achieved by orchestrating intelligent, repeatable code transformations that scaffold codemod packages and verify updates before applying them.

Can I scaffold new codemod packages for different programming languages?

Yes, codemod package scaffolding supports various project types and languages, enabling you to create structured transformation packages or monorepos for specific migration needs.

How does the Codemod CLI handle migration planning and verification?

The Codemod CLI handles migration planning and verification by orchestrating intelligent workflows that scaffold, execute, and validate code transformations for safe, repeatable updates.

Do I need a specific environment to run AI-native code transformation workflows?

AI-native code transformation workflows integrate directly with the Codemod CLI, requiring an environment that supports executing structured migration orchestration and verification commands.