code-review
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCode Review
代码审查
Steps
步骤
-
Pin fixed point. Use supplied ref. Otherwise upstream then merge-base with default. Confirmworks,
git rev-parsenon-empty.git diff -
Find spec. Check issue refs in commits/branch names, then paths,,
docs/, PR descriptions. No spec: "no spec available".specs/ -
Find standards. Read,
AGENTS.md,CLAUDE.md, relevant skills. Apply repo standards first.CONTEXT.md -
Run review. Review Standards, then Spec. One axis must not rerank the other.
-
Report.and
## Standardsheadings. file:line evidence and fixes. Counts per axis. Worst issue per axis.## Spec
-
锁定比较基准点。 使用提供的 ref。否则,依次尝试 upstream,以及与 default 的 merge-base。确认能正常运行,且
git rev-parse的结果不为空。git diff -
查找规范依据。 检查提交和分支名称中的 issue 引用,然后检查路径、、
docs/和 PR 描述。如果没有规范依据:“无可用规范”。specs/ -
查找标准。 阅读、
AGENTS.md、CLAUDE.md和相关 skills。优先应用仓库标准。CONTEXT.md -
执行审查。 先审查 Standards,再审查 Spec。不得根据一个维度的问题重新调整另一个维度的问题排序。
-
输出报告。 使用和
## Standards标题。提供 file:line 证据和修复建议。统计每个维度的问题数量,并列出每个维度最严重的问题。## Spec
Output
输出
If access is blocked, say so under these headings: , , , and .
Comparison pointFilesCountsWorst issueCompletion: report has both headings, file:line evidence, fixes, counts, worst issue.
如果访问受阻,请在以下标题下说明:、、 和 。
Comparison pointFilesCountsWorst issue完成条件:报告包含两个审查标题、file:line 证据、修复建议、问题数量统计和最严重的问题。