contract-designer
Skill8 starsChanged 14 days agoMITView on GitHub
Design the interaction portion of the visual Contract set.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- 0xbadal/Skillstheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- 0xbadal/Skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- development/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- backbone-designerSkill
- control-flow-designerSkill
- deployment-designerSkill
- gui-designerSkill
- module-designerSkill
- stack-designerSkill
- storage-contract-designerSkill
- use-case-designerSkill
- tandemSkill
- backbone-designerSkill
- contract-designerSkill
- control-flow-designerSkill
- deployment-designerSkill
- gui-designerSkill
- module-designerSkill
- stack-designerSkill
- storage-contract-designerSkill
- use-case-designerSkill
- brainstorm-whiteboardSkill
- tandemSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 63
After incorporating any storage-contract method output, persist { contract } through submit_contract_block.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Contract Designer
Explain how the major use cases are implemented between components or external actors. The Contract page is a set of related contracts, not one protocol and not one skill per tab.
Emit exactly contract-set/v1; do not add, remove, rename, or improvise fields:
contract
├─ schemaVersion: "contract-set/v1"
├─ title
├─ context
├─ participants[]: { id, name, responsibility }
├─ interactions[]
│ ├─ id
│ ├─ name
│ ├─ kind: command | query | event | stream
│ ├─ fromParticipantId
│ ├─ toParticipantId
│ ├─ input: { name, description }
│ ├─ output: { name, description }
│ ├─ errors[]: { code, meaning }
│ └─ guarantees[]: { id, statement }
├─ storageContracts[]
│ └─ output from `storage-contract-designer`, or [] when no stored state exists
└─ lifecycleRules[]: { id, statement }Define two to six participants and one to seven important interactions. IDs and error codes are
stable lowercase kebab-case identifiers; labels and descriptions are user-facing. Participant
references use IDs, never names. Use the interaction kind by semantics: command changes state,
query reads state, event announces a fact, and stream carries an ongoing sequence.
Each interaction has exactly one input and output object, zero to three important errors, and one
to three guarantees. Add no more than four material ordering, state, or lifecycle rules. Every Use
case step references an interaction ID. Use compact phrases suitable for a visual protocol map. Do
not hide unresolved choices inside a seemingly final contract. Do not improvise storage fields;
use storage-contract-designer when memory, database, file, object-store, or cache state matters.
Although IDs remain technical and stable, every visible participant name, interaction name, description, error meaning, and guarantee must be understandable to a non-experienced reviewer. Name components by their product role, explain what crosses each boundary in everyday language, and avoid unexplained acronyms or transport-specific jargon.
For a CLI entry interaction, use a compact representative invocation such as
todo-scan <path> [options] as input.name, and a concise visible result such as
report + exit status as output.name. Keep individual flags and parser details in the
description only when they affect a consequential default; do not turn the contract into command
reference documentation.
Attach zero to three Attention items directly to exact visible Contract entities, only for
consequential ambiguity in an external interface, schema, protocol, lifecycle rule, or guarantee.
Each item has id, impact, question, whyItMatters, and two or three
{ option, implication } alternatives.
Technology-engine choices belong to the System submission instead.
After incorporating any storage-contract method output, persist
{ contract } through submit_contract_block. On revision, use the inherited block, including
its embedded Attention, as the baseline and submit only when this perspective changes.
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.

