Skills

Review Spd

Findings-first code review workflow for AI coding agents.

Install

npx skills add zhu1090093659/spec_driven_develop --skill review-spd -g -a claude-code -y
Category
Testing
Updated
3mo ago
License
MIT
Context cost
Lightabout 1,431 tokens
Runs scripts
Yes, review before use

What it does

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.

Review SPD

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.

Configuration

ItemDefaultPurpose
Context scriptscripts/review-context.py relative to this Review SPD skill directoryCollect stable git context
Default targetUncommitted changesWorking tree + staged changes
Commit range defaultLast 3 daysOnly when the user requests commit/date review without dates
PR baseAuto-detect origin/main, origin/master, then remote default branchBase for branch-vs-main review
Output styleFindings firstFindings by severity before summaries

References: reviewer sub-agent template references/reviewer-template.md; final output format references/output-format.md.

Target Modes

Three mutually exclusive targets:

  1. Uncommitted mode (default)
  2. Commit-range mode, no explicit range → last 3 days
  3. Branch / PR mode, branch vs. main or explicit base

Conflict 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".

Phase 1: Target Resolution

Resolve the context script from the installed Review SPD skill directory, not from the repository being reviewed:

python <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
Read the whole SKILL.md on GitHub

More in Testing