Skip to content
Skills Library
Programming · Planning

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.

Repository
skills ↗
Licence
MIT
Last repository change
12.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

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

  1. Invariant rules
  2. Routes
Original SKILL.md headings · 23 lines, 179 words
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

RepositoryScoreLicence
This page · afonsoalrocha/skills90MIT
etr/groundwork100MIT
dlwlgus9125/ezpowers85MIT

Database snapshot: 13.11.2026 · package version 37cc01800de5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

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…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.