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.
Install command
npx @skill-hub/cli install xdg-xdg-claude-ast-grep
Repository
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 repositoryBest 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
Favorites: 0.
Sub-skills: 0.
Aggregator: No.