LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

ast-grep-find

AST-based code search and refactoring via ast-grep MCP

3,369stars254forksUpdated 1/23/2026
#code-search#ast-grep#refactoring#code-review#python#javascript

Security Assessment

Safe(100/100)
Security Score100/100

About ast-grep-find

The 'ast-grep-find' skill enables developers to perform structural code searches and refactorings based on Abstract Syntax Tree (AST) patterns, making it highly effective for tasks that require understanding of code syntax rather than mere text matching. Unlike traditional search tools that rely on string matching, this skill allows users to search for patterns like function calls, class definitions, and imports in a codebase, enabling precise, syntax-aware search results. It eliminates false positives that may arise from searching within strings or comments, making it more accurate and reliable for complex code refactoring and analysis tasks.

FAQ

How can I search for a specific code pattern?

You can search for a specific pattern by using the `--pattern` parameter, specifying the desired AST pattern along with the language you are working with. For example, to search for the pattern 'import asyncio' in Python, you would use `--pattern 'import asyncio' --language python`.

Can I limit the search to a specific directory?

Yes, you can limit the search to a specific directory by using the `--path` parameter. For example, `--path ./src` will restrict the search to the `src` directory.

Is there a way to preview changes before applying them?

Yes, you can perform a dry run to preview changes without applying them by using the `--dry-run` parameter. This allows you to see the changes that would be made without actually modifying the code.

What language support is available?

The tool supports multiple languages including Python, JavaScript, TypeScript, and Go. You specify the language with the `--language` parameter.

What are the requirements for using this tool?

This tool requires the `ast-grep` server to be set up and available, which is configured through the `mcp_config.json` file.

Install ast-grep-find

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

parcadei/Continuous-Claude-v2

Related Skills

dbt-sf-to-bq-translator

21,076

build-models

102

html-prototype

3,588

doc

448