refine
Skills Architecture v1.6 — proof-bearing goal contract generator with three entry modes (auto-detected from arguments). FULL mode reads .claude/contexts/<slug>.md + .claude/plans/<slug>.md and runs 4-10 review lenses. BARE mode skips lens dispatch and structures a free-form description. FROM-CONTRACT mode re-compacts an existing goal contract. ALWAYS emits a predictable square-prompt directive with the same 7-section shape (CONTEXT, OBJECTIVE, SCOPE, CONSTRAINTS, ACCEPTANCE, VERIFY, STOP) so a vague input like "fix ca" never reaches the goal state — synthesis rejects vague verbs and forces binary measurable acceptance criteria paired 1:1 with verifiers. The /goal directive has a 4000-char ceiling (hard tool limit); /refine aims for the minimum viable length that preserves the contract, never pads to fill the budget. Use when to turn a plan or a loose description into a /goal contract with binary acceptance criteria paired 1:1 with verifiers, so the goal state cannot be reached by a vague claim of success.
Pinned to revision ad5dd787dc4e, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/refine/SKILL.md
- skills/refine/auto.md
- skills/refine/dispatch.md
- skills/refine/render.md
- skills/refine/synthesis.md
Every link opens the file at its source, pinned to the revision this page describes.