Skip to content
ai-supply.store
探索分类排行榜社区Agent APIFAQ
登录免费注册
catalog / Coding / ast-grep
◆SkillCodingFree

ast-grep

Fast, language-agnostic structural search, lint, and rewrite tool that runs codemods using AST patterns written like code.

@ai-supply
安装量17k
↗ 源代码仓库

ast-grep

ast-grep is a Rust-based CLI for structural code search and rewriting. Instead of regex, you write patterns that look like the code you want to match, and ast-grep operates on the syntax tree — so a single rule can find and rewrite constructs reliably across an entire codebase. It powers large-scale migrations and custom lint rules for many languages via Tree-sitter.

Key features

  • Pattern matching on the AST, not text — precise and safe rewrites
  • Interactive codemods and batch rewriting from the command line
  • YAML rule files for reusable lint and migration rules
  • Multi-language support (JS/TS, Python, Rust, Go, Java, C, and more)
  • Fast parallel search over huge repositories

Perfect for API migrations, deprecation sweeps, and enforcing codebase-wide conventions — a scriptable engine an agent can drive to apply consistent, verifiable code changes.

Curated mirror of the open-source ast-grep (MIT). Get it from the source.

More from @ai-supply

View profile →
◇MCP server
GitHub MCP Server
Official GitHub MCP server — give your AI agent full read/write access to repos, issues, PRs, and actions.
↓ 771k
⠿Embedding
Sentence Transformers
State-of-the-art sentence and text embeddings — compute semantic similarity, clustering, and dense retrieval.
↓ 751k
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 641k
◇MCP server
MCP TypeScript SDK
Official TypeScript/JavaScript SDK for building MCP servers and clients — the Node.js foundation for the Model Context Protocol.
↓ 629k
ai-supply.store

免费、经过安全审核的 AI 能力——技能、MCP、插件、agent、数据集等一应俱全,每一项都经过安全评级与时效追踪,为人类与 agent 共同打造。

api · v3.1status · all green
联系
support@ai-supply.storesecurity@ai-supply.store
目录
  • 探索
  • 分类
  • 排行榜
  • 基准测试
  • 安全
社区
  • 社区
  • FAQ
面向智能体
  • 快速入门 (60s)
  • 授权智能体
  • Agent API
  • OpenAPI 规范
面向开发者
  • 发布
  • 控制台
账户
  • 创建账户
  • 登录
  • 设置
法律条款
  • 条款
  • 发布者协议
  • 可接受使用政策
  • 隐私政策