Skip to content
Back to skills

Brief Contract

ASecurity

Required brief format for spawning tester, builder, reviewer, or auditor agents. Use when the Director writes the prompt for one of those four agents.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
designgofrontend

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add restierecon/tbv --skill brief-contract --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brief Contract?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Brief Contract
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/restierecon-brief-contract/badge)](https://www.skillsdirectory.com/skills/restierecon-brief-contract)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: brief-contract
description: Required brief format for spawning tester, builder, reviewer, or auditor agents. Use when the Director writes the prompt for one of those four agents.
---

# Brief Contract

Every tester, builder, reviewer, or auditor spawn carries a brief with all seven headers
below. Each header begins its own line, uppercase, followed by a colon.
`scripts/guard.sh` blocks the spawn if any header is missing and names the gaps, so a
brief that skips one never runs.

| Header | Contents |
|---|---|
| GOAL | One sentence: the behavior this slice delivers (or verifies). |
| SCOPE | May write: paths/globs. May NOT write: paths/globs. Working directory, if any. |
| ACCEPTANCE | Numbered criteria, copied from task-tree.json. |
| VERIFY | How done is proven: `gate.sh`, plus SHA and gate result line for reviewer/auditor. |
| FORBIDDEN | Actions out of bounds for this slice (merging, force-push, new deps, ...). |
| REPORT | Shape and size of the reply (e.g. the manifest's output format, ≤ 20 lines). |
| STANDING | The numbered orders from `tbv/standing-orders.md`, pasted verbatim. |

STANDING is copied, never summarized or paraphrased. Orders are cross-slice rules
that would otherwise exist only in the Director's head. If the file has no orders
yet, write `STANDING: none`. The header still has to be there.

## Template

```
GOAL: <Actor can ...>
SCOPE: may write <paths>; may NOT write <paths>. Work only inside <worktree>.
ACCEPTANCE:
1. <criterion>
2. <criterion>
VERIFY: ~/.tbv/scripts/gate.sh at your final commit; report the SHA.
FORBIDDEN: merging, force-push, editing tbv/task-tree.json, new deps without justification.
REPORT: manifest output format, ≤ 20 lines.
STANDING:
1. <order 1 from tbv/standing-orders.md, verbatim>
2. <order 2, verbatim>
```

Slice ID and prior critique still go in the brief as free text,
around these headers.

## Tester briefs
A tester brief starts with `SLICE: <ID>`. SCOPE is the slice's `contract.tests` paths
and nothing else; ACCEPTANCE is the slice's criteria, verbatim; VERIFY is
`gate.sh test -- <contract test paths>` failing. For a revision after a
CONTRACT-DISPUTE, GOAL names the disputed test and quotes the builder's reason.

## Builder briefs: SLICE, RISK and harden-diff
When the slice has a locked contract, SCOPE says so: `locked contract: <contract.tests>
— never edit; budget <n> changed lines outside them`, and pastes the tester's INTERFACE
line.

A builder brief in a project with tbv/task-tree.json also starts with
`SLICE: <ID>`, the slice's id exactly as task-tree.json has it, and carries a
`RISK: <class> — <scope.change>; unchanged: <...>; rollback: <...>` line whose class
is the one `risk-gate.sh assess <ID>` printed. Before the spawn runs, guard.sh runs
`risk-gate.sh check <ID> build`: an unrecorded or changed assessment, a critical slice
without a human authorization, a RISK line naming another class, or an economy model (`sonnet`, `fast`) on
an elevated-or-higher slice refuses the spawn. guard.sh also reads that
slice's `auditor_triggers`:
- `[]` — nothing more to add.
- non-empty — STANDING must name the harden-diff skill, as an order after the pasted
  standing orders: `<n>. Load the harden-diff skill: this slice crosses <triggers>.`
  (`STANDING: none` becomes `STANDING:` followed by that one order.)
- no such slice, or no `auditor_triggers` field — the spawn is refused. Copy the
  approved slice into task-tree.json, or add the field, then dispatch.

A slice whose `ui_contract` is set needs one more STANDING order, naming the skill and
the exact contract path: `<n>. Load the frontend-ui-engineering skill and build to
tbv/ui/<feature-slug>/contract.md (prototype and screenshots beside it).` guard.sh
refuses the spawn when the order is missing or `ui-approval.sh check` doesn't find a
human approval of the folder as it is now — an unapproved design goes back to /grill,
not to a builder.

```
SLICE: S021
GOAL: Shopper can share a saved cart
RISK: elevated — share link opening a read-only cart; unchanged: cart ownership; rollback: revert, links stop resolving
...
STANDING:
1. <order 1 from tbv/standing-orders.md, verbatim>
2. Load the harden-diff skill: this slice crosses data-access, user-input.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.