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 | I…