[UDS] 系统性代码审查的参考资料:八大审查类别,以及 BLOCKING/IMPORTANT/SUGGESTION 评论前缀。 Use when: 审查 pull request 或 diff、决定审查意见的措辞与优先级、与团队议定审查范围。 Not for: 执行有关卡的审查流程——该部分已移至采用层(XSPEC-095);提交前的关卡验证——请用 /checkin。 Keywords: code review, pull request review, review checklist, BLOCKING, comment prefix, 代码审查, 审查类别, 评论前缀, 审查清单.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add AsiaOstrich/universal-dev-standards --skill code-review-assistant --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Code Review Assistant?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/asiaostrich-code-review-assistant-366c0868)More formats (shields.io, HTML) on the badges page.
---
source: ../../../../skills/code-review-assistant/SKILL.md
source_version: 1.0.0
translation_version: 1.1.0
last_synced: 2026-08-17
status: current
description: |
[UDS] 系统性代码审查的参考资料:八大审查类别,以及 BLOCKING/IMPORTANT/SUGGESTION 评论前缀。
Use when: 审查 pull request 或 diff、决定审查意见的措辞与优先级、与团队议定审查范围。
Not for: 执行有关卡的审查流程——该部分已移至采用层(XSPEC-095);提交前的关卡验证——请用 /checkin。
Keywords: code review, pull request review, review checklist, BLOCKING, comment prefix, 代码审查, 审查类别, 评论前缀, 审查清单.
---
# 代码审查助手
> **语言**: [English](../../../../skills/code-review-assistant/SKILL.md) | 简体中文
使用标准化的检查清单和评论前缀,执行系统性的代码审查。
## 工作流程
1. **识别变更** - 通过 `git diff` 或 `git show` 取得待审查文件的差异
2. **套用检查清单** - 系统性地检查每个审查类别
3. **产生报告** - 使用标准评论前缀输出发现
4. **总结** - 提供整体评估和建议的后续行动
## 审查类别
1. **功能性** - 功能是否正确? | Does it work correctly?
2. **设计** - 架构是否合适? | Is the architecture appropriate?
3. **品质** - 代码是否干净可维护? | Is the code clean and maintainable?
4. **可读性** - 是否容易理解? | Is it easy to understand?
5. **测试** - 测试覆盖是否足够? | Is there adequate test coverage?
6. **安全性** - 是否有安全漏洞? | Are there any vulnerabilities?
7. **性能** - 是否有效率? | Is it efficient?
8. **错误处理** - 错误处理是否妥当? | Are errors handled properly?
## 评论前缀
| 前缀 | 意义 | 动作 | Action |
|------|------|------|--------|
| **BLOCKING** | 必须在合并前修复 | 必须修复 | Required |
| **IMPORTANT** | 应该修复 | 建议修复 | Recommended |
| **SUGGESTION** | 锦上添花 | 可选改善 | Optional |
| **QUESTION** | 需要说明 | 需要讨论 | Discuss |
| **NOTE** | 信息性 | 仅供参考 | FYI |
## 使用方式
- `/code-review` - 审查目前分支的所有变更
- `/code-review src/auth.js` - 审查特定文件
- `/code-review feature/login` - 审查特定分支
## 下一步引导
`/code-review` 完成后,AI 助手应建议:
> **代码审查完成。建议下一步:**
> - 有 ❗ BLOCKING 项目 → 修复后重新执行 `/code-review`
> - 全部通过 → 执行 `/checkin` 品质关卡
> - 仅有 💡 SUGGESTION → 执行 `/commit` 提交变更
> - 审查中发现规范不实用或缺失 → 执行 `/audit --report` 回报
## 参考
- 详细指南:[guide.md](./guide.md)
- 核心规范:[code-review-checklist.md](../../../../core/code-review-checklist.md)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!