design-first
Skill1 starsChanged 13 days agoMITView on GitHub
Facilitate design before code through progressive disclosure: climb from context to components to interactions to contracts, asking questions and stopping for approval at each level instead of emitting a finished design. Covers the four-level ladder, depth calibration, approval gates, and how to record the result as a durable blueprint. Use before implementing a new service, endpoint, event, or integration, and when the user says 'design', 'blueprint', 'how should we build', 'spec this out', or 'think before coding'. This skill governs the facilitation process — the design content itself belongs to service-boundaries, api-contracts, domain-modelling, and resilience-patterns.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- ainurdev/mystical-assistanttheir own version, first seen Nov 27, 2026
- getsentry/sentry-react-nativetheir own version, first seen Nov 24, 2026
- getsentry/sentry-darttheir own version, first seen Nov 24, 2026
- arumaekawa/codex-skillstheir own version, first seen Oct 25, 2026
- techygarg/latticetheir own version, first seen Oct 13, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- getsentry/sentry-react-native★ 1.8ksame name
- getsentry/sentry-dart★ 877same name
- techygarg/lattice★ 218same name
- ainurdev/mystical-assistant★ 8same name
- arumaekawa/codex-skills★ 4same 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.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-contractsSkill
- api-protocolsSkill
- clean-architectureSkill
- collaborative-judgmentSkill
- config-and-dependenciesSkill
- contract-testingSkill
- cqrs-and-consistencySkill
- data-accessSkill
- design-serviceSkill
- domain-modellingSkill
- idempotency-and-immutabilitySkill
- implement-serviceSkill
- infrastructure-adaptersSkill
- refactor-safelySkill
- resilience-patternsSkill
- review-serviceSkill
- secure-serviceSkill
- service-boundariesSkill
- stack-profileSkill
- test-strategySkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
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 19
Read .msskills/config.yaml in the repo root.
- Very specific: line 26
No config file or no paths.design key → use defaults.
- Distinctive: line 69
All checks pass → present the level, then stop and wait.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design First — Progressive Design Facilitation
The failure mode this prevents is not "no design". It is the agent producing a confident, complete, plausible design in one shot — which the user skims, approves, and discovers is wrong after the code exists. A design nobody was forced to think about is worse than no design, because it carries authority it did not earn.
Progressive facilitation fixes this by climbing one level at a time, asking rather than asserting, and refusing to descend to the next level until the current one is agreed.
Config Resolution
- Read
.msskills/config.yamlin the repo root; look uppaths.design. - A custom document exists at that path → read its frontmatter
mode:override→ use it alone as the design process; ignore the defaults below.overlay(default, or nomodekey) → read defaults first, then apply the custom document's sections on top, matched by exact heading; new sections append.
- A path is configured but no file exists there → say which path is missing, then use the embedded defaults.
- No config file or no
paths.designkey → use defaults. .msskills/stack.mdexists → phrase every question in that stack's vocabulary. Do not ask a Go team about Spring profiles.
The four levels
Each level answers one question and produces one artefact. See defaults for the question banks and the blueprint template.
| Level | Question | Produces | Gate |
| L1 Context | What problem, for whom, inside which boundary? | Purpose, actors, in/out of scope, the bounded context it belongs to, constraints, how we will know it worked | User confirms the problem is stated correctly |
| L2 Components | What parts exist and who owns what data? | Component list with responsibilities, layer placement, data ownership, what is reused versus new | User confirms the shape and the ownership |
| L3 Interactions | How do the parts talk, and what happens when that fails? | Call and event flows, sync/async per hop, consistency model, failure behaviour per hop | User confirms the flows and the failure story |
| L4 Contracts | What exactly crosses each boundary? | API and event schemas, error responses, idempotency, validation rules, test obligations | User approves — this is the implementation gate |
Climb in order. L3 cannot be answered before the components exist; L4 cannot be answered before the interactions do. Jumping to L4 because the user asked for "the API" produces a schema for a service whose boundary nobody agreed on.
Self-Validation Checklist
STOP at the end of each level. Verify every check before proposing to descend.
- ONE LEVEL: Does this message address exactly one level? Content from the next level → remove it and hold it for that level.
- QUESTIONS OVER ASSERTIONS: Are the open points asked, or asserted? Anything you inferred about the domain, the users, or the constraints → turn it into a question or flag it as an explicit assumption.
- UNKNOWNS NAMED: Have you listed what you still do not know at this level? Silence about a gap reads as certainty.
- GROUNDED: Does every statement reference something real — an existing service, table, endpoint, or a constraint the user gave? Unsourced detail is invention → go read the code or ask.
- DECISIONS SURFACED: Has every genuine trade-off at this level been routed through
collaborative-judgmentrather than settled inside the prose? - RECORDED: Is the level's outcome written into the blueprint document, including the rejected options and why?
- GATE STATED: Have you explicitly asked to proceed, and named what the next level will decide? "Shall I continue?" is not a gate; "Shall I move to L3, where we settle sync versus async for the payment hop?" is.
- NO CODE: Have you written implementation code? Interfaces, schemas, and signatures are L4 artefacts; bodies are not. Delete them.
All checks pass → present the level, then stop and wait.
Active Anti-Pattern Scan
Any box you can check is a defect. Fix it before presenting.
- Big-Bang Blueprint: all four levels delivered in one message → split; present L1 and stop.
- Confident Invention: entities, rules, or volumes stated as fact that came from nowhere → mark as assumption or ask.
- Rhetorical Questions: questions asked and then answered in the same breath → ask, then stop.
- Design as Menu: a list of every possible approach with no position → recommend one and
say why, per
collaborative-judgment. - Premature Contracts: field-level schemas at L1 or L2 → defer to L4.
- Skipped Failure Story: L3 flows with only the happy path → every hop needs its timeout,
retry, and failure behaviour, per
resilience-patterns. - Boundary Assumed: a new service proposed without asking whether it belongs in an existing
one → route through
service-boundariesfirst. - Ceremony Mismatch: four full levels for a one-endpoint change → calibrate depth (see below).
- Orphan Design: the blueprint is never written to disk, so implementation cannot reference it → write it as you go, not at the end.
- Approval Assumed: descending because the user said "ok" to something else → each gate is explicit.
Ambiguity Signals
Route these through collaborative-judgment rather than deciding alone.
- How deep to climb. A new bounded context earns all four levels. A field added to an existing endpoint earns L4 alone. Most work sits between; propose a depth at the start and let the user cut it. Depth is the user's call, not yours.
- When the design contradicts existing code. The blueprint says one thing, the repository does another. Both "the code is stale" and "the design is wrong" are plausible — present the conflict rather than quietly following either.
- Unknowable answers. Some questions ("what will peak load be?") cannot be answered before launch. The choice between designing for the guess and designing to defer is a real trade-off.
- Requirements that change mid-climb. Restarting from L1 is expensive; patching L3 around a changed L1 produces incoherence. Say which levels the change invalidates and let the user choose.
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.

