ast-grep
A shared skill in the oh-my-openagent repository for searching and rewriting code by syntax tree with ast-grep, across about 25 languages.
O que a skill ensina
A shared skill in the oh-my-openagent repository for searching and rewriting code by syntax tree with ast-grep, across about 25 languages. It tells the agent to use ast-grep for structural questions, such as calls to a function or empty catch blocks, and to leave text searches to ripgrep and meaning questions to language servers. Patterns are written as code with metavariables, checked before searching, and every rewrite is run as a dry run first. A bundled standard-library Python helper wraps search, replace, YAML rule scans, pattern checks and installation, with install scripts for POSIX and Windows. A source note says the folder is a synced copy of the author's separate ast-grep-skill repository.
O que faz
- Search code by syntax pattern
- Preview and apply structural rewrites
- Run and test YAML lint rules
- Install ast-grep on any operating system
Sobre
- Publicador
- code-yeongyu
- Ferramenta
- Revisão de código
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- .gitignore
- AGENTS.md
- LICENSE
- README.md
- SOURCE
- install.ps1
- install.sh
- references/cli.md
- references/install.md
- references/patterns.md
- references/pitfalls.md
- references/recipes.md
- references/sgconfig.md
- references/yaml-rules.md
- scripts/ast_grep_helper.py
- tests/smoke.ps1
- tests/smoke.sh
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Esta skill inclui scripts que o seu agente pode executar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Revisão de código | |
| Publicador | code-yeongyu | fonte |
| Status oficial | Comunidade (não publicado pelo fornecedor da ferramenta) | fonte |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Sim | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | NOASSERTION | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 202670.828 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Mais de code-yeongyu
19 skills
- github-triage (Skill)
- codex-qa (Skill)
- opencode-qa (Skill)
- senpi-qa (Skill)
- lcx-contribute-bug-fix (Skill)
- teammode (Skill)
Também listado em: Revisão de código
Fontes
- Arquivo da skill (SKILL.md)github.com/code-yeongyu/oh-my-openagent · Comprova: Status oficial, Licença10 de nov. de 2026
- Arquivo no repositório (SOURCE)github.com/code-yeongyu/oh-my-openagent16 de nov. de 2026
- Repositório no GitHubgithub.com/code-yeongyu/oh-my-openagent · Comprova: Publicador, Atividade11 de nov. de 2026
- Registro na API do GitHubgithub.com/code-yeongyu/oh-my-openagent · Comprova: Inclui scripts16 de nov. de 2026
- Pasta no repositório (ast-grep)github.com/code-yeongyu/oh-my-openagent · Comprova: Inclui scripts10 de nov. de 2026