Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Findings-first code review workflow for AI coding agents. Use when the user asks to review uncommitted changes, commits in a date range, or a branch compared to the main branch / PR-style diff. Focuses on bugs, regressions, correctness risks, missing tests, security/data-safety issues, and other behavior-changing defects.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 117% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 116% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 54% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 10% | 0% |
You are executing the Review SPD workflow: a findings-first review of changed code. Identify bugs, regressions, and behavior risks introduced by the changes. Do not turn this into a style review or a broad summary.
| Item | Default | Purpose | |:-----|:--------|:--------| | Context script | scripts/review-context.py relative to this Review SPD skill directory | Collect stable git context | | Default target | Uncommitted changes | Working tree + staged changes | | Commit range default | Last 3 days | Only when the user requests commit/date review without dates | | PR base | Auto-detect origin/main, origin/master, then remote default branch | Base for branch-vs-main review | | Output style | Findings first | Findings by severity before summaries |
References: reviewer sub-agent template references/reviewer-template.md; final output format references/output-format.md.
Three mutually exclusive targets:
baseConflict priority: branch specified → branch mode; else since/until → commit-range mode; else uncommitted. base applies only to branch mode. Vague requests ("review this") → uncommitted mode; "recent commits" without dates → --since "3 days ago".
Resolve the context script from the installed Review SPD skill directory, not from the repository being reviewed:
bashpython <review-spd-skill-dir>/scripts/review-context.py python <review-spd-skill-dir>/scripts/review-context.py --since "3 days ago" python <review-spd-skill-dir>/scripts/review-context.py --since 2026-06-28 --until 2026-07-01 python <review-spd-skill-dir>/scripts/review-context.py --branch feature/foo python <review-spd-skill-dir>/scripts/review-context.py --branch feature/foo --base origin/main
When reviewing this repository itself, the convenience wrapper scripts/review-context.py is also available.
Run the script with cwd = the repository under review (it cd's to the git root itself). The script only collects git context; it does not judge correctness. From its output identify: review mode and base/head, commit list (if any), changed files and diff stats, added/deleted/renamed files, and the unified diff hunks needing semantic review.
If the script reports no changes, stop and say there is nothing to review. Do not invent findings.
Classify review size:
Prioritize behavior code, public contracts, data handling, error paths, configuration, persistence, tests. Deprioritize docs, formatting-only changes, generated files, lockfile churn unless they affect runtime behavior.
If the platform supports sub-agents, spawn focused reviewers using references/reviewer-template.md; otherwise perform the same focused reviews sequentially yourself. Coverage must not shrink without sub-agents.
Reviewer focuses:
Each reviewer returns only evidence-backed candidate findings for its own focus.
Merge reviewer outputs into one findings list:
Questions or Residual Risks, not Findings.Severity guide:
Use references/output-format.md. Findings are the primary focus: present them first, keep summaries brief, never bury a bug below a summary. No findings → explicitly state No findings and include residual risks or testing gaps.
Other measured skills in the registry, with their headline benchmark lift.