agentleFS
ByronFinnByronFinn/dev-skills/skills/review/SKILL.md

review

Skill4 starsChanged 2 days agoMITView on GitHub

Parallel three-perspective code review via sub-agent orchestration. Dispatches Test Review, Code Review, and Impact Review sub-agents in parallel — each independently re-reads all shared context. Merges reports, highlights contradictions for human adjudication. Use after task completion, before merge, or before release. Trigger words: review, check, 把关, 发布前, 完成开发, 验收, code review.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Done when: All three sub-agent reports produced, merged report presented, local file updates completed or listed as follow-up, remote …

    line 15
  2. Very specific:

    Evidence: Test/lint/typecheck/build output, code diff analysis, updated files

    line 16
  3. Distinctive:

    Evidence first: Every conclusion needs evidence.

    line 70
  4. Distinctive:

    When all vertical slices of a PRD are complete, perform extra checks beyond single-slice review (cross-slice data flow, shared state …

    line 75

“Common” is measured: kept by at least 6 in 10 of the 153 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review: Parallel Three-Perspective Review

🥷 Complete all finish work before merge or release.

Dispatches three independent review sub-agents in parallel — Test Review, Code Review, Impact Review — each re-reading all shared context from scratch. Merges their reports into a single comprehensive review. Issue sync and release follow-through require current-turn explicit authorization.

Outcome Contract

  • Outcome: Merged three-perspective review report — test quality, implementation quality, and impact analysis — with contradictions highlighted for human adjudication
  • Done when: All three sub-agent reports produced, merged report presented, local file updates completed or listed as follow-up, remote actions completed only if explicitly authorized
  • Evidence: Test/lint/typecheck/build output, code diff analysis, updated files
  • Output: Structured merged report with per-perspective sections, contradiction block (if any), and unified recommendation

Prerequisites

  • Code is complete (by implement, or manual)
  • Reviewable changes exist — uncommitted (staged or unstaged) or already committed on the current branch (e.g., per-seam commits from /implement)

Runtime Note

"Sub-agent" is a logical concept — see Sub-Agent Runtime Semantics. Independence comes from re-reading shared context from disk, not from execution timing.

Process Summary

Step 1 — Collect context: Apply the Skill Entry Protocol. Read the diff — staged + unstaged if the working tree is dirty, otherwise the branch range since the default branch (or the PR diff) when the work is already committed (see REFERENCE.md Chapter 1). Read README, package.json, Makefile, CI configs. If the diff contains an Issue reference, read the PRD path from the Issue body's Meta → PRD field and load it. Gather available shared context paths (PRD, Story, Issues, CONTEXT.md, ADRs). PRD quality check: apply the Entry Protocol Step 4 signals to the PRD's Traceability — a minimal or ungrilled PRD gets extra scrutiny on acceptance-criteria coverage.

Step 2 — Dispatch three parallel review sub-agents: Dispatch all three (see Runtime Note and Three Sub-Agents below).

Step 3 — Merge reports: Concatenate the three reports. Do not auto-resolve contradictions — flag them explicitly for human adjudication. See Report Merge Rules.

Step 4 — Present merged report: Show the full merged report to the user with per-perspective sections, verification status, contradiction block, and unified recommendation.

Step 5 — Authorization gate: Present the report and ask one question — approve the recommendation, or request changes. Merge/release and other actions are not part of the approval: they are requested (and authorized) separately per Chapter 6. Local doc updates are allowed when necessary; remote actions require current-turn explicit authorization.

Step 6 — Execute authorized actions: Perform only actions the user explicitly requested in the current turn — local file updates, issue sync, release follow-through. If the review passes and the Issue belongs to a PRD's Sliced into list, update the Issue's status there to — Done. If all entries in Sliced into are — Done, update the PRD Status to Done. See Authorization Boundaries.

See REFERENCE.md for detailed sub-agent instructions, checklists, and report templates.

Three Sub-Agents

Each sub-agent is an independent review perspective. They run in parallel, each re-reading all shared context from scratch (PRD, Story, Issues, CONTEXT.md, ADRs, diff). No sub-agent sees another sub-agent's output until the merge step.

Sub-AgentFocus Area
Test ReviewTest quality, boundary coverage, test design reasonableness, naming, isolation, mock usage
Code ReviewImplementation quality, security, performance, code conventions, error handling, readability, engineering principles local to the diff (rules/engineering-principles.md)
Impact ReviewChange scope, regression risk, compatibility, architecture health (local to this change), principles with cross-module consequence (DIP, OCP, new coupling), tech debt introduced, release strategy (feature flags, canary, rollback plan). Suggests /improve-architecture for global architecture concerns

Sub-Agent Independence

Sub-agents are independent (anti-patterns #34, #35); the shared re-read checklist is in REFERENCE.md Sub-Agent Common, plus each chapter's role-specific addition.

Report Merge Rules

Concatenate the three sub-agent reports as distinct sections. If two or more reach conflicting conclusions on the same item, extract them into a Contradictions block — present both sides, never auto-resolve (the human adjudicates). Derive a single recommendation; if sub-agents disagree, the recommendation is "Request Changes" and the disagreement goes in Contradictions. See REFERENCE.md Chapter 5 for the merge steps, contradiction format, and merged-report template.

Authorization Boundaries

Default review is local inspection only. Local doc/PRD/CONTEXT/ADR updates are allowed only when the review verified the underlying change. Issue close/status/label changes and all release actions require explicit user authorization in the current turn. See REFERENCE.md Chapter 6 for the full boundary table.

Hard Rules

  • Security first: Block immediately on any security issue. Code Review Sub-Agent runs the full Security Checklist in REFERENCE.md before approving any diff. Security-sensitive changes must include rollback path, audit trail, and regression test (anti-pattern #18).
  • Test coverage: New code must have tests. Test Review Sub-Agent verifies this independently.
  • Evidence first: Every conclusion needs evidence. Run actual commands — never say "should work" (anti-pattern #6).
  • Verify the artifact, not just the source: "tests pass, code looks right" is not done. Report each layer's status separately — source tests, build/package, CI, runtime — a missing layer is an explicit gap, not passing evidence (anti-pattern #17).

Integration Review

When all vertical slices of a PRD are complete, perform extra checks beyond single-slice review (cross-slice data flow, shared state consistency, full PRD acceptance criteria coverage, integration test coverage, dependency order). See REFERENCE.md for details. State explicitly: "Integration Review — checking <N> slices for PRD <name>."

Gotchas

What happenedRule
Sub-agent reused context from another sub-agentIndependence rule: each sub-agent re-reads all shared context from scratch (anti-pattern #35)
Contradictions silently resolved in mergeReport Merge Rules: extract to Contradictions block, present both sides
Said "should work" without verificationHard Rules: run verification commands
Assumed project commandsStep 1: extract from config
Didn't check security issuesHard Rules: Security first — Code Review Sub-Agent runs Security Checklist
Impact Review drifts into global architecture reviewImpact Review scope: local impact only. Suggest /improve-architecture for global concerns
Sub-agents run sequentially when parallel is possibleRuntime Note: dispatch in parallel if runtime supports it; sequential is acceptable fallback
PRD not updated after reviewStep 6: update local files when authorized
Issues closed without authorizationAuthorization Boundaries: close/status/label requires current-turn authorization
Sub-agent skipped re-reading shared contextIndependence rule: never cache file reads from previous skill or sub-agent (anti-pattern #34, #35)
Principle violation reported as a blocker, or with no stated consequenceCh3 Engineering Principles gates: name the concrete consequence or drop the finding; severity defaults to minor, and a principle tag never creates a blocker

Output

Review complete.

── Test Review ──      <Test Review Sub-Agent report>
── Code Review ──      <Code Review Sub-Agent report>
── Impact Review ──    <Impact Review Sub-Agent report>
── Contradictions ──   <both sides, or "No contradictions">
── Verification ──     Tests / Lint / Typecheck / Build: <pass/fail>
── Findings ──         new terms, new decisions, updated files, synced issues
Recommendation: Approve / Request Changes / Comments

Next: User decides — merge/release, or fix issues and re-review.

The full merged-report template (with all fields and next-step branches) is in REFERENCE.md Chapter 5.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.