Use Ast Grep banner
automazeio automazeio

Use Ast Grep

Development community

Description

# AST-Grep Integration Protocol for Cursor Agent ## When to Use AST-Grep Use `ast-grep` (if installed) instead of plain regex or text search when: - **Structural code patterns** are involved (e.g., finding all function calls, class definitions, or method implementations) - **Language-aware refactoring** is required (e.g., renaming variables, updating function signatures, or changing imports) - **Complex code analysis** is needed (e.g., finding all usages of a pattern across different syntacti

Installation

Installs to ~/.claude/skills/automazeio-claude-code-for-power-users-use-ast-grep/SKILL.md

Terminal
mkdir -p ~/.claude/skills/automazeio-claude-code-for-power-users-use-ast-grep && curl -fsSL https://raw.githubusercontent.com/automazeio/claude-code-for-power-users/HEAD/commands/use-ast-grep.md -o ~/.claude/skills/automazeio-claude-code-for-power-users-use-ast-grep/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository