review-plan
/review-plan
Ocenia plan lub specyfikację pętli minimise przed wykonaniem jako bramkę blokującą, zgłaszając tylko poważne problemy i werdykt PASS albo FAIL.
- Autor
- dosatos ↗
- Repozytorium
- minimise ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Ocenia plan lub specyfikację pętli minimise przed wykonaniem jako bramkę blokującą, zgłaszając tylko poważne problemy i werdykt PASS albo FAIL.
Oryginalny opis (EN)
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 '/minimise:review-plan'` to gate a job before implementation. Reports ONLY severe issues (correctness bugs, data-loss/destructive risk, missing steps that make a task unimplementable, internal contradictions, factually wrong claims about the codebase, a loop goal with no stopping condition) and ignores style, wording, and nic
Jak działa
- Input
- Triage: job plan or loop spec?
- What to report (and only this)
- What to IGNORE (these are NOT findings)
- Recommend verification gates (advisory, never blocks) — JOB PLANS ONLY
- Output format
- How the hook gates on this
Podgląd SKILL.md
---
name: review-plan
description: 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 '/minimise:review-plan'` to gate a job before implementation. Reports ONLY severe issues (correctness bugs, data-loss/destructive risk, missing steps that make a task unimplementable, internal contradictions, factually wrong claims about the codebase, a loop goal with no stopping condition) and ignores style, wording, and nice-to-haves.
disallowed-tools: Write Edit NotebookEdit
---
# Reviewing a minimise plan
You are a pragmatic engineering reviewer acting as a **BLOCKING quality gate** for a
minimise plan. The plan passes only if you find zero severe issues, so report **only**
problems that genuinely must be fixed before implementation.
## Input
The plan (YAML) arrives on **stdin**. Read it first.
```bash
cat # the piped plan YAML is your input; no file path is given
```
When invoked via the hook `claude -p '/minimise:review-plan'`, the calling `HookExecutor`
pipes the serialized plan to stdin. If stdin is empty, emit `REVIEW: FAIL` with a note
that no plan was received — never pass a plan you could not read.
## Triage: job plan or loop spec?
Two different schemas arrive here. Decide on shape, then apply the matching checklist:
- a **`tasks:`** key → **job plan**: a fixed task list, each task with
`goal` / `description` / `estimated_duration_min`.
- a **`loop:`** key → **loop spec**: `goal`, `max_iterations`, and
`loop.{plan,implement,evaluate.dimensions}` — no task list. Authoritative schema:
`assets/claude/skills/loop/SKILL.md`.
Never fault a loop spec for missing task-plan fields, or vice versa.
## What to report (and only this)
Report a finding ONLY if it is one of these SEVERE / CRITICAL problems:
- **Correctness bug:** an instruction that, if followed, produces wrong behavior or
fails at runtime (references a nonexistent function/variable, wrong API usage).
- **Data-loss or destructive risk:** e.g. a migration that can drop or corrupt data, a
non-atomic schema rebuild.
- **Missing step** that makes a task unimplementable or leaves the build/tests broken.
- **Internal contradiction:** two instructions that cannot both be satisfied.
- **Factually wrong claim** about the codebase that would mislead the implementer.
- **Loop specs only — a goal with no stopping condition.** The `goal` is what the planner
reads each iteration to decide whether to stop. "Improve the README" states no observable
finish line, so the loop cannot converge: it burns every one of `max_iterations` and every
token in them. A goal that names no observable stopping condition is `high` severity and
BLOCKS (`REVIEW: FAIL`). "Improve the README until a first-time reader can set up, use, and
test the project unaided" passes — it says when to stop. (Job plans have no such failure
mode; do not apply this to them.)
## What to IGNORE (these are NOT findings)
- Style, wording, naming, formatting, or clarity preferences.
- "Could be more explicit", "consider adding", "for robustness", "best practice".
- Hard-coded counts / line numbers the implementer can self-correct.
- Defensive or extra tests that are nice-to-have but not required for correctness.
- Anything already adequately specified, even if terse.
A sound plan returns **zero findings**. That is the expected outcome — do not invent
problems to look thorough.
## Recommend verification gates (advisory, never blocks) — JOB PLANS ONLY
Loop specs have no hooks; for a loop, `recommendations` is always empty. Skip to Output.
Separately from findings, suggest the plan add its own verification gates — but only
where they earn their place. These go in a `recommendations` array and **never** affect
the PASS/FAIL verdict (a missing gate is not a severe issue).
This is best-effort and **only useful now, at review time**: this skill runs as a
`pre_plan` hook, before any task executes, so a recommended hook can still be added.
Once tasks start it is too late. So propose freely here; the plan author decides.
Match the gate to what the task actually produces — don't default everything to a code
review:
- **Plan review hook:** if the plan has real tasks but no `pre_plan` hook running
`/minimise:review-plan`, recommend adding one (the blocking plan gate).
- **Code / behavior changes** → a `post_task` `/minimise:review-implementation <task-id>`
hook, task id baked in so the review is pre-scoped to that task.
- **Other task types** → whatever cheaply verifies *that* task's output, as a
non-blocking (`on_failure: skip`) `post_task` hook. Examples: a task that writes docs
→ a link/command-exists check or a doc lint; a schema/migration task → a migration
dry-run or round-trip check; a task producing a data file → a schema/shape assertion;
a build/config change → the build or a smoke command. Suggest the concrete shell, or
describe the check if no obvious command exists.
- **Skip tasks that warrant nothing:** trivial or self-verifying tasks. No meaningful
output to check → no gate. Don't recommend ceremony a task doesn't need.
If the plan already wires appropriate gates, `recommendations` is empty — say so.
## Output format
End your response with a machine-readable block the calling shell can gate on. 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 and why it breaks implementation",
"severity": "high|medium",
"suggestion": "Concrete fix"
}
],
"blocking_issues": <number of high-severity findings>,
"recommendations": [
{
"task_id": "task-2 (or \"plan\" for a pre_plan hook)",
"gate": "post_task",
"suggestion": "Why this task benefits from a verification gate and what it checks",
"shell": "claude -p --dangerously-skip-permissions '/minimise:review-implementation task-2' | tee /dev/stderr | grep -q '^REVIEW: PASS'"
}
],
"summary": "Brief overall assessment"
}
REVIEW: FAIL
```
- Last line is exactly `REVIEW: PASS` (zero findings) or `REVIEW: FAIL` (one or more).
**`recommendations` never change the verdict** — a plan with zero findings but pending
recommendations still passes.
- Use severity `high` for blocking correctness/data-loss issues, `medium` for
important-but-narrower risks. Never emit `low`.
- For a clean plan, print `{"findings": [], "blocking_issues": 0, "summary": "..."}`
followed by `REVIEW: PASS`.
## How the hook gates on this
The user's `pre_plan` hook parses the sentinel and sets the exit code — the framework
does not (`claude -p` always exits 0 on success). Crucially, the hook must **print the
review** as well as gate on it: minimise captures the hook's stdout/stderr into the
Execution record and prints it when the hook fails, so that is where the findings show
up (`mini job logs <id>`). Do NOT pipe straight into `grep -q` — that discards the
output, leaving an exit code with no explanation.
```yaml
pre_hooks:
- name: review-plan
estimated_duration_min: 5
# tee: show the full review, THEN gate on the sentinel (grep reads the copy).
shell: "claude -p '/minimise:review-plan' | tee /dev/stderr | grep -q '^REVIEW: PASS'"
```
`tee /dev/stderr` echoes the whole review (findings JSON + verdict) so minimise records
and prints it, while `grep` still inspects the stream to set the exit code. A nonzero
exit aborts the job before any task runs; the findings are then visible in the job logs.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · dosatos/minimise | 100 | MIT |
| jkaloger/lazyspec | 100 | MIT |
| penpot/penpot | 100 | MPL-2.0 |
| sydasif/web-search-mcp | 100 | MIT |
| ghassenazzouz/claude-qa-agent | 100 | MIT |
| rube-de/cc-skills | 100 | MIT |
| paultyng/skill-issue | 100 | MIT |
| florianbuetow/claude-code | 100 | MIT |
| atomicinnovation/accelerator | 95 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki c9de412a89e1 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100review-implementation
Sprawdza, co minimise faktycznie zaimplementowało względem planu, jako doradca, który nie przerywa zadania, i raportuje ustalenia. - 100loop-plan-evaluator
Ocenia plan wykonania przed napisaniem kodu: zgodność zakresu, nakładanie się na zrobioną pracę, poprawność grafu zależności i jasność zadań, po czym wydaje werdykt PASS lub FAIL. - 100gate
Uruchamia mechaniczną bramkę projektu raz i zgłasza wynik PASS lub FAIL wraz z cytatami błędnych kroków. - 100code-review
Ocenia konkretny diff, gałąź lub pull request z GitHuba bez specyfikacji i planu, zgłaszając tylko uzasadnione uwagi i jeden werdykt, domyślnie bez zapisu. - 100review
Uruchamia równoległych agentów-specjalistów przy przeglądzie przed PR-em lub podczas równoległej pracy, zgłaszając wyniki zbiorczo. - 100plan-review
Sprawdza plan w trybie planowania przez pętlę przeglądu w Codex exec i zwraca bramkę: gotowy, zablokowany lub wymagający decyzji człowieka.