architecture-design
Skill1 starsChanged 3 months agoMITView on GitHub
Draft `architecture.md` in the Spec sitting — six sections recapping the structure the decisions imply, every acceptance scenario traced to a path, then graded code-cold. Run it when a feature adds a component, an edge, or new load. Signatures, field lists and module internals stay with `api-design` and `codebase-design`.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- Douglasst102/AgentSkillstheir own version, first seen Sep 28, 2026
- hemapriyan-rk/claude-rigor-skillstheir own version, first seen Sep 26, 2026
- moezRebai/Skillstheir own version, first seen Sep 22, 2026
- ZXT-wudi/architecture-designtheir own version, first seen Sep 19, 2026
- RealDougEubanks/ClaudeMarketplacetheir own version, first seen Sep 10, 2026
- lx-wnk/skillstheir own version, first seen Jul 13, 2026
Used with
Projects with it also use database-design, ui-ux-pro-max and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CloudAI-XSkilldatabase-design
Designs database schemas, indexing strategies, query optimization, and migration patterns for SQL and NoSQL databases. Use when designing tables, optimizing queries, fixing N+1 problems, planning migrations, or when asked about database performance, normalization, ORMs, or data modeling.
Also in 8 projects that use this
StrayDragonSkillui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Also in 3 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- Galaxy-Dawn/claude-scholar★ 5.7ksame name
- shawnpang/startup-founder-skills★ 337same name
- thomast1906/github-copilot-agent-skills★ 202same name
- GenerativeAgents/claude-code-book-chapter8★ 119same name
- kumaran-is/claude-code-onboarding★ 36same name
- DauQuangThanh/hanoi-rainbow★ 17same name
- ishandutta2007/Awesome-Claude-Skills★ 15same name
- 05-deepak-patidar/claude-skills★ 4same name
- Douglasst102/AgentSkills★ 4same name
- kayaman/skills★ 2same name
12 more not listed
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 repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- acceptance-criteriaSkill
- api-designSkill
- browser-testing-with-devtoolsSkill
- ci-cdSkill
- codebase-designSkill
- codebase-researchSkill
- code-reviewSkill
- code-simplificationSkill
- comprehension-quizSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- environment-manifestSkill
- gauntlet-loopSkill
- git-workflowSkill
- handoffSkill
- idea-refineSkill
- incremental-implementationSkill
- interview-meSkill
- literate-explainerSkill
- observability-and-instrumentationSkill
- orchestratorSkill
- performance-optimizationSkill
- plan-breakdownSkill
- preflight-readinessSkill
- project-setupSkill
- pull-requestSkill
- quality-verificationSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- spec-grillingSkill
- spec-reviewSkill
- test-driven-developmentSkill
- to-prdSkill
- using-agent-skillsSkill
- worktreeSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Not this: one hard-to-reverse decision written up alone — documentation-and-adrs.
- Very specific: line 25
Not this: signatures, field lists, endpoint shapes, a module's internals, slices or the DAG — api-design, codebase-design, plan-breakdown, …
- Very specific: line 49
Read references/section-contract.md before writing a row: it carries the columns and the per-section gotchas.
- Very specific: line 78
Measure and report: Run wc -w against the 2,000-word cap.
“Common” is measured: kept by at least 6 in 10 of the 18 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
Architecture design
Purpose
Stage: Spec. Principles 1, 3, 6, 8.
The sitting decides the structure; this writes it down. architecture.md recaps those decisions in six
sections, every row citing where its fact was settled and every acceptance scenario traced to a path
through the components; a code-cold pass then grades it, and what that finds becomes a §6 question
rather than an edit.
When to use / when to skip
- A feature adds a component, adds an edge between parts that already exist, or changes the load the system carries.
- Someone is about to cut slices against a structure nobody wrote down.
- Inside the sitting, beside
to-prd,acceptance-criteriaandenvironment-manifest— one signature covers the drafts together, so a scenario cannot move between the trace and the signature. - Not this: one hard-to-reverse decision written up alone —
documentation-and-adrs. - Not this: signatures, field lists, endpoint shapes, a module's internals, slices or the DAG —
api-design,codebase-design,plan-breakdown, all landing inplan.md.
Inputs
Under docs/features/<slug>/ unless said otherwise:
acceptance.md, draft or signed — helps: one traced path per scenario id · without it: trace whatprd.mdandintent.mdpromise and id them yourself,derivedresearch.md— helps: §2's edges are what the code does today · without it: read the entry points and imports,derivedprd.md— helps: §1's functional rows and the scope · without it: take scope fromintent.mdor the prompt,derivedenvironment.md— helps: §1's stack constraints · without it: read the manifest and lockfile,deriveddocs/adr/andCONTEXT.md— helps: each row cites its record, terms verbatim from the glossary · without it: cite the artifact that settled the fact ordefault — not contested, coin no term the codebase lacks
A present person is worth at most three questions, and only where the answer changes the shape — a target, a layer order, a posture that costs money.
The pass
Read references/section-contract.md before writing a row: it carries
the columns and the per-section gotchas.
- Take the layer order, or record that there is none. Where an ADR declares one, cite it per edge
row and make an edge outside it a §6 question rather than a line quietly added. Where none does —
most repositories — write
layer order: not decidedin those words, fill the edge table fromresearch.md, and propose nothing, tier numbering included. - Write the header block, then the six sections in order, every row carrying provenance — a §5 id,
a resolving
ADR-NNN, a named artifact, ordefault — not contested. An empty cell means nobody was asked, so it becomes a §6 row rather than one filled from judgement. Nothing pins a signature, field list, schema, wire format or line number: that settles during Spec what the person signing cannot check. - Write
not statedfor a target nobody stated, and do the arithmetic without picking the posture. Show each load estimate's multiplication, its inputs cited to §1; for the scaling direction, the replica and the accepted downtime, cite a record or writenot decidedwith a §6 row behind it. - Trace every scenario into §2's data flow, one row per
acceptance.mdid. A scenario with no path is a behaviour nothing was designed to handle; both files are drafts, so hand it toacceptance-criteriaonce and let whatever survives become a §6 row. - Grade what you wrote with a code-cold pass. Dispatch
codebase-designandapi-designas fresh subagents in one message (safety-rails.md), each givenarchitecture.mdandresearch.md— not the conversation that produced the structure, not your reasoning — and running the checks inreferences/lens-passes.md, which also carries the shape a finding takes. Merge what returns into §6's second heading, drop anything §5 already cites, and apply nothing to §2, §3 or §4. That heading gets written with_none_under it where both found nothing. - Measure and report. Run
wc -wagainst the 2,000-word cap. Over cap, cut prose and never rows; where the tables alone breach it, say so in §6 and stay over. - Leave
status: draft.spec-reviewfixes the bundle in place, code-cold; the person signs once over the whole bundle, and nothing an agent does flips that line.
Rationalizations
| The excuse | The reality |
| "Nobody stated a latency target, so §1 gets a sensible one." | The person signs a promise they never made, and it reads exactly like one they did. |
| "The load estimate obviously implies one box, so §4 can say so." | The arithmetic is yours; the posture spends money, so it is theirs. |
| "I wrote §2 carefully, so grading it myself is the same thing." | You chose those components, so you cannot see what you were already not seeing. |
| "This depth finding is plainly right, so §2 can absorb it." | The §6 row already carries the recommended answer; applying it decides for them. |
Red flags
- A latency, availability or cost figure in §1 that no artifact states.
- Tier numbering or
subgraphlayering in §2 that no ADR decided. - A scenario id with no data-flow row, or a row naming an id
acceptance.mdlacks. - A §3 row carrying a column list, a signature or a wire format.
- §2, §3 or §4 edited after the sweeps returned.
- §6 empty, or missing the sweeps' heading.
Verification
- The header block and the six headings match the shape in Outputs & handoff,
status:stilldraft. - The scenario ids in
acceptance.mdand §2's data flow were extracted from both and compared as sets, and the two sets are equal. - Every row carries provenance; each cell that would have been empty left a §6 row.
- The Mermaid arrows and the edge-table rows were compared as sets and match.
- Every
not statedcell has a matching §6 row (grepped, not read). - §1 has all four non-functional dimensions; §3 all five topics,
_n/a — <why>_where there is nothing of that kind. - Nothing pins a signature, field list, schema, wire format or line number.
- §6 opens with its required line and carries both headings, the second
_none_if the sweeps found nothing. - Every value reconstructed from a missing input is marked
derivedwhere it stands. wc -wwas run and its number reported against the cap.
Outputs & handoff
docs/features/<slug>/architecture.md — cap 2,000 words, measured with wc -w and reported as over
where it is. Nothing else: the sweeps return findings only, and acceptance.md, prd.md and the rest of
the bundle stay untouched, since a structure that will not fit is a §6 row rather than a reason to reword
the contract. No board row either; plan-breakdown opens the feature's block
(state-schema.md).
A fenced header block, then six stable headings:
feature: <slug>
status: draft
reads: acceptance.md · research.md · prd.md · environment.md · docs/adr/## 1. Requirements · ## 2. High-level design · ## 3. Deep dive · ## 4. Scale and reliability ·
## 5. Trade-offs · ## 6. Open questions for the human. What each holds and its columns:
references/section-contract.md.
Returned in conversation: the path, the word count against the cap, the §6 count, and that the sweeps
ran code-cold. Read next by spec-review, then the person who signs, then plan-breakdown.
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.

