/minimise:review-planfrom minimise
Reviews minimise job plans or loop specs as a blocking quality gate, reading YAML from stdin and emitting a machine-readable PASS/FAIL verdict on severe issues only.
Ships in minimise. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
The plan (YAML) arrives on stdin. Read it first.
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.
Two different schemas arrive here. Decide on shape, then apply the matching checklist:
tasks: key → job plan: a fixed task list, each task with
goal / description / estimated_duration_min.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.
Report a finding ONLY if it is one of these SEVERE / CRITICAL problems:
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.)A sound plan returns zero findings. That is the expected outcome — do not invent problems to look thorough.
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:
pre_plan hook running
/minimise:review-plan, recommend adding one (the blocking plan gate).post_task /minimise:review-implementation <task-id>
hook, task id baked in so the review is pre-scoped to that task.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.If the plan already wires appropriate gates, recommendations is empty — say so.
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
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.high for blocking correctness/data-loss issues, medium for
important-but-narrower risks. Never emit low.{"findings": [], "blocking_issues": 0, "summary": "..."}
followed by REVIEW: PASS.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.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dosatos/minimise --plugin minimise6 skills in this plugin
/brainstormAuthor a mini job or loop plan under control — triage loop-vs-job, run a retrieval-aware interview pre-filled from existing personas and recent runs, then preview the exact YAML behind an approve/edit/reject gate before handing off to the unchanged `mini job new` / `mini loop new`. Use when starting a new job or loop from a one-liner and you want to review the plan before anything runs./jobRun multi-step work as a background minimise job — authors a plan YAML, wires the review gates, runs it, and reports what landed. Also the reference for the job plan (reference/plan-schema.md) — read it before writing, reviewing or explaining one; `mini job new --help` lists the fields only briefly. Fields: plan.name, plan.briefing, plan.tasks (id, name, goal, description, estimated_duration_min, timeout_min, assignee | harness + model, pre_hooks, post_hooks), plan-level pre_hooks / post_hooks (name, shell, estimated_duration_min, timeout_min, on_failure)./loopRun open-ended iteration on one artifact as a minimise refinement loop — plan → implement → evaluate, repeating until the goal is met or max_iterations is hit. Also the reference for the loop spec — read it before writing, patching, reviewing or explaining one, or answering how a loop or its evaluators work; `mini loop new --help` lists the fields only briefly. Fields: goal, max_iterations, plan_version, loop.plan / loop.implement (prompt | prompt_file | persona, harness, model), loop.evaluate.dimensions (name, rubric, prompt | prompt_file | persona), evaluate.select (all | failed), evaluate.max_concurrent./review-implementationReviews 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./setupVerify and install the prerequisites for minimise — the `mini` CLI, the `claude` CLI, and a git repo.Other plugins' skills for the same job