·ast-grep
</>

ast-grep

Structural code search via ast-grep — use when code shape and element relationships matter, not just text. E.g., "find async functions without error handling", "refactor foo(a, b) to foo({ a, b })". Use Grep for simple name lookups.

9Installs·0Trend·@poteto

Installation

$npx skills add https://github.com/poteto/noodle --skill ast-grep

How to Install ast-grep

Quickly install ast-grep AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/poteto/noodle --skill ast-grep
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: poteto/noodle.

SKILL.md

View raw

Use Tasks to track progress. Create a task for each step below (TaskCreate), mark each inprogress when starting and completed when done (TaskUpdate). Check TaskList after each step.

Without it, has/inside stop at the first non-matching node instead of traversing the full subtree:

$VAR gets interpreted by the shell. Either escape or single-quote:

Structural code search via ast-grep — use when code shape and element relationships matter, not just text. E.g., "find async functions without error handling", "refactor foo(a, b) to foo({ a, b })". Use Grep for simple name lookups. Source: poteto/noodle.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/poteto/noodle --skill ast-grep
Category
</>Dev Tools
Verified
First Seen
2026-03-10
Updated
2026-03-10

Browse more skills from poteto/noodle

Quick answers

What is ast-grep?

Structural code search via ast-grep — use when code shape and element relationships matter, not just text. E.g., "find async functions without error handling", "refactor foo(a, b) to foo({ a, b })". Use Grep for simple name lookups. Source: poteto/noodle.

How do I install ast-grep?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/poteto/noodle --skill ast-grep Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/poteto/noodle

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-03-10