codemod-generator

Community

Automate code transformations.

Authormurphytrueman
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the tedious and error-prone process of applying design system changes across multiple codebases, ensuring consistency and reducing migration debt.

Core Features & Use Cases

  • Generate Codemods: Creates automated scripts (jscodeshift, ts-morph) for token renames, prop changes, import updates, and component replacements.
  • Test Generation: Produces comprehensive test cases for each codemod to ensure safety and accuracy.
  • Migration Runner: Orchestrates the execution of multiple codemods in the correct order for version upgrades.
  • Use Case: When a design system renames a core token like color.brand.primary to color.action.primary, this skill generates a jscodeshift script that safely updates all instances across your projects.

Quick Start

Use the codemod generator skill to create a codemod for renaming the 'Button' component's 'type' prop to 'variant'.

Dependency Matrix

Required Modules

postcssglobchild_process

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: codemod-generator
Download link: https://github.com/murphytrueman/design-system-ops/archive/main.zip#codemod-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.