ast-grep-find

Official

AST-based code search and refactor.

AuthorOverdrive-Consulting
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Structural code search and refactoring driven by abstract syntax trees (ASTs) to locate and modify code patterns without brittle text matches.

Core Features & Use Cases

  • AST-aware search for syntax-based patterns such as function definitions, imports, and class declarations.
  • Safe refactoring and code navigation across multiple languages with pattern-based replacements.
  • Use Case: Audit a large codebase to rename a function across files while preserving behavior.

Quick Start

Use the ast-grep-find skill to search for Python function definitions or imports across your repository. Example: uv run python -m runtime.harness scripts/ast_grep_find.py --pattern "def $FUNC($$$):" --language python

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ast-grep-find
Download link: https://github.com/Overdrive-Consulting/overdrive-ai-devkit/archive/main.zip#ast-grep-find

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.