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

review

Skill4 starsChanged 3 months 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.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cso, plan-devex-review 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.
  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 11 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 9 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 5 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 11 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 12 projects that use this

  • AICreator-WindSkill

    design-consultation

    设计合作伙伴工具。构建完整设计系统,提供专业设计建议。

    Also in 12 projects that use this

  • +1 more from seek888

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 167 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 167 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 tdd, 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: if PRD Traceability shows Created by: /story (minimal PRD), note that requirements may not be decision-complete — review acceptance criteria coverage with extra care.

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.