review
Installation
SKILL.md
Code Review Assistant | 程式碼審查助手
Perform systematic code review using standardized checklists and comment prefixes.
執行系統性的程式碼審查,使用標準化的檢查清單和評論前綴。
Workflow | 工作流程
- Identify changes - Get diff of files to review via
git difforgit show - Apply checklist - Check each review category systematically
- Generate report - Output findings with standard comment prefixes
- Summarize - Provide overall assessment and recommended actions
Review Categories | 審查類別
- Functionality - Does it work correctly? | 功能是否正確?
- Design - Is the architecture appropriate? | 架構是否合適?
- Quality - Is the code clean and maintainable? | 程式碼是否乾淨可維護?
- Readability - Is it easy to understand? | 是否容易理解?
- Tests - Is there adequate test coverage? | 測試覆蓋是否足夠?
- Security - Are there any vulnerabilities? | 是否有安全漏洞?
- Performance - Is it efficient? | 是否有效率?
- Error Handling - Are errors handled properly? | 錯誤處理是否妥當?
Comment Prefixes | 評論前綴
| Prefix | Meaning | Action | 動作 |
|---|---|---|---|
| BLOCKING | Must fix before merge | Required | 必須修復 |
| IMPORTANT | Should fix | Recommended | 建議修復 |
| SUGGESTION | Nice-to-have | Optional | 可選改善 |
| QUESTION | Need clarification | Discuss | 需要討論 |
| NOTE | Informational | FYI | 僅供參考 |
Usage | 使用方式
/review- Review all changes in current branch/review src/auth.js- Review specific file/review feature/login- Review specific branch
Next Steps Guidance | 下一步引導
After /review completes, the AI assistant should suggest:
程式碼審查完成。建議下一步 / Code review complete. Suggested next steps:
- 有 ❗ BLOCKING 項目 → 修復後重新執行
/review— Fix issues then re-run/review- 全部通過 → 執行
/checkin品質關卡 ⭐ Recommended / 推薦 — All passed → Run/checkinquality gates- 僅有 💡 SUGGESTION → 執行
/commit提交變更 — Only suggestions → Run/commit- 審查中發現規範不實用或缺失 → 執行
/audit --report回報 — Found impractical or missing standards → Run/audit --report
Reference | 參考
- Detailed guide: guide.md
- Core standard: code-review-checklist.md
AI Agent Behavior | AI 代理行為
完整的 AI 行為定義請參閱對應的命令文件:
/reviewFor complete AI agent behavior definition, see the corresponding command file:
/review
Related skills
More from asiaostrich/universal-dev-standards
bdd
[UDS] Guide through Behavior-Driven Development workflow
22atdd
[UDS] Guide through Acceptance Test-Driven Development workflow
21methodology
[UDS] Manage development methodology workflow
19docgen
[UDS] Generate usage documentation from project sources
18reverse
[UDS] System archeology — reverse engineer code across Logic, Data, and Runtime dimensions
18sdd
[UDS] Create or review specification documents for Spec-Driven Development
17