Affaan Mustafa 6556f20af7 docs: salvage zh-CN command translations
Port the current-source-safe command documentation subset from stale PR #1687.\n\nEach copied command page maps to an English source file unchanged since the stale PR base; fastapi-review remains deferred because #1687 did not include a matching zh-CN translation.
2026-05-11 14:05:38 -04:00

38 lines
1002 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: 使用专门代理进行全面的PR审查
---
对拉取请求进行全面的多视角审查。
## 用法
`/review-pr [PR-number-or-URL] [--focus=comments|tests|errors|types|code|simplify]`
如果未指定 PR则审查当前分支的 PR。如果未指定关注点则运行完整的审查堆栈。
## 步骤
1. 识别 PR
* 使用 `gh pr view` 获取 PR 详情、变更文件及差异
2. 查找项目指南:
* 寻找 `CLAUDE.md`、lint 配置、TypeScript 配置、仓库约定
3. 运行专项审查代理:
* `code-reviewer`
* `comment-analyzer`
* `pr-test-analyzer`
* `silent-failure-hunter`
* `type-design-analyzer`
* `code-simplifier`
4. 汇总结果:
* 去重重叠发现
* 按严重程度排序
5. 按严重程度分组报告发现
## 置信度规则
仅报告置信度 >= 80 的问题:
* 严重:错误、安全、数据丢失
* 重要:缺少测试、质量问题、风格违规
* 建议:仅在明确要求时提供建议