Back to skills
SkillHub ClubShip Full StackFull Stack

ast-grep

Use ast-grep for structural code search and refactoring when editing code structure with ambiguity in text matching, handling "old_string not unique" problems, or performing formatting-independent pattern matching across function signatures, method calls, and class structures

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
13
Hot score
85
Updated
March 20, 2026
Overall rating
C3.1
Composite score
3.1
Best-practice grade
B81.2

Install command

npx @skill-hub/cli install xdg-xdg-claude-ast-grep

Repository

xdg/xdg-claude

Skill path: context-efficient-tools/skills/ast-grep

Use ast-grep for structural code search and refactoring when editing code structure with ambiguity in text matching, handling "old_string not unique" problems, or performing formatting-independent pattern matching across function signatures, method calls, and class structures

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: Development teams looking for install-ready agent workflows..

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: xdg.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install ast-grep into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/xdg/xdg-claude before adding ast-grep to shared team environments
  • Use ast-grep for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

ast-grep | SkillHub