ast-grep
Skill8 starsChanged 2 months agoNo licenceView on GitHub
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.
13 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- fmind/dottheir own version, first seen Oct 5, 2026
- moeru-ai/auvword for word, first seen Oct 4, 2026
- nodetool-ai/nodetooledited, first seen Sep 20, 2026
- coleam00/skillsword for word, first seen Sep 17, 2026
- hughdbrown/claude-skillstheir own version, first seen Sep 4, 2026
- shalomb/agent-skillstheir own version, first seen Aug 23, 2026
Used with
Projects with it also use research.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 3 projects that use this
Other versions13 projects use a version of this.
Word for word · 4
- coleam00/skills★ 663100% same
- moeru-ai/auv★ 55100% same
- tentacle-pro/skills★ 4100% same
- luanquangminh/claude-skill★ 0100% same
Edited · 1
- nodetool-ai/nodetool★ 55192% same
Wrote their own version · 8
- damusix/skills★ 62same name
- fmind/dot★ 10same name
- drunkcoding/AgentSkillsArxiv★ 4same name
- rolandbrecht/agent-skills★ 4same name
- shalomb/agent-skills★ 3same name
- tizee/skills★ 2same name
- hughdbrown/claude-skills★ 1same name
- Xia-Ataraxia/craft-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository51 other files it gives its agents.
- AGENTS.mdAGENTS.md
- base-skills/AGENTS.mdAGENTS.md
- devops-skills/AGENTS.mdAGENTS.md
- lenny-skills/AGENTS.mdAGENTS.md
- meta-skills/AGENTS.mdAGENTS.md
- obsidian-skills/AGENTS.mdAGENTS.md
- tools-skills/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-just-doctorSkill
- agent-browserSkill
- automation-memorySkill
- browser-harnessSkill
- browserSkill
- cavemanSkill
- change-evidenceSkill
- chendongdong-digital-twinSkill
- codex-dynamic-workflowsSkill
- computer-useSkill
- darwin-skillSkill
- diagnoseSkill
- excalidraw-diagramSkill
- find-skillsSkill
- go-liveSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- herdr-worktrunkSkill
- huashu-nuwaSkill
- improve-codebase-architectureSkill
- lark-reimbursementSkill
- loopSkill
- mermaid-visualizerSkill
- obsidian-canvas-creatorSkill
- oldwinter-modeSkill
- orca-cliSkill
- orchestrationSkill
- planning-with-files-zhSkill
- prototypeSkill
- remotion-best-practicesSkill
- setup-matt-pocock-skillsSkill
- skill-creatorSkill
- skillshareSkill
- supergoalSkill
- tddSkill
- to-issuesSkill
- to-prdSkill
- triageSkill
- windows-storage-auditSkill
- write-a-skillSkill
- yansu-agent-cliSkill
- zoom-outSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. 0 are common, 12 are distinctive, and 12 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

