reviewing-and-freezing-contracts
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Use when draft shared contracts must become stable implementation authority for multiple independent owners, especially before frontend/backend work proceeds in parallel.
In this repository13 other files it gives its agents.
- accepting-contract-first-featuresSkill
- authoring-executable-contractsSkill
- designing-contract-first-featuresSkill
- developing-contract-first-featuresSkill
- executing-persistent-workstreamsSkill
- managing-contract-revisionsSkill
- planning-contract-workstreamsSkill
- review-agentSkill
- 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
2 rules. About 0 are common, 0 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
REQUIRED SUB-SKILL: Use authoring-executable-contracts for the canonical contract manifest format …
- Very specific: line 29
When blocking findings are resolved, update the manifest entry in .dream/specs/<feature>/contracts/manifest.yaml to mark the contract …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Reviewing and Freezing Contracts
Review draft contracts independently from implementation code.
Review contract
For every contract revision verify:
- Traceability — every scenario maps to approved requirements; every boundary requirement has contract coverage.
- Completeness — success, material failures, auth/caller context, and state-dependent behavior are explicit.
- Consistency — schema, examples, statuses, names, and semantics agree.
- Independence — consumer and provider could implement without reading each other's code.
- Compatibility — assumptions about unknown fields, optionality, defaults, and versioning are explicit.
- Testability — scenarios can become consumer/provider/integration assertions.
Canonical Reference
REQUIRED SUB-SKILL: Use authoring-executable-contracts for the canonical contract manifest format (../authoring-executable-contracts/references/contract-manifest.template.yaml) and scenarios format (../authoring-executable-contracts/references/scenarios.template.yaml).
Findings
Classify findings as contract_defect, requirement_gap, design_gap, or non_blocking_suggestion. Do not resolve a requirement/design ambiguity by silently inventing contract behavior.
When blocking findings are resolved, update the manifest entry in .dream/specs/<feature>/contracts/manifest.yaml to mark the contract FROZEN:
id: ORDER-API
revision: 3
status: FROZEN
requirements: [REQ-CHECKOUT-02, REQ-CHECKOUT-05]
providers: [order-service]
consumers: [storefront-web, payment-service]A frozen revision is immutable during implementation. Later changes create a new revision through managing-contract-revisions; they do not rewrite history.
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.

