Skip to content
Skills Library
Programming · Review & audit

review-spd

/review-spd

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.

Repository
deepseek-pp ↗
Licence
Apache-2.0
Last repository change
14.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 14.08.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/review-context.py

What it does and when to use it

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.

Original author description

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.

How it works

  1. Configuration
  2. Target Modes
  3. Phase 1: Target Resolution
  4. Phase 2: Context Collection
  5. Phase 3: Review Planning
  6. Phase 4: Sub-Agent Review
  7. Phase 5: Finding Consolidation
  8. Phase 6: Final Response
  9. Review Discipline
Original SKILL.md headings · 131 lines, 989 words
SKILL.md preview
---
name: review-spd
description: >-
  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.
version: 1.0.1
---

# Review SPD

You are executing the **Review SPD** workflow: a findings-first code review process for changed code. Your primary goal is to identify bugs, regressions, and behavior risks introduced by the changes. Do not turn this into a style review or a broad summary.

## Configuration

| Item | Default | Purpose |
|:-----|:--------|:--------|
| Context script | `scripts/review-context.py` relative to this Review SPD skill directory | Collect stable git context for review targets |
| Default target | Uncommitted changes | Review working tree and staged changes by default |
| Commit range default | Last 3 days | Used only when the user explicitly 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 ordered by severity before summaries or notes |

References:

- Reviewer sub-agent template: `references/reviewer-template.md`
- Final output format: `references/output-format.md`

## Target Modes

The workflow supports three mutually exclusive review targets:

1. **Uncommitted mode**: Review current uncommitted changes. This is the default.
2. **Commit-range mode**: Review commits in a date range. If the user explicitly asks for commit/date review but gives no range, use the last 3 days.
3. **Branch / PR mode**: Review a branch compared with the main branch or an explicit base branch.

Resolve target conflicts with this priority:

1. If `branch` is specified, use branch / PR mode.
2. Else if `since` or `until` is specified, use commit-range mode.
3. Else use uncommitted mode.

`base` only applies to branch / PR mode.

## Phase 1: Target Resolution

Extract the review target from the user's request.

Examples:

Resolve the context script from the installed Review SPD skill directory, not from the repository being reviewed. Use the packaged script path in commands, for example:

```bash
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
```

When reviewing this repository itself, the convenience wrapper `scripts/review-context.py` is also available.

If the user gives a vague request such as "review this", use uncommitted mode. If the user asks for "recent commits" without dates, use commit-range mode with `--since "3 days ago"`.

## Phase 2: Context Collection

Run the packaged context script while your current working directory is the repository being reviewed. The script changes into that repository's git root before collecting context. It only collects git context; it does not decide whether code is correct.

Read the generated context and identify:

- Review mode and base/head information
- Commit list, if applicable
- Changed files and diff stats
- Added, deleted, renamed, and modified files
- Unified diff sections that need semantic review

If the script reports no changes, stop and say there is nothing to review for the selected target. Do not invent findings.

## Phase 3: Review Planning

Classify the review size before spawning reviewers:

- **Small**: up to 3 changed files or a small localized diff. Cover Correctness and Tests.
- **Medium**: multiple files or behavior-affecting changes. Cover Correctness, Regression/Compatibility, and Tests.
- **Large or high-risk**: broad changes, auth/permissions, persistence, migrations, concurrency, caching, money, security, public APIs, generated code, or config/deployment changes. Add Security/Data Safety and Performance/Concurrency.

Prioritize behavior code, public contracts, data handling, error paths, configuration, persistence, and tests. Deprioritize pure documentation, formatting-only changes, generated files, and lockfile churn unless they affect runtime behavior.

## Phase 4: Sub-Agent Review

If the current platform supports native sub-agents, task agents, or parallel agents, spawn focused reviewers using `references/reviewer-template.md`. If not, perform the same focused reviews sequentially yourself. Lack of sub-agent support must not reduce review coverage.

Recommended reviewer focuses:

- **Correctness / Bug Risk**: logic errors, edge cases, state consistency, exception paths, invalid assumptions.
- **Regression / Compatibility**: changed API contracts, config behavior, data formats, migrations, CLI behavior, backward compatibility where relevant.
- **Tests / Verification**: missing tests for changed behavior, weak assertions, stale tests, untested failure modes.
- **Security / Data Safety**: authorization, validation, injection, secrets, destructive operations, data loss, privacy.
- **Performance / Concurrency**: async races, caching errors, resource leaks, excessive work, ordering bugs.

Tell each reviewer to return only evidence-backed candidate findings for its focus area. Do not ask every reviewer to review everything.

## Phase 5: Finding Consolidation

Merge all reviewer outputs into one findings list.

Rules:

- Findings must be supported by the diff or directly relevant surrounding context.
- Each finding must include a file and line reference when possible.
- Do not report style preferences, speculative rewrites, or generic best practices unless they create a concrete bug risk.
- If evidence is incomplete, move the item to `Questions` or `Residual Risks` instead of `Findings`.
- Deduplicate overlapping findings and keep the clearest impact statement.
- Order by severity: Critical, High, Medium, Low.

Severity guide:

- **Critical**: data loss, security bypass, production outage, irreversible corruption, or severe user impact likely.
- **High**: clear bug/regression in a common or important path.
- **Medium**: bug in an edge path, compatibility break, missing validation, or test gap likely to hide regressions.
- **Low**: minor bug risk, confusing behavior, narrow edge case, or maintainability issue with direct defect potential.

## Phase 6: Final Response

Use `references/output-format.md`. Findings must be the primary focus of the response.

If there are findings, present them first and keep summaries brief. If there are no findings, explicitly state `No findings` and include residual risks or testing gaps.

Never bury a bug finding below a summary.

## Review Discipline

- Think like a code reviewer, not a feature planner.
- Focus on whether the change introduces new bugs.
- Verify claims against code context before reporting.
- Prefer one strong finding over many weak suggestions.
- Do not modify files unless the user explicitly asks you to fix the review findings.
- If tests or builds are needed to validate a suspected issue, mention the exact command or missing coverage.
Files in this package (4)
  • SKILL.md 7 KB
  • references/output-format.md 2 KB
  • references/reviewer-template.md 2 KB
  • scripts/review-context.py 10 KB

Versions

RepositoryScoreLicence
This page · zhu1090093659/deepseek-pp100Apache-2.0
zhu1090093659/spec_driven_develop100MIT

Database snapshot: 13.11.2026 · package version 386a7c85da28 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100maisongr-code-review
    Maison GR method for reviewing a code change. Use when asked to review a diff, a pull request, a branch or a set of files, or before declaring your own substantial change complete. Finds correctness bugs, security issues, regressions, broken contracts, missing tests and…
  • 100code-review
    Review C code changes for correctness, safety, and style. Use this when you want to review C code changes or PRs.
  • 100review-correctness
    Review one code change for correctness and rate it Low, Medium, or High. Looks for bugs, regressions in existing behavior, broken flows, concurrency and retry problems, and migrations that can fail or lose data. Use when asked to "review this PR for bugs", "check this diff for…
  • 91code-review
    Use to review diffs without editing code. Focus on bugs, regressions, security risks, data loss, missing validation, missing tests, and performance risks.
  • 86code-review
    Use when the user asks to review, check or look over code changes (uncommitted diff, a commit, a branch or a file) before commit or merge. Finds bugs, not style nits.
  • 100review-changes
    Reviews code changes before a commit or a pull request (uncommitted changes, a branch's commits or an open pull request) for defects, regressions, security risks, design and structural problems and departures from the project's standards, and writes a prioritized report with…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.