ast-grep-patterns

Community

Master structural searches with AST-Grep.

AuthorAnExiledDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Codebases often require finding complex code patterns that go beyond simple text search. This skill enables precise, structural searches to locate constructs like function calls, class definitions, and imports using ast-grep patterns.

Core Features & Use Cases

  • Structural search with ast-grep across languages (Python, JavaScript/TypeScript, Go, Rust).
  • Meta-variable driven patterns to capture and reuse matched nodes.
  • Comprehensive reference material (language patterns) to accelerate pattern authoring.

Quick Start

Provide a language and pattern to search, and ast-grep will return all matching code structures.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-patterns
Download link: https://github.com/AnExiledDev/CodeForge/archive/main.zip#ast-grep-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.