thinkhaven: Command for Claude Code

.claude/commands/BMad/tasks/review-story.md

review-story is a command for Claude Code from hollandkevint/thinkhaven. It costs 0 tokens per session (1,146 once invoked), scanned A, a copy of review-story, Apache-2.0.

A command that reviews a completed software story before it is accepted. It checks the requirements, developer notes, changed files, and passing automated tests.

In plain words
What is it for?
Use it for senior-level reviews of completed development stories, including checking acceptance criteria and refactoring code when needed.
Why use it?
It helps catch missing work, incorrect technical choices, misplaced files, and security gaps before a change is approved.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is hollandkevint/thinkhaven's own configuration. It tells Claude Code how to work on thinkhaven itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything thinkhaven configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hollandkevint/thinkhaven. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hollandkevint/thinkhaven/main/.claude/commands/BMad/tasks/review-story.md
Clone the repo
git clone --depth 1 https://github.com/hollandkevint/thinkhaven

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 review-story

README.md
[![agentmods](https://agentmods.dev/badge/commands/hollandkevint/thinkhaven/review-story/github.svg)](https://agentmods.dev/commands/hollandkevint/thinkhaven/review-story)
Your own site
<a href="https://agentmods.dev/commands/hollandkevint/thinkhaven/review-story"><img src="https://agentmods.dev/badge/commands/hollandkevint/thinkhaven/review-story/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-story

Your own site · 80×15
<a href="https://agentmods.dev/commands/hollandkevint/thinkhaven/review-story"><img src="https://agentmods.dev/badge/commands/hollandkevint/thinkhaven/review-story.svg" alt="Reviewed on agentmods" width="80" 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 1,146 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 100% copy Near-identical to another mod 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.01146
Opus 5 $0.00000 $0.00573
Sonnet 5 $0.00000 $0.00229
Haiku 4.5 $0.00000 $0.00115

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

Security

Grade A, and why

review-story 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 11d 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.

Origin

This is a copy

100% identical to review-story — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/BMad/tasks/review-story.md · 159 lines

How it starts

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

/review-story Task

When this command is used, execute the following task:

review-story

When a developer agent marks a story as "Ready for Review", perform a comprehensive senior developer code review with the ability to refactor and improve code directly.

Prerequisites

  • Story status must be "Review"
  • Developer has completed all tasks and updated the File List
  • All automated tests are passing

Review Process

  1. Read the Complete Story

    • Review all acceptance criteria
    • Understand the dev notes and requirements
    • Note any completion notes from the developer
  2. Verify Implementation Against Dev Notes Guidance

    • Review the "Dev Notes" section for specific technical guidance provided to the developer
    • Verify the developer's implementation follows the architectural patterns specified in Dev Notes
    • Check that file locations match the project structure guidance in Dev Notes
    • Confirm any specified libraries, frameworks, or technical approaches were used correctly
    • Validate that security considerations mentioned in Dev Notes were implemented
  3. Focus on the File List

    • Verify all files listed were actually created/modified
    • Check for any missing files that should have been updated
    • Ensure file locations align with the project structure guidance from Dev Notes
  4. Senior Developer Code Review

    • Review code with the eye of a senior developer
    • If changes form a cohesive whole, review them together
    • If changes are independent, review incrementally file by file
    • Focus on:
      • Code architecture and design patterns
      • Refactoring opportunities
      • Code duplication or inefficiencies
      • Performance optimizations
      • Security concerns
      • Best practices and patterns
  5. Active Refactoring

    • As a senior developer, you CAN and SHOULD refactor code where improvements are needed
    • When refactoring:
      • Make the changes directly in the files
      • Explain WHY you're making the change
      • Describe HOW the change improves the code
      • Ensure all tests still pass after refactoring
      • Update the File List if you modify additional files

Read the full file on GitHub · 159 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. 11d ago First seen · 159 lines · 0 tokens per session scan A c7baf0d033ae

Subscribe to this mod's changes

review-story is a command published in the GitHub repository hollandkevint/thinkhaven (5 stars, last pushed 12d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,146 tokens. A static security scan graded it A with 0 findings. It is 100% identical to review-story, differing in 0 lines, and is treated as a copy.