Ast Grep

Use this skill when working with ast-grep, an AST-based code search, lint, and rewrite tool. Activate when the user asks to search code patterns, refactor code structurally, create linting rules, or perform AST-based code analysis. Helps with pattern syntax, meta-variables, rule configuration, and CLI commands for Java, JavaScript, TypeScript, Python, Rust, Go, and 20+ other languages. Includes Java-specific patterns for annotations, null checks, exception handling, and Stream API usage.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/skempken--ast-grep-skill--ast-grep commit 6f084d0662

Frequently asked questions

npx skillmds@latest add tomevault-io/ast-grep-5