Writes a formal contract defining done criteria before starting engineering work. Maps acceptance criteria to executable observations, size classes, and non-goals. Use at the start of bugs, features, refactors, or PR reviews.
Ships in experimental. 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.
Done is decided before the work starts, and it is decided as commands, not adjectives. This skill turns one request into a contract the harness can check.
Read the issue, PR, or request, its comments and linked items, and only enough code to test its claims. Pin the source: digest and updatedAt, plus head SHA for a PR. Choose one intent:
| Intent | Ends at |
|---|---|
| question or investigation | an answer or finding with evidence; no code |
| unverified bug | a reproduction on the user-visible surface, then a change contract if confirmed |
| feature or behavioral change | a contract and accepted shape |
| mechanical change | a contract; behavior must not change |
| PR review | a verdict on the exact head |
Ambiguity defaults to investigation, never to implementation. Unknowns stay written down.
| Class | Signal | Ceremony in loop |
|---|---|---|
trivial | one obvious mechanism, one check proves it | implement, observe, gate mechanical |
normal | bounded behavior change in one area | add reduction and test strength when triggered, gate standard |
heavy | several valid shapes, shared state, contract or persistence change, security, shared infrastructure | compare shapes with the human first, every triggered lens, gate high-risk, before and after observations |
Changes that add reads or writes against shared infrastructure (a database, analytics store, third-party API, queue) are at least normal and need a load budget: requests per hour at expected scale, cost per request, and what bounds them, including cold starts.
Write .agents/verify/contract.md in the target repo. It is excluded from git when the kit was scaffolded with --local.
# Contract: <source locator>
source: <locator> @ <digest or head>
intent: <intent> class: <trivial|normal|heavy>
## Acceptance
- A1: <observable outcome>
- observe: <feature>
## Must not change
- M1: <behavior that must stay>
- observe: <feature>
## Change surface
- surface: <glob of paths this work may touch, e.g. cli/src/native/*>
## Non-goals
- N1: <explicitly out of scope>
## Unknowns
- <open question, or none>
Every acceptance and must-not-change item names a driver with observe: <feature>. Use observe: check when check.sh is the proof, and observe: <feature> x<N> for timing-sensitive or benchmark drivers, with N stated by the owner or taken from measured variance. If no driver can observe it, write a new driver with verify-setup first, or mark the item observe: none (reason) and keep it visible as a gap. fresh.sh then refuses done until every named feature has a passing observation for the current tree.
trivial and normal with no unknowns that change the shape: continue to loop.heavy, or any unknown that changes what gets built: show the contract and stop for the human.What SKILL.md sets; muted values are Claude Code's defaults
/experimental:contractfrom experimental
npx claudepluginhub railly/skills --plugin experimental3 skills in this plugin
/loopRun one engineering change from contract to a reviewed, observed, human-approved state, with ceremony scaled by size class. Each step ends on command output, never on a claim. Use when the user says take this to PR-ready, fix this issue, implement this, run the full cycle, or resume an interrupted change. Enter at the earliest incomplete step. Do not use for a question or investigation with no code change, or to review someone else's PR (gate)./verify-setupGive a repository its own executable verification kit under .agents/verify: doctor, deterministic checks, per-feature drivers that observe the real surface and keep evidence tied to the exact tree, and an enforcer table. Use when a repo has no way for an agent to prove a change works, when setting up verification for a new repo, when adding a driver for a feature, when a done claim was wrong because the wrong surface was checked, or when the verify-before-done hook blocks for lack of evidence. Do not use to review a diff (gate) or to record a case (correct).Other plugins' skills for the same job