
Jscodeshift
If you're writing codemods with jscodeshift, this gives you 40 specific rules from Facebook/Meta organized by impact. It covers the stuff that actually matters: parser configuration to avoid silently breaking on TypeScript, AST traversal patterns that won't tank performance on large codebases, and how to preserve comments when transforming nodes. The priority system is helpful because parser config and traversal patterns are marked critical while composition patterns are low priority, which matches reality. Each rule links to detailed examples with impact metrics. Worth having loaded if you're doing any serious code migration work or debugging why your transform is mangling output.
- skills.sh installs
- 416
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill jscodeshift --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Documentation, Code Review & Quality, Debugging, Automation & Workflows
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- Expo React Native Coder415
- Tdd415
- Humanize409
- React Optimise403
- Knip Deadcode390
- Rails Hotwire380
- Ts Google378
- Nginx C Module Design369
- Vite367
- Nginx C Modules365
- Ios Animations355
- Dockerfile Optimise351
- Uniwind348
- 37signals Rails340
- Ast Grep340
- Audio Voice Recovery340
- Orval338
- Mui Base335
- Codemod334
- Vhs331
- Skill Authoring330
- Unix Cli326
- Python323
- Rust Refactor322