Loading...
Loading...
jscodeshift codemod development best practices from Facebook/Meta. This skill should be used when writing, reviewing, or debugging jscodeshift codemods. Triggers on tasks involving AST transformation, code migration, automated refactoring, or codemod development.
npx skill4agent add pproenca/dot-skills jscodeshift| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Parser Configuration | CRITICAL | |
| 2 | AST Traversal Patterns | CRITICAL | |
| 3 | Node Filtering | HIGH | |
| 4 | AST Transformation | HIGH | |
| 5 | Code Generation | MEDIUM | |
| 6 | Testing Strategies | MEDIUM | |
| 7 | Runner Optimization | LOW-MEDIUM | |
| 8 | Advanced Patterns | LOW | |
parser-typescript-configparser-flow-annotationparser-babel5-compatparser-export-declarationparser-astexplorer-matchtraverse-find-specific-typetraverse-two-pass-patterntraverse-early-returntraverse-find-filter-patterntraverse-closest-scopetraverse-avoid-repeated-findfilter-path-parent-checkfilter-import-bindingfilter-nullish-checksfilter-jsx-contextfilter-computed-propertiestransform-builder-apitransform-replacewith-callbacktransform-insert-importtransform-preserve-commentstransform-renametotransform-remove-unused-importscodegen-tosource-optionscodegen-preserve-stylecodegen-template-literalscodegen-print-widthtest-inline-snapshotstest-negative-casestest-dry-run-explorationtest-fixture-filestest-parse-errorsrunner-parallel-workersrunner-ignore-patternsrunner-extensions-filterrunner-batch-processingrunner-verbose-outputadvanced-compose-transformsadvanced-scope-analysisadvanced-multi-file-stateadvanced-custom-collections| File | Description |
|---|---|
| AGENTS.md | Complete compiled guide with all rules |
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |