ast-grep
CommunitySyntax-aware code search, linting, and refactors.
AuthorDwsy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
AST-Grep addresses the need for precise code search, automated linting, and bulk code rewriting by understanding code structure rather than plain text, enabling reliable refactors across large codebases.
Core Features & Use Cases
- Semantic search across languages using AST patterns for accurate matches.
- AST-based linting and code transformation to enforce coding standards.
- Bulk code rewrite and refactor workflows with rule-based configurations.
- Use Case: Migrate legacy functions to new APIs across a TS/JS codebase without breaking behavior.
Quick Start
Search for a specific function pattern across your codebase using AST-based rules.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ast-grep Download link: https://github.com/Dwsy/agent/archive/main.zip#ast-grep Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.