Turn a request into a brief whose requirements the kernel checks, as assertions with tolerances, promised by the feature that owes each one and read back on the proof sheet. Use when writing design_brief for anything with numbers that must hold (hole patterns, bores, sizes, wall thickness, threads, part count), when a brief's audit reports missing, conflicting or impossible numbers, or when a proof row is FAIL or UNPROVEN.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Brief To Contract?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kaizensx-brief-to-contract)
---
name: brief-to-contract
description: Turn a request into a brief whose requirements the kernel checks, as assertions with tolerances, promised by the feature that owes each one and read back on the proof sheet. Use when writing design_brief for anything with numbers that must hold (hole patterns, bores, sizes, wall thickness, threads, part count), when a brief's audit reports missing, conflicting or impossible numbers, or when a proof row is FAIL or UNPROVEN.
---
# Brief to contract
FORM tools: `design_brief()`, `plan_design()`, `create_design()`, `edit_design()`, `get_project()`, `ask_user()`,
`ask_measurement()`, `measure()`.
A build that returns a valid solid says nothing about whether the four holes are there. The contract does. Kinds,
wording the parser reads, the audit and a worked example: `references/brief.md`, the same text as
`design_guide(topic="brief")`.
1. **Write requirements as numbers with their noun:** "4 x Ø5.2 on a 60 mm bolt circle", "Ø30 bore",
"80 x 60 x 20 mm", "2.4 mm wall", "M6 thread", "two-part". Keep numbers that are not requirements out of the
goal: every number the parser reads becomes an assertion.
2. **Read back `contract.assertions`.** A requirement that is not echoed there is not checked. Add it as
`assertions=[{"kind": ..., ...}]` (bbox, volume, part_count, face_count, hole_count, cylinder, bolt_circle,
pattern for a row, hole_rect for holes on a rectangle, min_wall, thread), each with `tol` when 0.1 mm is not what
you mean. Never stand one kind in for another: a 100 x 60 mm hole pattern is a hole_rect, not a row 100 mm apart.
3. **Settle the audit before any code.** `contract.audit.ask` goes to the person once, with `ask_user()`. A brief
with conflicting or impossible numbers is refused by `plan_design()` and `create_design()` until it is written
again. `ok: true` means the arithmetic it knows found nothing, not that the brief is sound.
4. **Give every dimension its source** in `dimensions`: measured (the person measured it), specified (a named
datasheet or standard), assumed (yours). List what you could not settle in `unknowns`; ask only for the ones
that change fit, load or safety (`ask_measurement()` for a dimension).
5. **Promise each assertion in the feature that makes it:** `expects=[contract.bolt_circle(4, 5.2, 60)]` on the
`@feature`. A miss then fails at that feature with measured against wanted, not three features later.
6. **Read the proof sheet after every build** (`proof` in the result and in `get_project()`): PASS, FAIL or UNPROVEN
per requirement, with what was measured. Claim only PASS rows. A FAIL names the feature to repair and whether it
was never met or lost at a later feature.
In Form Studio's chat the person sees the contract as it forms: each assertion as a row (kind, text, and how it
is known: specified when the brief stated it, measured, else assumed) and the requirements read from their own
sentence as chips. Word assertions to be read by a person, and say why when your contract differs from their chips.
A simple part still benefits: one `design_brief()` and a three-line `plan_design()` buy a proof sheet for every
later revision. A design that exists already takes a contract with `design_brief(project=...)`.