design-architecture
/design-architecture
Use when deciding the structure of an application or module: domain, glossary, decisions (ADRs), deep modules, stack, and robustness against failures.
- Author
- afonsoalrocha ↗
- Repository
- skills ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when deciding the structure of an application or module: domain, glossary, decisions (ADRs), deep modules, stack, and robustness against failures.
Original author description
Use when deciding the structure of an application or module: domain, glossary, decisions (ADRs), deep modules, stack, and robustness against failures.
How it works
- Invariant rules
- Routes
SKILL.md preview
--- name: design-architecture description: "Use when deciding the structure of an application or module: domain, glossary, decisions (ADRs), deep modules, stack, and robustness against failures." --- # Design the architecture Objective: a structure that is simple, testable, and reversible for what the next slice needs. ## Invariant rules - A modular monolith of deep modules: a small interface, with a lot of behavior behind it. - Business rules live in pure functions at the center. The database, the network, and the interface sit at the edges. Dependencies point inward. - Validate data where it enters. Use types that make invalid states impossible. - Keep the stack simple and cheap until a measurement shows that something is missing. - Limits: CRAP below about 10 per function, and files under 500 lines. - Do not design for future slices. Build only what the next one asks for, and do not close doors. ## Routes | If | Read | |---|---| | naming a concept or recording a hard decision | `references/glossary-and-adrs.md` | | defining modules, interfaces, and where each rule lives | `references/deep-modules.md` | | choosing a stack, database, queue, or infrastructure | `references/simple-stack.md` | | there is external I/O, jobs, payments, or concurrency | `references/robustness.md` |
Files in this package (5)
- SKILL.md 1 KB
- references/deep-modules.md 1 KB
- references/glossary-and-adrs.md 1 KB
- references/robustness.md 1 KB
- references/simple-stack.md 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · afonsoalrocha/skills | 90 | MIT |
| etr/groundwork | 100 | MIT |
| dlwlgus9125/ezpowers | 85 | MIT |
Database snapshot: 13.11.2026 · package version 37cc01800de5 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100decisions
Record architecture decisions as short ADRs in docs/adr/ and keep the project's terms in GLOSSARY.md. Use when a hard-to-reverse choice is made, when terms are ambiguous, or before changing code an ADR covers. - 90design-deep-modules
Judge interface depth — deep modules hide complexity behind small interfaces. Use when designing a module/API, reviewing a class boundary, or reducing complexity. - 100deep-module-design
Design deep modules with small interfaces and rank shallow, pass-through or leaky code for deepening. Use when designing a module interface, improving codebase architecture, or making code easier to test. - 100domain-modeling
Build and sharpen a project's domain model — challenge terms, resolve them into a glossary, and record hard-to-reverse decisions as ADRs. Use when codebase terminology is fuzzy or contested, when writing or editing a glossary, or when recording an architectural decision. - 90boundary-drafter
Use when deciding module boundaries, Clean/Hexagonal/DDD structure, CQRS, deep-module design, or a project's domain glossary and ADRs. Not for local cleanup (safe-refactor-pass), hunting shallow modules to refactor (module-deepener) or enforcing TS package boundaries (ts-type-design). - 90architecture
Design, document, or audit a software project's internal architecture: modules and their boundaries, dependency rules, data ownership, integration contracts, quality attributes, conventions, code structure, and decision records. Depth scales from a one-page compact design for a…