developing-contract-first-features
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Use when an approved feature spans multiple implementation boundaries or agents and needs traceable delivery without reviewer-driven implementation loops.
In this repository13 other files it gives its agents.
- accepting-contract-first-featuresSkill
- authoring-executable-contractsSkill
- designing-contract-first-featuresSkill
- executing-persistent-workstreamsSkill
- managing-contract-revisionsSkill
- planning-contract-workstreamsSkill
- review-agentSkill
- reviewing-and-freezing-contractsSkill
- reviewing-workstreamsSkill
- test-driven-developmentSkill
- verifying-contract-first-featureSkill
- verifying-runtime-integrationSkill
- verifying-task-gatesSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
REQUIRED SUB-SKILL: Use designing-contract-first-features — architecture, boundaries, and the verification strategy (required layers per …
- Very specific: line 19
REQUIRED SUB-SKILL: Use authoring-executable-contracts.
- Very specific: line 20
REQUIRED SUB-SKILL: Use reviewing-and-freezing-contracts before parallel implementation.
- Very specific: line 21
REQUIRED SUB-SKILL: Use planning-contract-workstreams to create workstream contracts with Verification Obligations.
- Very specific: line 23
After every task, apply verifying-task-gates at task level (focused verification only).
- Very specific: line 25
When all required workstreams are complete, use verifying-contract-first-feature for the assembled system: run required layers from …
- Very specific: line 26
Use accepting-contract-first-features for final evidence-based acceptance.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Developing Contract-First Features
Core principle
Shared behavior is decided before parallel implementation. Implementation context persists by workstream; proof comes from deterministic gates and fresh boundary reviewers.
Preconditions
Require approved .dream/specs/<feature>/requirements.md. If requirements are contradictory or materially incomplete, stop at requirements engineering.
Workflow
- REQUIRED SUB-SKILL: Use
designing-contract-first-features— architecture, boundaries, and the verification strategy (required layers per behavior). - REQUIRED SUB-SKILL: Use
authoring-executable-contracts. - REQUIRED SUB-SKILL: Use
reviewing-and-freezing-contractsbefore parallel implementation. - REQUIRED SUB-SKILL: Use
planning-contract-workstreamsto create workstream contracts with Verification Obligations. - Dispatch one persistent owner per coherent workstream and use
executing-persistent-workstreams. - After every task, apply
verifying-task-gatesat task level (focused verification only). - At high-risk task boundaries or when a workstream completes its obligations, use
reviewing-workstreamswith fresh context. - When all required workstreams are complete, use
verifying-contract-first-featurefor the assembled system: run required layers from narrowest to broadest, usingverifying-runtime-integrationfor runtime smoke, e2e, and visual evidence. - Use
accepting-contract-first-featuresfor final evidence-based acceptance.
At any phase, a discovered contract defect or missing boundary behavior invokes managing-contract-revisions; after re-freeze, reopen only affected work and invalidate affected verification evidence.
Agent topology
Workstreams are ownership boundaries derived from design (services, modules, frontends, producer/consumer roles) — never a fixed backend/frontend template. Default to one persistent implementation agent per workstream, not per task. Split a workstream only when tasks are contract-independent and do not materially share domain models, abstractions, or files.
Fresh context is preferred for workstream reviewers, feature verifiers, and final acceptance reviewers.
Non-negotiable boundaries
- Implementation agents do not silently edit frozen contracts.
- Reviewers do not redefine accepted contract semantics as implementation findings.
- Task completion requires its declared verification gate.
- Required verification layers come from the approved design; no agent may downgrade, skip, or widen them locally.
- A required layer that is FAIL, BLOCKED, skipped, or unevidenced blocks completion; BLOCKED is never reported as PASS.
- Objective findings close by deterministic re-verification; do not require another LLM opinion.
- Semantic or architectural findings may receive targeted re-review. After two unsuccessful fix/re-review cycles for the same finding, escalate instead of looping.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

