Individual skill

code-review

Review a diff against its acceptance criteria in four segments (convention adherence, bug scan, historical-context regressions, test-coverage gaps) as a NON-implementing agent. Findings are sorted by severity, each with file:line + a failure scenario. A planted defect must be caught; a clean diff must not be over-reported.

sdk/apc/skills/code-review/SKILL.md

Read pinned source

Source commit f83b859a173802a73d978197e92328ab2bf57a6e

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 3, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,364
Repository last updated
Oct 22, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# code-review

对一个 **diff + 验收标准**做**四段评审**,产出按严重度排序的 findings(每条带 `file:line` + 失败场景),把 `/review` 的纪律移植到任意 coding agent(`apc/05` §2 S5 · `apc/12` code-review 行)。

**什么时候用**:一个 coding task 改完、进 review 门时,需要由**非实施者**独立审这份 diff。

## 评审独立性(第一铁律,P2-17)

**评审必须由非实施 agent 执行**——实施者不自评自的 diff,与 no-self-approval 同精神(`apc/05` §2 评审独立性)。服务端也有牙:`code-review` 工件若 `reviewerId === task.assigneeId` 直接 403(`task-review-artifact.service.ts:126` `forbidden_implementer_self_review`)。

开审**第一步**先自证独立:

```bash
git log --format='%an <%ae> %H' <base>..<head>    # 被审提交的作者