p5-review-sprint

p5-review-sprint is a command for Claude Code from jonase47/ccpr. It costs 0 tokens per session (2,156 once invoked), scanned A, original, MIT.

A whole-sprint code review examines all completed work together at the end of a sprint. A sprint is a planned group of development tasks completed during a set period.

In plain words
What is it for?
Use it to review cross-story interactions, the full schema and data model, architecture-rule compliance, and consistency with earlier project lessons.
Why use it?
It catches problems that smaller reviews may miss, such as interactions between changes, inconsistencies in the overall data model, or violations of architecture decisions.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to review cross-story interactions, the full schema and data model, architecture-rule compliance, and consistency with earlier project lessons.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jonase47/ccpr/p5-review-sprint
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jonase47/ccpr

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for p5-review-sprint

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonase47/ccpr/p5-review-sprint.svg)](https://agentmods.dev/commands/jonase47/ccpr/p5-review-sprint)
Your own site
<a href="https://agentmods.dev/commands/jonase47/ccpr/p5-review-sprint"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p5-review-sprint.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,156 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02156
Opus 5 $0.00000 $0.01078
Sonnet 5 $0.00000 $0.00431
Haiku 4.5 $0.00000 $0.00216

Measured 4d ago against content hash 685d0f70b0f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

p5-review-sprint scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/p5-review-sprint.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/p5-review-sprint – Holistic Sprint Code Review (whole-context)

Runs ONE final code review over the entire sprint at sprint end, with a stronger model, to catch issues that single-story reviews structurally cannot see: cross-story interactions, the schema/data model as a whole, conformance to ADRs and Constitution Inviolables, and consistency with prior lessons/instincts.

This is complementary to /p5-review-code, not a repeat of it. The per-story review runs during the sprint, is narrow and local, and also surfaces "good things". This pass is broad and architectural — it deliberately does not re-do the per-story nitpicking.

Argument: $ARGUMENTS = [optional: sprint number or git base ref]

  • Without argument: review the current sprint (stories from docs/planning/SPRINT.md, diff from the sprint's base commit to HEAD).
  • With a sprint number (e.g. 6): review that sprint.
  • With a git ref (e.g. a tag or SHA): use it as the diff base.

Prerequisites

  • Template: ~/.claude/templates/REVIEW_REPORT_TEMPLATE.md
  • Sprint implementation complete (all stories at least through /p5-review per story).
  • Either run manually before /gate-p5, or let /gate-p5 run it automatically (the gate triggers this review on opus when no current report exists). Mirrors /cross-check for docs, but unlike /cross-check the sprint gate runs it for you.
  • Working tree committed, so the diff reflects the committed sprint work.

Agent

  • Type: code-reviewer
  • Model: opus

Rationale (why opus here, cheaper models elsewhere): this pass reasons across the full sprint diff and the architecture anchors at once. The findings it targets — a constraint anti-pattern repeated across a migration, a job-queue/coalescing semantics gap, drift from an ADR or Inviolable, a lesson applied in one module but not its sibling — require holding the whole sprint in context and the stronger model to connect the dots. That cross-context reasoning is the entire point of the pass, and it runs once per sprint, so the cost is bounded. Per-story reviews stay on the cheaper model.

Read the full file on GitHub · 130 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 130 lines · 0 tokens per session scan A 685d0f70b0f9

Subscribe to this mod's changes

p5-review-sprint is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,156 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.