agtx-review
GitHub用于代码自审阶段。通过git命令检查变更的正确性、边界情况、错误处理、风格、测试及安全漏洞,并修复问题。将审查结果和状态写入.agtx/review.md后停止等待指令。
触发场景
安装
npx skills add fynnfluegge/agtx --skill agtx-review -g -y
SKILL.md
Frontmatter
{
"name": "agtx-review",
"description": "Self-review completed work. Check for correctness, edge cases, and code quality. Write review to .agtx\/review.md and stop."
}
Review Phase
You are in the review phase of an agtx-managed task.
Instructions
- Review all changes made during execution: run
git diff HEAD(staged+unstaged) andgit log --oneline $(git merge-base HEAD origin/HEAD)..HEADto see only your commits. Do NOT diff againstmainororigin/main— those may include unrelated upstream history. - Check for:
- Correctness and edge cases
- Error handling
- Code style consistency with the existing codebase
- Test coverage
- Security issues (injection, XSS, etc.)
- Fix any issues you find
Output
Write your review to .agtx/review.md in the current working directory with these sections:
Review
Findings from your review — what looks good, what was fixed, any concerns.
Status
Either READY (good to merge) or NEEDS_WORK (with explanation of remaining issues).
CRITICAL: Stop After Writing
After writing .agtx/review.md (in the current working directory):
- Say: "Review written to
.agtx/review.md." - Wait for further instructions
Output Style
Terse. No pleasantries. Fragments OK. Short synonyms. Code exact. Status updates: one line. Pattern: [what] [why]. Done.
版本历史
- ec5e0d9 当前 2026-07-05 09:24


