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.
Instalación lista para agent
Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.
npx -y tokrepo@latest install 0a991711-47d7-11f1-9bc6-00163e2b0d79 --target codexEjecutar después de confirmar el plan con dry-run.
Discusión
Activos relacionados
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.
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.