A fast CLI tool for searching and transforming code using abstract syntax tree patterns instead of regex, supporting JavaScript, TypeScript, Python, Rust, Go, and more.
ast-grep — Structural Code Search and Rewrite Tool
A fast CLI tool for searching and transforming code using abstract syntax tree patterns instead of regex, supporting JavaScript, TypeScript, Python, Rust, Go, and more.
Installation agent prête
Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.
npx -y tokrepo@latest install 0a991711-47d7-11f1-9bc6-00163e2b0d79 --target codexÀ exécuter après confirmation du plan en dry-run.
Fil de discussion
Actifs similaires
ast-index — Fast Code Search for Agents
ast-index builds an AST index for fast code search and integrates with Claude/Codex/Cursor; verified 347★ and installs via Homebrew.
AutoCodeRover — AI Bug Fixing with AST-Aware Code Search
An autonomous agent that fixes GitHub issues by navigating codebases through abstract syntax trees and generating patches.
Difftastic — Structural Diff Tool That Understands Syntax
A structural diff tool that compares files based on their syntax tree rather than line-by-line text, producing diffs that reflect actual code changes instead of incidental whitespace or formatting shifts.
Gosec — Security Scanner for Go Source Code
A static analysis tool that inspects Go source code for security vulnerabilities by scanning the AST for patterns like SQL injection, hardcoded credentials, insecure crypto usage, and other common security issues.