Skip to content
Skills Library
Programming · Review & audit

review-implementation

/review-implementation

Reviews what a minimise job actually IMPLEMENTED against its plan — a NON-BLOCKING advisory reviewer that reads the plan (YAML) from stdin, inspects the job's git diff, and reports findings without ever aborting the job. Use when invoked as `/minimise:review-implementation`, or when a minimise `post_plan` hook runs `claude -p '/minimise:review-implementation'` to critique the finished work. Always exits reporting; it never fails the job. Checks correctness, completeness vs. the plan's goals, obvious bugs, missing tests, and over-engineering — mirroring ralphex's post-implementation review, tri

Repository
minimise ↗
Licence
MIT
Last repository change
27.10.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
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

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

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Reviews what a minimise job actually IMPLEMENTED against its plan — a NON-BLOCKING advisory reviewer that reads the plan (YAML) from stdin, inspects the job's git diff, and reports findings without ever aborting the job. Use when invoked as `/minimise:review-implementation`, or when a minimise `post_plan` hook runs `claude -p '/minimise:review-implementation'` to critique the finished work. Always exits reporting; it never fails the job. Checks correctness, completeness vs. the plan's goals, obvious bugs, missing tests, and over-engineering — mirroring ralphex's post-implementation review, tri

Original author description

Reviews what a minimise job actually IMPLEMENTED against its plan — a NON-BLOCKING advisory reviewer that reads the plan (YAML) from stdin, inspects the job's git diff, and reports findings without ever aborting the job. Use when invoked as `/minimise:review-implementation`, or when a minimise `post_plan` hook runs `claude -p '/minimise:review-implementation'` to critique the finished work. Always exits reporting; it never fails the job. Checks correctness, completeness vs. the plan's goals, obvious bugs, missing tests, and over-engineering — mirroring ralphex's post-implementation review, tri

How it works

  1. Input
  2. Step 1 — Determine your scope
  3. Step 2 — Review dimensions (ralphex-style, trimmed)
  4. What to IGNORE
  5. Output format
  6. How the hook uses this
  7. Running tests
Original SKILL.md headings · 154 lines, 1,085 words
SKILL.md preview
---
name: review-implementation
disallowed-tools: Write Edit NotebookEdit
description: Reviews what a minimise job actually IMPLEMENTED against its plan — a NON-BLOCKING advisory reviewer that reads the plan (YAML) from stdin, inspects the job's git diff, and reports findings without ever aborting the job. Use when invoked as `/minimise:review-implementation`, or when a minimise `post_plan` hook runs `claude -p '/minimise:review-implementation'` to critique the finished work. Always exits reporting; it never fails the job. Checks correctness, completeness vs. the plan's goals, obvious bugs, missing tests, and over-engineering — mirroring ralphex's post-implementation review, trimmed to the essentials.
---

# Reviewing a minimise implementation

You are a pragmatic engineering reviewer critiquing the work a minimise job just
finished. Unlike the plan reviewer, you are **NON-BLOCKING**: you report findings
so the human sees them in `mini job logs`, but you never abort the job. Your
verdict is advisory.

## Input

The plan (YAML) arrives on **stdin** — it tells you what the job was *supposed* to
build. Read it first.

```bash
cat            # the piped plan YAML is your input; no file path is given
```

If stdin is empty, note it and review whatever the sole running job did (below).

## Step 1 — Determine your scope

**If the invocation named one or more task ids/names** — e.g. a per-task post_task
hook runs `claude -p '/minimise:review-implementation gantt-1'` — then **those tasks ARE
your scope, full stop.** Find each one in the plan (stdin) by its id, review exactly
its `goal` against current repo state, and **skip the resolution below entirely** — do
not call `mini`, do not reason about which tasks are "completed". This is the common,
cheap path: the caller already told you what to grade.

> Why this matters: a per-task post_task hook fires *while its task is still running*
> (before minimise marks it COMPLETED), so that task would NOT show as completed yet.
> Trusting the passed id — not job state — is what makes per-task review correct.

**Only if NO scope was passed** (the post_plan advisory use — one bare
`/minimise:review-implementation` after all tasks finish) do you resolve it from minimise's
own state. Do **not** guess from `git log`/`HEAD~N` or grep commit messages — that
drifts and couples you to a message format. Ask minimise instead:

```bash
# 1. Which running job is THIS review? Match by name — the plan on stdin has a
#    `name:` field, and it equals the job's name. (Only-one-running is the common
#    case; matching by name stays correct even if several jobs run at once.)
mini job list --format json      # find the job whose name == the plan's `name:`

# 2. Its per-task state is your scope.
mini job status <id> --format json
```

**Scope = only the tasks whose `status` is `completed`.** A task that is not completed
(pending / running / failed) was *not attempted* — it is OUT OF SCOPE. Never grade a
goal for an uncompleted task.

Then read the current state of the files the in-scope tasks touched, in context:

```bash
git status --porcelain           # any uncommitted leftovers (FYI in summary, not a goal)
git log --oneline -20            # optional orientation only — NOT your scope boundary
```

You are grading whether the completed tasks' goals hold in the repo *as it is now* —
read the files and run the tests. Recent commits are context, not the source of truth.

## Step 2 — Review dimensions (ralphex-style, trimmed)

For each of these, report only *real, confirmed* issues:

