Skip to content

Best-practice guide with 40 rules for writing, reviewing, and debugging jscodeshift codemods across eight prioritized categories.

CCM score
49 of 100
skills.sh installs
427
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers parser configuration, AST traversal, node filtering, transformation, code generation, testing, runner optimization, and advanced patterns
  • Ranks rules from critical (parser setup, traversal) to low-priority advanced patterns, with a rule file and impact level for each
  • Includes testing guidance such as inline input/output tests, negative cases, dry-run exploration, and parse error handling
  • Designed for AI agents and developers writing or debugging codemods for large-scale code migrations

Install

$ npx -y skills add pproenca/dot-skills --skill jscodeshift -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Facebook/Meta jscodeshift Best Practices

Comprehensive best practices guide for jscodeshift codemod development, designed for AI agents and LLMs. Contains 40 rules across 8 categories, prioritized by impact from critical (parser configuration, AST traversal) to incremental (advanced patterns). Each rule includes detailed explanations, real-world examples, and specific impact metrics.

When to Apply

Reference these guidelines when:

  • Writing new jscodeshift codemods for code migrations
  • Debugging transform failures or unexpected behavior
  • Optimizing codemod performance on large codebases
  • Reviewing codemod code for correctness
  • Testing codemods for edge cases and regressions

Rule Categories by Priority

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend & UI Code, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the jscodeshift skill help with?

The jscodeshift skill gives best practices for writing, reviewing and debugging jscodeshift codemods, covering AST transformation and code migration. It contains 40 rules across 8 categories, from parser configuration and AST traversal to testing and runner optimization.

How do I install the jscodeshift skill?

Run npx -y skills add pproenca/dot-skills --skill jscodeshift -y in your project to install it. Once installed, the agent can apply these codemod guidelines when you work on AST transformations or automated refactoring.

Which other skills lead the Frontend & UI Code category next to jscodeshift?

Within the Frontend & UI Code category, the skills listed alongside jscodeshift include vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. This skill is focused on codemod development rather than UI components.

More from pproenca/dot-skills

All 100

Similar to Jscodeshift

More Frontend & UI Code