codemod

Installation
SKILL.md

Codemod Best Practices

Comprehensive best practices guide for Codemod (JSSG, ast-grep, workflows), designed for AI agents and LLMs. Contains 48 rules across 11 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Writing new codemods with JSSG or ast-grep
  • Designing workflow configurations for migrations
  • Debugging pattern matching or AST traversal issues
  • Reviewing codemod code for performance and safety
  • Setting up test fixtures for transform validation

Rule Categories by Priority

Priority Category Impact Prefix
1 AST Understanding CRITICAL ast-
2 Pattern Efficiency CRITICAL pattern-
Related skills

More from pproenca/dot-skills

Installs
188
GitHub Stars
141
First Seen
Jan 22, 2026