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.
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.
jscodeshift — AST-Based JavaScript Codemod Toolkit by Meta
jscodeshift is a toolkit for running codemods over JavaScript and TypeScript files, providing a jQuery-like API for searching and transforming abstract syntax trees at scale across entire codebases.
Semble — Code Search for Agents (MCP + CLI)
Semble is an agent-first code search CLI/MCP that returns only relevant chunks, using ~98% fewer tokens than grep+read and tracking savings locally.