hayatosc/dotfiles/ast-grep

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Search or rewrite syntax patterns with ast-grep, or author its lint rules. Use when AST structure matters; ordinary filename and text searches do not need this skill.

Install

npx vskill@latest install hayatosc/dotfiles/ast-grep

SKILL.md

ast-grep

Use syntax-aware matching when it makes the requested search or rewrite more reliable. Restrict the path, language, and globs to the intended scope.

  • For searches, rewrites, and optional structural outlines, use command-cookbook.md.
  • For reusable scan rules and their positive/negative fixtures, use rule-authoring.md.
  • Check the installed tool's help when a command is unavailable; use text search or bounded reads if they answer the question. An outline is useful for a large unfamiliar file, not a prerequisite for every read.

Rewrite Contract

Preview matches and replacements before applying a codemod. Confirm the pattern captures the intended syntax, including relevant non-matches, then apply within the authorized scope.

--rewrite only replaces matched nodes: it does not create imports or definitions. Resolve any introduced identifiers in affected files and run the relevant project typecheck, build, or tests. Inspect remaining matches against the intended scope; zero matches is required only when the request calls for complete replacement.

Finish when the requested search is answered or the rewrite and relevant checks are complete. Report matches or changed paths, evidence, and any unsupported syntax or unresolved cases.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hayatosc/dotfiles/ast-grep/badge)](https://verified-skill.com/skills/hayatosc/dotfiles/ast-grep)

Something wrong with this skill or its page? Tell us.