Runs a full engineering change cycle from contract to PR-ready, with ceremony scaled by size class. Each step ends on command output, not claims. Use for implementing, fixing, or resuming changes.
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.
contract → [shape] → implement → observe → gate → human → deliver → correct
↑ ↑__________ contract or shape change __________|
Bracketed steps depend on the size class in .agents/verify/contract.md.
Read the contract. If it is missing, run contract. If .agents/verify/ is missing, run verify-setup (use --local in a repo you do not own); if it exists, its scaffold.mjs --check must pass first. Find the earliest step whose evidence is missing or stale for the current tree. A handoff note or an earlier claim is a lead, not evidence.
Write two or three candidate shapes under ## Shapes in the contract: mechanism, change surface, what each breaks, and the cheapest experiment that separates them. Run the experiments rather than arguing. Show the result to the human and record the chosen shape and one independently mergeable slice. No accepted slice, no implementation.
For an unverified bug, run the driver first and see it fail on the reported behavior. If it passes, the bug is not reproduced: stop and say so. Then implement the smallest change that satisfies the contract. For normal and heavy, delegate implementation to a subagent and keep review in a different context, so the author never grades its own work.
Run bash .agents/verify/check.sh, then bash .agents/verify/observe.sh <feature> for every feature in the contract. Open each screenshot or output and read it. bash .agents/verify/fresh.sh must exit 0. A failure returns to step 2 with the evidence, not with a retry of the same thing.
A subagent's PASS is a lead, not evidence. The orchestrator reruns every contract driver itself after the subagent returns. When the change touches timing, processes, sockets, or lifecycle, run each driver repeatedly and report runs and failures: one green run hid a close race in agent-browser #2135.
For heavy visual or behavioral changes, also observe the baseline: run the same driver on the merge base in a separate worktree and keep both evidence directories, so the human sees before and after on one basis.
Two reversals on the same pair of behaviors (fix A breaks B, fix B breaks A) end the run and return to step 1. That is a wrong change surface, not a bug to keep patching.
Run gate with the profile matching the class (trivial = mechanical, normal = standard, heavy = high-risk). It runs gate.sh verify and the deep lenses the diff triggers (test strength, resilience, security, simplify). Any lens that edits code sends the run back to step 3. Record the patch-id it reviewed: git diff $(git merge-base origin/main HEAD) HEAD | git patch-id --stable.
Show the contract result per item, the evidence paths, the review verdict, gaps, and the exact action proposed (commit, push, PR). Wait for explicit approval. Before acting, gate.sh drift <reviewed-patch-id> must pass; any drift goes back to step 4. Stage explicit paths, never git add -A, and gate.sh scope must pass. A PR body is written to a file first and gate.sh prbody <file> must pass: ## Problem, ## Changes, ## Visual proof with a screenshot or video, uploaded with gh pr create|edit --body-file <file> --attach <image>. PRs target the default branch, never another feature branch. Authority for one action never implies another.
Run correct: it records the case, and every mistake that escaped a step becomes a check that fails on it, plus a row in ENFORCERS.md. If no check is possible, it writes why.
When the cycle ends open, append ## Handoff to the contract: the current step, the exact tree (HEAD and fresh.sh result), what is unverified, and the next command. The next session enters at step 0 from that note.
A finding that something does not exist, is unused, is unreachable, or can be removed is a claim about everything you did not look at. Write it with its preconditions: what you observed and from where (anonymous or authenticated, which surface, which consumers). Before writing it, look at the user-visible surface directly (screenshot or page text), not only traffic or source. If a precondition you could not observe would change the verdict, the verdict is needs-human: <what was not observed and how to observe it>, not a conclusion.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/contractWrite the done criteria for one piece of engineering work before any code changes: what it really is, its size class, acceptance criteria each mapped to an executable observation, must-not-change behavior, and non-goals. Writes .agents/verify/contract.md so fresh.sh and the verify-before-done hook require every named feature to be observed. Use at the start of a bug fix, feature, refactor, or PR review, when someone says start work on this, take this issue, what does done mean, or before loop. Do not use to shortlist a backlog or to review a finished diff (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)./experimental:loopfrom experimental
npx claudepluginhub railly/skills --plugin experimentalOther plugins' skills for the same job