/garage:ui-designfrom garage
Turns specs, briefs, or panel analyses into buildable UI/UX design artifacts including wireframes, layouts, component specs, design tokens, and design systems for web, Flutter, React Native, or AngularJS.
Ships in garage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Delegation, model labels, and task tracking below use Claude Code notation. In Codex or another client, follow
../../references/cross-client.md.
Turns a spec, panel analysis, or brief into buildable design artifacts in design/ for the FE
agent in spec-to-impl.
prd, design-doc, user-flow (user journeys), flow-map (system paths); reads their handoffs.spec-to-impl (FE) and verify-impl (selector registry).ux-review.| Request | Run |
|---|---|
| Spec or "design this screen / feature" | Setup, then phases 1 to 4, then handoff |
No spec, or --brief | Brief (section 8) first |
"Design system", "style guide", "tokens", --design-system, --tokens-only | Design system (section 9) |
| "Design this component" | Component design (section 10) |
"Review / critique this design", --review | Design review (section 11) |
"Dark mode", "responsive", --dark-mode | Variants (section 12) |
"Handoff", "ready for dev", --handoff | Developer handoff (section 13) |
| "Revise SCR-001" | Revision (section 14) |
Other flags: --no-wireframes, --no-a11y (record the skip as an open risk), --mobile-first
(375px primary), --platform react|flutter|react-native|angular (default react),
--output-dir <dir> (default design/), --stitch, --figma <url|key>, --design-md <path>,
--manual (force a design source).
ls -t claudedocs/handoff-*.yaml 2>/dev/null | head -5. Use prd,
design-doc, user-flow, and flow-map outputs to pre-fill context and skip their questions.DESIGN.md, else manual. Read references/design-tool-integration.md when the source is not
manual.find . \( -path '*/components/*' -name '*.tsx' -o -path '*/widgets/*' -name '*.dart' \) -not -path '*/node_modules/*' | head -30
find . \( -name 'tailwind.config*' -o -name 'theme.*' -o -name 'tokens.*' -o -name 'colors.dart' \) -not -path '*/node_modules/*' | head -10
If one exists, extend it: its token names, components, breakpoints, and libraries win. A new
Button, Modal, Input, Avatar, Badge, Card, or Toast next to an existing one is a blocker.references/platform-patterns.md when the target is not
plain React web, or when choosing state, styling, accessibility APIs, or test locators.| Role | Model | Owns | Persona and rules |
|---|---|---|---|
UX_LEAD | opus | Inventory, IA, flows, ambiguities, final synthesis | references/ux-lead.md |
UI_DESIGNER | sonnet | Wireframes, state frames, visual spec, tokens | references/ui-designer-comp-arch-a11y-copy.md |
COPY | haiku | All UI strings | same file |
COMP_ARCH | opus | Component tree, props, state, selector registry | same file |
A11Y | sonnet | Contrast, non-color cues, keyboard, focus, motion | same file |
Roles are lenses, not a requirement to fan out. For small scope (one screen, one component, tokens only, a revision) run the roles inline in one pass, reading only the persona files you need. Fan out only for multi-screen or multi-panel work, and only where the client supports subagents:
UX_LEAD alone (everything else depends on its inventory).UI_DESIGNER and COPY in parallel (COPY may run with run_in_background: true).COMP_ARCH and A11Y in parallel.UX_LEAD synthesizes and resolves conflicts.Track one task per phase when the run spans several screens.
Produce design/ux/ux-inventory.md, design/ux/ia-map.md, and design/ux/flows.md:
SCR-001 <name> entry: <...> goal: <...> data: <...> actions: <...> exits: <...>
states: empty | loading | populated | error | success | stale | readonly
FLOW-001 <name> actor: <role> SCR-001 -> (action) -> SCR-002 errors: <...> edge: <...>
FIELDS screen | field | type | validation | required
[UX-AMB-001] <question needing a product decision>
Gate: surface ambiguities before designing. Resolve critical ones (navigation model, primary CTA, auth gate, money semantics) with the user first.
Follow references/design-tool-integration.md for the detected source. Stitch generates screens
from the inventory; Figma supplies structure, variables, and components; DESIGN.md supplies the
token base. Generated output covers only the happy path and has no accessibility, so phases 2 to 4
always run. Report what was generated or imported (screens, tokens, Stitch project and screen
IDs) before continuing.
references/token-schema-and-wireframe-notation.md.design/visual-spec/tokens.md using the schema in the same reference:
semantic color roles with light and dark values, type, spacing, radius, elevation, motion.design/copy/copy-spec.md: titles, labels, hints, errors, empty and success
states, button labels.Design rules that apply everywhere:
--color-error-text, never --color-red); no raw values in specs.references/igaming-design-patterns.md before designing odds, live,
bet slip, wallet, casino, or responsible-gambling surfaces.COMP_ARCH, in design/components/:
component-tree.md: pages, feature components (list, item, skeleton, empty state, form,
detail), shared UI, hooks or providers, following the project's structure.component-specs.md: one card per component from assets/component-spec.md, starting with
"reused from existing".state-model.md: server and client state per feature, using the project's libraries.testid-registry.md: the selector registry. Read references/ui-selector-conventions.md:
role plus accessible name or label first; a test ID only as a justified fallback with its reason.A11Y, in design/a11y/a11y-spec.md, against WCAG 2.2 AA (references/accessibility-standards.md):
contrast per pair per theme, non-color cues, keyboard spec, roles and names, live regions, focus
management, reduced motion, target sizes, and an issues list HIGH, MEDIUM, LOW with fixes. HIGH
issues are listed as open in the handoff.
--brief)Ask once, all together, only for what is missing: product and use case, primary user and context, the one primary action, platform, existing design system or brand, references, visual tone, hard constraints (stack, accessibility, RTL, regulation). Confirm the brief, then run Phase 1.
--design-system, --tokens-only)Read references/design-system-agent.md and fill assets/design-system-spec.md (and
assets/style-guide.md for a one-page version). --tokens-only produces just
design/visual-spec/tokens.md. Output: design/design-system-spec.md.
Read references/component-design-agent.md: brief, variant matrix, Component Card, per-state
interaction, edge cases.
--review)Read references/design-review-agent.md and fill assets/design-review-report.md into
design/design-review-report.md. Lenses: hierarchy, consistency, typography, color and contrast,
spacing and layout, states, interaction and motion. Every finding cites the artifact and gives a
fix. A clean review is a valid result.
--handoff)Fill assets/developer-handoff.md into design/developer-handoff.md, alongside the handoff YAML.
Re-run only the affected roles, update the affected files, and follow cascades (a color token
change re-runs contrast; a renamed control updates the selector registry and the tests in
e2e/test-plan.yaml). Report what changed and what downstream artifacts need updating.
After a full run, write design/DESIGN.md (format in references/design-tool-integration.md).
Summarize for the user: screens, components, selectors, design source, files for the FE agent in
reading order (tokens, component tree, component specs, copy spec, wireframes, Stitch screens if
any, DESIGN.md), the selector registry for verify-impl, Stitch IDs if any, and open HIGH
issues. Then write the manifest:
# claudedocs/handoff-ui-design-<timestamp>.yaml
source_skill: "ui-design"
design_source: "<stitch | figma | design-md | manual>"
artifacts:
- path: "design/components/component-tree.md"
type: "component-tree"
- path: "design/components/testid-registry.md"
type: "testid-registry"
- path: "design/visual-spec/tokens.md"
type: "design-tokens"
- path: "design/a11y/a11y-spec.md"
type: "a11y-spec"
- path: "design/DESIGN.md"
type: "design-md"
note: "Portable design system spec -- importable by Stitch and other tools"
- path: "design/stitch-screens/"
type: "stitch-screen-specs"
note: "Screen structure from get_screen() (Stitch mode only)"
conditional: "only if design_source == stitch"
stitch: # present only when design_source == stitch
project_id: "<Stitch project ID>"
design_system_id: "<Stitch design system asset ID>"
screens:
- screen_id: "<Stitch screen ID>"
instance_id: "<Stitch screen instance ID>"
ref: "SCR-XXX"
resource_name: "projects/{p}/screens/{s}"
quality_assessment: "Complete, <n> a11y issues to resolve"
suggested_next:
- skill: "spec-to-impl"
context: "Design artifacts ready. <n> components, <n> selectors. Stitch project <id> if any."
- skill: "figma:figma-generate-design"
context: "<n> screens with wireframes, <n> tokens, <n> components in design/."
- skill: "verify-impl"
context: "testid-registry.md lists <n> elements with role/label locators and justified test IDs."
Output tree under design/: ux/ (ia-map, flows, ux-inventory), wireframes/ (SCR-XXX.md, Figma
PNGs), visual-spec/ (tokens, visual-spec), copy/copy-spec.md, components/ (component-tree,
component-specs, state-model, testid-registry), stitch-screens/ (Stitch only), a11y/a11y-spec.md,
DESIGN.md.
produces:
- type: ui-design
format: markdown
path: "design/"
sections: [ux_inventory, ia_map, wireframes, tokens, visual_spec, copy, components, testids, a11y]
- type: testid-registry
format: markdown
path: "design/components/testid-registry.md"
consumed_by: "verify-impl"
- type: design-tokens
format: markdown
path: "design/visual-spec/tokens.md"
consumed_by: "spec-to-impl FE agent"
- type: design-md
format: markdown
path: "design/DESIGN.md"
consumed_by: "spec-to-impl FE agent, other design tools"
- type: stitch-screen-specs
format: markdown
path: "design/stitch-screens/"
consumed_by: "spec-to-impl FE agent (as reference, not scaffolding)"
conditional: "only when design_source == stitch"
- type: stitch-reference
format: yaml
path: "embedded in handoff YAML (stitch block)"
consumed_by: "spec-to-impl FE agent, verify-impl"
conditional: "only when design_source == stitch"
note: "project_id, design_system_id, screen_ids for live Stitch API queries"
- type: design-system-spec
format: markdown
path: "design/design-system-spec.md"
consumed_by: "spec-to-impl FE agent, figma:figma-implement-design"
conditional: "only when --design-system or Phase 4.5 runs"
- type: design-review-report
format: markdown
path: "design/design-review-report.md"
consumed_by: "spec-to-impl, finalize"
conditional: "only when --review or Phase 6 runs"
- type: developer-handoff
format: markdown
path: "design/developer-handoff.md"
consumed_by: "spec-to-impl FE agent, figma:figma-implement-design"
conditional: "only when --handoff or Phase 8 runs"
assets/component-spec.md (opens in a new tab)assets/design-review-report.md (opens in a new tab)assets/design-system-spec.md (opens in a new tab)assets/developer-handoff.md (opens in a new tab)assets/style-guide.md (opens in a new tab)references/accessibility-standards.md (opens in a new tab)references/component-design-agent.md (opens in a new tab)references/design-review-agent.md (opens in a new tab)references/design-system-agent.md (opens in a new tab)references/design-tool-integration.md (opens in a new tab)references/igaming-design-patterns.md (opens in a new tab)references/platform-patterns.md (opens in a new tab)references/token-schema-and-wireframe-notation.md (opens in a new tab)references/ui-designer-comp-arch-a11y-copy.md (opens in a new tab)references/ui-selector-conventions.md (opens in a new tab)references/ux-lead.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ui-design, ux-design, wireframes, design-tokens, design-system, component-specs
npx claudepluginhub omexit/claude-skills-pack --plugin garage48 skills in this plugin
/adrUse when the user wants to record an architecture decision, write an ADR or decision record, or explain why a technology, data model, boundary, or pattern was chosen over alternatives./api-designUse when the user is designing, reviewing, or changing an API contract (REST, GraphQL, or RPC): endpoint shape, naming, errors, versioning, pagination, or developer experience, before or apart from implementing it./api-firstUse when the user wants to scaffold or implement a REST endpoint or resource in a Spring Boot project, especially from an OpenAPI snippet or spec: create endpoint, add API, add CRUD, generate controller, or implement POST/GET/PUT/PATCH/DELETE on a resource.Other plugins' skills for the same job