swarm-debug
Systematic debugging — evidence before hypotheses, hypotheses before fixes, root cause before patches, and the diagnosis saved to the vault. Use for any real…
UI/UX design phase — propose an intentional design system (pattern, brand, color, typography, spacing, atomic components) with the user, offering distinct directions and per-page layout options, for any interface type: Web, Mobile, Desktop, TUI, or CLI. Use when the SRS declares
$ npx -y skills add AnmarHani/SwarmVault --skill swarm-design-ui --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/swarm-design-uiContext preview
The summary Claude sees to decide when to auto-load this skill.
UI/UX design phase — propose an intentional design system (pattern, brand, color, typography, spacing, atomic components) with the user, offering distinct directions and per-page layout options, for any interface type: Web, Mobile, Desktop, TUI, or CLI. Use when the SRS declares
name: swarm-design-ui description: UI/UX design phase — propose an intentional design system (pattern, brand, color, typography, spacing, atomic components) with the user, offering distinct directions and per-page layout options, for any interface type: Web, Mobile, Desktop, TUI, or CLI. Use when the SRS declares a user interface, when defining a design system or visual identity, choosing layouts, or reviewing UI work against UX laws.
**Gate:** validated SRS declaring a user interface. Runs alongside swarm-design. The goal is intentional, consistent design decided *with* the user — not templated defaults.
**Load only what you need** (token economy): the per-interface reference for the type at hand (`references/web.md`, `references/mobile.md`, `references/desktop.md`, `references/tui-cli.md`), and — for graphical UIs — `references/style-menu.md`, the on-demand catalog of product categories, style families, layout patterns, and design resources (checklist.design, UX laws, color/type/psychology tools).
Audience and context of use; brand personality; platform conventions to honor; accessibility requirements; existing brand assets. Keep it light and options-first — the point is to understand the product, not to quiz.
Don't jump to one look. Using the product's category and personality (see `references/style-menu.md` for the vocabulary), synthesize a **recommended design system** and at least **one distinct alternative** — e.g. "clinical precision" vs "warm craft" — so the user chooses with something concrete in front of them. Present each as a compact panel:
DESIGN SYSTEM — <recommended | alternative> Pattern/layout : <e.g. Hero-centric + social proof> why: <conversion/trust rationale> Style : <e.g. Soft UI evolution> best for: <fit> Colors : primary / surface / accent / semantic / bg / text (WCAG-AA checked) Typography : <display / body pairing> mood: <…> Effects : <shadows, motion timing, hover> Avoid : <anti-patterns for this domain — see style-menu>
The style/category menu is a **guide, not a cage**: if the product's needs point elsewhere, design for them. Resolve the picked direction into the tokens below.
Everything as **tokens and scales**, never per-screen ad-hoc values:
1. **Color** — palette with roles (background/surface/primary/accent/semantic), light + dark, WCAG-AA contrast checked. 2. **Typography** — 1–2 families, a modular size scale, line-height and weight rules. 3. **Spacing & box model** — one spacing scale (e.g. 4px base), consistent margin/border/padding discipline, grid + auto-layout container rules. 4. **Atomic inventory** — atoms → components → templates → pages; every screen implied by an FR appears here, traced to its FR-ID. Use the *correct component names* ([namethatui.com](https://namethatui.com) is the dictionary): "drawer", "segmented control", "combobox" — not "that sliding panel". Precise names in specs and tickets mean every agent builds the same thing; resolve vague descriptions to the proper name and confirm. 5. **Per-page layout** — for each key screen, offer a couple of layout options (`references/style-menu.md` lists landing-page and dashboard patterns) and record the choice with its rationale, not just a single default. 6. **Responsive rules** — breakpoints, and a genuinely distinct mobile design where the SRS calls for mobile (not a shrunken desktop). 7. **Motion & interaction** — states (hover/focus/active/disabled/loading/error), timing. 8. **Voice** — the design system is half the identity; how the product *sounds* is the other half. Every string in the inventory (labels, errors, empty states, tooltips, onboarding) goes through **swarm-write**, against the project's `voice.md`. Copy is interface, not decoration applied afterwards.
Fitts (targets big and near) · Hick (fewer choices at decision points) · Jakob (follow platform conventions) · Miller (chunk information) · proximity/common-region (group related things) · Doherty (feedback < 400 ms) · error prevention over error messages. Run the pre-delivery checklist in `references/style-menu.md` before calling UI work done.
targets, reduced-motion.
codes, and error style ARE the design (see `references/tui-cli.md`).
--- *Influences: Laws of UX (Yablonski); Atomic Design (Frost); roadmap.sh/design-system; checklist.design; Figma typography guide; NameThatUI (component vocabulary); Anthropic frontend-design skill — see CREDITS.md.*
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.
Systematic debugging — evidence before hypotheses, hypotheses before fixes, root cause before patches, and the diagnosis saved to the vault. Use for any real…
The developer-driven design lane — the user commits to each approach before anything is written, then the design goes to pseudocode, algorithms, invariants,…
System design phase — architecture, tech-stack options, module boundaries, data model, and ADRs from a validated SRS. Use after requirements are validated,…
Disconnect a project from SwarmVault and choose what happens to its knowledge — keep it, export it into the repo, or delete it. Use when the user wants to stop…
The SDLC router — figures out where a project stands and runs the right phase. Use at the START of any work in a SwarmVault project: continuing/resuming a…
Implementation phase — turn a validated design into dependency-ordered tickets, then work them as one of N parallel agents with atomic claims, model tiering,…