Skip to content
Development
Skill

/swarm-design

System design phase — architecture, tech-stack options, module boundaries, data model, and ADRs from a validated SRS. Use after requirements are validated, when choosing a tech stack, designing system structure/APIs/data models, or recording an architecture decision.

From plugin
swarmvault
615 skills

Claude Code

$ npx -y skills add AnmarHani/SwarmVault --skill swarm-design --agent claude-code

SKILL.md

swarm-design.SKILL.md
name: swarm-design
description: System design phase — architecture, tech-stack options, module boundaries, data model, and ADRs from a validated SRS. Use after requirements are validated, when choosing a tech stack, designing system structure/APIs/data models, or recording an architecture decision.

swarm-design — system design phase

**Gate:** requires a validated SRS (else route back to swarm-spec). Read the SRS and feature specs first; the design must answer them, not your habits.

**Lane:** this is the standard, agent-driven lane — you propose, the user validates. If the user wants to *own* the system rather than receive it (deep design, pseudocode, algorithm-level planning, "developer mode"), hand the phase to **swarm-design-deep** instead; the two replace each other and never run together.

Produce, in order

1. **Tech stack** — options with trade-offs *measured against the NFRs* (not fashion), recommendation first; the user decides. Significant picks become ADRs. 2. **Decomposition** — modules/services with single responsibilities, boundaries, and data flow. Prefer deep modules behind simple interfaces. Mermaid diagrams for the system view and any non-obvious flow. 3. **Data model & contracts** — entities, relationships, API contracts where relevant. 4. **Cross-cutting strategy** — error handling, logging, testing approach fit for the stack. 5. **Milestone boundaries** — group FRs into build milestones; these become swarm-implement's ticket batches.

Rules

  • **Traceability table required:** every Must-FR ↦ component; every NFR ↦ one line on how

the design satisfies it. Nothing silently dropped.

  • **Options with recommendation** for anything that meaningfully affects cost, lock-in,

or complexity — never decide those silently (mode: in auto, only stack-level choices already delegated by the user proceed without asking; queue the rest).

  • **Simplicity doctrine:** every moving part justifies itself; prefer known patterns

(refactoring.guru names) over invention; when two designs both satisfy the NFRs, ship the smaller one.

  • Each significant decision → `50 Decisions/<P>/ADR-NNN-<slug>.md` (template:

`90 Templates/decision.md`): context, options, decision, consequences, FR/NFR links.

Output & gate

`docs/design.md` (human lane) + ADRs, mirrored to the vault by sync. End with the user validation gate (gated mode) or a self-check against the traceability table (auto mode); update flow-state to `phase: design-ui` (if the SRS declares an interface) or `phase: tickets`.

--- *Influences: Jeffallan's architecture-designer & api-designer; Pocock's codebase-design & domain-modeling; refactoring.guru; Nygard ADRs — see CREDITS.md.*

Read more
@anmarhani
Ships withswarmvault

Your AI agents don't synchronise. SwarmVault does. One shared memory for Claude Code, Codex, and any other CLI agent. Real software engineering: requirements → design → tickets → review. 14 skills, the best of everything combined.

Stars on GitHub

Momentum

stars in total
6
Star history of AnmarHani/SwarmVault on GitHub, a chart by star-history.com

Other skills on swarmvault.

swarm-debug

swarm-debug

Systematic debugging — evidence before hypotheses, hypotheses before fixes, root cause before patches, and the diagnosis saved to…

swarm-design-deep

swarm-design-deep

The developer-driven design lane — the user commits to each approach before anything is written, then the design goes to…

swarm-design-ui

swarm-design-ui

UI/UX design phase — propose an intentional design system (pattern, brand, color, typography, spacing, atomic components) with…

swarm-eject

swarm-eject

Disconnect a project from SwarmVault and choose what happens to its knowledge — keep it, export it into the repo, or delete it.…

swarm-flow

swarm-flow

The SDLC router — figures out where a project stands and runs the right phase. Use at the START of any work in a SwarmVault…

swarm-implement

swarm-implement

Implementation phase — turn a validated design into dependency-ordered tickets, then work them as one of N parallel agents with…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about swarm-design.

Which coding agents can use swarm-design?
swarm-design installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.