ast-grep avatar

ast-grep

v1.0.0community611 stars

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search.

Install

/plugin install ast-grep@ast-grep-agent-skill
AI writes the code. CodeRabbit catches the slop.
Try For Free
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install
create and run specialised agents in minutes
build now
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now
More from ast-grep/agent-skillView source

ast-grep · code-search · ast · structural-search · pattern-matching · refactoring