Skip to content
Development
Command

/codemod-generator

Generate a migration codemod with tests and rollback plan

shell
$ npx -y skills add murphytrueman/design-system-ops --agent claude-code

Ships with design-system-ops. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/codemod-generator

Context preview

What this command does when you run it.

Generate a migration codemod with tests and rollback plan

Command definition

codemod-generator.md
description: Generate a migration codemod with tests and rollback plan
allowed-tools: Read, Write, Grep, Glob, Bash(cat:*), Bash(find:*), Bash(head:*), Bash(ls:*), Bash(node:*), Bash(sort:*), Bash(tail:*), Bash(wc:*)

Run the codemod-generator skill to produce a migration codemod.

Load the codemod-generator skill from ${CLAUDE_PLUGIN_ROOT}/skills/codemod-generator/SKILL.md and follow its complete workflow.

The user should provide the migration context as an argument: $ARGUMENTS

Before starting, read the knowledge notes declared in the skill's frontmatter `references:` field, located in ${CLAUDE_PLUGIN_ROOT}/knowledge-notes/.

Produce the full codemod package including: jscodeshift transform, test cases, migration runner script, MIGRATION.md, and ROLLBACK.md.

Read it on GitHub โ†—
Ships withdesign-system-ops

Claude Code skills for the work that keeps a design system alive.

Get the whole plugin, auto-invoked
Stats
151
Stars
0
Views
7
Forks
Maintained
Maintenance
HTML
Language
MIT
License
1mo ago
Last commit
4mo ago
Created

Repo: murphytrueman/design-system-ops