Skip to content

code-yeongyu/oh-my-openagent / packages/shared-skills/skills/ast-grep

ast-grep

Unverified

Searches and rewrites code by AST shape across 25 languages. Use when the target is a syntax pattern (every call/class/import shaped like X, a codemod, a YAML rule) rather than literal text; for plain strings, comments, or filenames, use rg.

FileKindSize
.gitignoreother343 B
AGENTS.mdmarkdown3.1 KB
LICENSEother1.0 KB
README.mdmarkdown7.7 KB
SKILL.mdskill md13.6 KB
SOURCEother125 B
install.ps1script7.2 KB
install.shexecutablescript7.5 KB
references/cli.mdmarkdown7.2 KB
references/install.mdmarkdown5.7 KB
references/patterns.mdmarkdown5.8 KB
references/pitfalls.mdmarkdown9.0 KB
references/recipes.mdmarkdown8.2 KB
references/sgconfig.mdmarkdown6.3 KB
references/yaml-rules.mdmarkdown11.2 KB
scripts/ast_grep_helper.pyexecutablescript26.8 KB
tests/smoke.ps1script5.6 KB
tests/smoke.shexecutablescript7.6 KB
upstream: https://github.com/code-yeongyu/ast-grep-skill @ 3148c69 (ast-grep 0.45.0). Vendored as a sync; do not fork-drift.
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall