Skip to main content

ast-grep

Codex built-in skill for structural code search with ast-grep when queries depend on AST shapes, call patterns, decorators, scopes, or required child nodes.

Aller à l'installation

Informations de source

Dépôt
Rycen7822/skill-retrieval-mcp
Dernière activité de la source
10 mai 2026 à 17:34
Langue détectée de SKILL.md
anglais
Étoiles
2
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
ast-grep
description
Codex built-in skill for structural code search with ast-grep when queries depend on AST shapes, call patterns, decorators, scopes, or required child nodes.
tags
["codex-builtin","ast-grep","structural-search","code-search"]
# ast-grep ## When to Use Use when the task needs AST-aware structural search instead of plain text grep, such as finding function definitions, call shapes, imports, decorators, or missing child nodes. ## Do Not Use When Do not use for ordinary keyword, filename, documentation, or broad repository text search. ## Required Inputs Target language, structural pattern, repository path, and a small validation snippet when possible. ## Workflow 1. Narrow the candidate files if the repository is large. 2. Write an ast-grep pattern or rule. 3. Run ast-grep on a small target. 4. Expand only after validating the match shape.
Voir sur GitHub