This is ast-grep wrapped as a Claude skill, giving you syntax-aware code search instead of dumb text matching. You can find function calls, class definitions, and imports while ignoring strings and comments, then optionally refactor them with replacements. The pattern syntax is clean: $NAME for single nodes, $$$ for multiple, and it supports dry runs before you commit. Works across Python, JavaScript, TypeScript, Go, and other languages. The main win here is precision. When you need to rename a function or swap console.log for proper logging across a codebase, this beats regex every time because it actually understands code structure.

skills.sh installs
523
GitHub stars
3.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill ast-grep-find --agent claude-code

Installs into .claude/skills of the current project.

Files

AST-Grep Find

Structural code search that understands syntax. Find patterns like function calls, imports, class definitions - not just text.

When to Use

  • Find code patterns (ignores strings/comments)
  • Search for function calls, class definitions, imports
  • Refactor code with AST precision
  • Rename variables/functions across codebase

Usage

Search for a pattern

uv run python -m runtime.harness scripts/ast_grep_find.py \
    --pattern "import asyncio" --language python

Search in specific directory

uv run python -m runtime.harness scripts/ast_grep_find.py \
    --pattern "async def \$FUNC(\$\$\$)" --language python --path "./src"

Refactor/replace pattern

uv run python -m runtime.harness scripts/ast_grep_find.py \
    --pattern "console.log(\$MSG)" --replace "logger.info(\$MSG)" \
    --language javascript

Dry run (preview changes)

uv run python -m runtime.harness scripts/ast_grep_find.py \
    --pattern "print(\$X)" --replace "logger.info(\$X)" \
    --language python --dry-run

Parameters

Sponsors

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
Code Review & Quality, AI & Agent Building
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108
1jeffli1993 avatarseo-audit-fulljeffli1993/seo-audit-skillAdvanced full SEO audit skill. Runs its own full workflow from local scripts, including the basic SEO checks plus PageSpeed, social metadata, and advanced revie520skills.sh installs
2freestylefly avatarcanghe-infographicfreestylefly/canghe-skillsGenerates professional infographics with 20 layout types and 17 visual styles. Analyzes content, recommends layout×style combinations, and generates publication516skills.sh installs
3galaxy-dawn avatarui-ux-pro-maxgalaxy-dawn/claude-scholarThis skill should be used when the user asks to design or review a UI, create a landing page or dashboard, choose colors or typography, improve accessibility, o514skills.sh installs
4spatie avatarspatie-version-controlspatie/guidelines-skillsApply Spatie's version control conventions when creating commits, branches, pull requests, or managing Git repositories; use for naming repos, writing commit me510skills.sh installs
5laurigates avatarruff-lintinglaurigates/claude-pluginsPython linting with ruff. Fast linting, rule selection, auto-fixing, and config. Use when checking Python code quality, enforcing standards, or finding bugs.509skills.sh installs
6posthog avatarreact-doctorposthog/posthogDiagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.507skills.sh installs