Skill / SKILL.md

Ast Grep

coleam00/skills

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. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics.
2 views 804 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/coleam00/skills' skill-source

Use the complete skill-source/.claude/skills/ast-grep directory with your client’s skill installer.

  • .claude/skills/ast-grep Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/ast-grep

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
a9c8aa3402bf2d4f19220a1a35968f7dd2f03c0325de71cfb8b97cd8a0d5a421
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills