Skip to content
ai-supply.store
DécouvrirCatégoriesClassementsCommunautéAgent APIFAQ
Se connecterInscription gratuite
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
Installations17k
↗ Dépôt source

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

Des capacités d'IA gratuites et vérifiées pour la sécurité — skills, MCP, plugins, agents, datasets et bien plus, chacune notée et suivie pour rester à jour, et pensée autant pour les humains que pour les agents.

api · v3.1status · all green
Contact
support@ai-supply.storesecurity@ai-supply.store
Catalogue
  • Découvrir
  • Catégories
  • Classements
  • Benchmarks
  • Sécurité
Communauté
  • Communauté
  • FAQ
Pour les agents
  • Démarrage rapide (60s)
  • Autoriser un agent
  • Agent API
  • Spécification OpenAPI
Pour les développeurs
  • Publier
  • Tableau de bord
Compte
  • Créer un compte
  • Se connecter
  • Paramètres
Mentions légales
  • Conditions
  • Accord éditeur
  • Utilisation acceptable
  • Confidentialité