- **Correctness** — bugs, wrong logic, runtime errors, broken edge cases.
- **Completeness vs. plan** — for each **in-scope** task (Step 1 scope only), did its
  `goal` actually get met? Call out a goal that is unmet or only partially implemented.
  Say nothing about out-of-scope tasks — they are not failures.
- **Tests** — did behavior-changing code land without a test that would catch a
  regression? (Match the repo's existing test style; do not demand frameworks.)
- **Simplification** — dead code, over-engineering, speculative abstraction the plan
  did not ask for.

Verify EVERY candidate finding against the actual code (read 20-30 lines of context)
before reporting it. Discard false positives and anything already mitigated. A clean
implementation returns zero findings — that is the expected good outcome.

## What to IGNORE

- Style, naming, formatting, wording preferences.
- "Could be more explicit / for robustness / best practice" nice-to-haves.
- Pre-existing issues unrelated to this job's diff.

## Output format

Print the findings JSON, then a final verdict line as the **last line**:

```
{
  "findings": [
    {
      "task_id": "task-1",
      "title": "Short issue title",
      "description": "What is wrong / what plan goal is unmet, and why it matters",
      "severity": "high|medium",
      "suggestion": "Concrete fix"
    }
  ],
  "unmet_goals": ["task-id of any in-scope task whose goal is not fully met"],
  "summary": "Brief overall assessment of the implementation"
}
REVIEW: PASS
```

- Last line is exactly `REVIEW: PASS` (zero findings) or `REVIEW: FAIL` (one or more).
  The verdict is **advisory** — see below, the hook does NOT abort on it.
- `high` = correctness/data-loss/unmet-goal; `medium` = narrower risk. Never `low`.

## How the hook uses this

Two ways to wire it, differing only in scope (Step 1):

**Per-task, pre-scoped (recommended when you want a blocking gate).** Put it in a task's
`post_hooks` and pass that task's id in the invocation — the review then grades exactly
that one task, correctly even though minimise has not marked it COMPLETED yet:

```yaml
    post_hooks:
      - name: review-implementation
        estimated_duration_min: 3   # measured median 2.7 min; 1 in 10 runs takes ~9 min
        timeout_min: 15
        on_failure: retry   # failing review re-runs the task with findings fed back
        shell: "claude -p --dangerously-skip-permissions '/minimise:review-implementation gantt-1' | tee /dev/stderr | grep -q '^REVIEW: PASS'"
```

**Whole-plan advisory (non-blocking).** One bare invocation in the plan's `post_plan`
hooks, after all tasks finish. No id → it resolves scope from job state (Step 1):

```yaml
post_hooks:
  - name: review-implementation
    estimated_duration_min: 5
    on_failure: skip   # advisory: record findings, never block the job
    # --dangerously-skip-permissions lets the reviewer actually RUN the tests
    # (see "Running tests" above). tee: findings reach `mini job logs`.
    shell: "claude -p --dangerously-skip-permissions '/minimise:review-implementation' | tee /dev/stderr"
```

minimise captures the hook's stdout/stderr into the Execution record, so the findings
show up in `mini job logs <id>` regardless of the verdict. `on_failure: skip` makes the
hook non-blocking declaratively — no `; exit 0` shell trick needed (older minimise
without on_failure must instead append `; exit 0` to the shell string).

## Running tests

You are invoked with `--dangerously-skip-permissions`, so you CAN run the repo's test
suite and lean on real results instead of reading the diff statically. Do it — a green
or red suite is stronger evidence than static reasoning. Find the repo's test command
(e.g. from CLAUDE.md / README / pyproject) and run it; for this project it is
`PYTHONPATH=src pytest tests/ -q`. If a behavior-changing change has no test, or the
suite is red, that is a `high`-severity finding. If you genuinely cannot run tests, say
so explicitly in the summary rather than implying you verified them.

Versions

The database has no other skills named review-implementation.

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

Downloads in the last 30 days: 1 · ranking

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

Similar skills

  • 100review-plan
    Reviews a minimise job plan or loop spec as a pragmatic BLOCKING quality gate, reading it (YAML) from stdin and printing a machine-readable REVIEW: PASS / REVIEW: FAIL verdict. Use when invoked as `/minimise:review-plan`, or when a minimise `pre_plan` hook runs `claude -p…
  • 100task-compliance
    Review an implementation against task file requirements. Checks every spec scenario and Done When criterion, identifies gaps, and reports them. Use when the user says "task compliance", "check compliance", "review against the task", or to verify implementation completeness before shipping.
  • 90review
    This skill should be used when the user asks to "review implementation", "compare to plan", "check what was missed", "audit the implementation", "verify completeness", "quality check", or mentions "plan vs implementation", "did we miss anything", "stretch goals", "code quality…
  • 100dev-critique
    Optional. Runs only when the user asks for it (never automatically, never mid-loop, never in auto mode). Use to get an independent "rubber duck" second opinion — a devil's-advocate critique of a plan, design, proposal, in-progress implementation, or test suite. Most useful right…
  • 100review
    Run expert review on a plan, spec, or implementation approach with parallel reviewer agents. Presents findings as Socratic questions. Use when asked to "review the plan", "check this approach", or before implementation to validate architectural decisions. Optional argument:…
  • 90plan-audit
    Audit an implementation against a plan (dev-docs/plans/*). Use when a user asks to check for gaps, logic errors, or missing tests relative to a plan or Work Items.

Feedback and reports

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