uiux-storybook-architect 2.0.2 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +57 -52
  2. package/bin/cli.js +3 -3
  3. package/package.json +1 -1
  4. package/src/AGENTS.md +37 -28
  5. package/src/SKILL.md +105 -146
  6. package/src/agents/CLAUDE.md +4 -3
  7. package/src/agents/README.md +5 -4
  8. package/src/assets/motion-snippets.css +56 -51
  9. package/src/assets/tokens.template.css +73 -30
  10. package/src/assets/tokens.template.json +14 -7
  11. package/src/commands/ux-audit.md +20 -18
  12. package/src/commands/ux-build.md +31 -29
  13. package/src/commands/ux-copy.md +28 -31
  14. package/src/commands/ux-critique.md +36 -32
  15. package/src/commands/ux-direction.md +36 -58
  16. package/src/commands/ux-discover.md +25 -25
  17. package/src/commands/ux-motion.md +34 -36
  18. package/src/commands/ux-spec.md +34 -35
  19. package/src/docs/DESIGN-RATIONALE.md +105 -0
  20. package/src/docs/FILE-MANIFEST.md +47 -63
  21. package/src/docs/SAMENESS-TEST.md +183 -0
  22. package/src/docs/WORKFLOW.md +22 -21
  23. package/src/references/00-design-reasoning.md +243 -0
  24. package/src/references/01-discovery.md +171 -0
  25. package/src/references/02-marketing-ux.md +377 -0
  26. package/src/references/03-product-ux.md +285 -0
  27. package/src/references/04-visual-system.md +259 -0
  28. package/src/references/05-responsive-accessibility.md +179 -0
  29. package/src/references/06-motion.md +160 -0
  30. package/src/references/{09-gsap-recipes.md → 07-gsap-recipes.md} +3 -3
  31. package/src/references/{10-motion-react-recipes.md → 08-motion-react-recipes.md} +3 -1
  32. package/src/references/{11-threejs-webgl.md → 09-threejs-webgl.md} +1 -1
  33. package/src/references/10-copy-voice.md +97 -0
  34. package/src/references/11-storybook-template.md +544 -0
  35. package/src/references/{13-implementation-handoff.md → 12-implementation-handoff.md} +10 -7
  36. package/src/references/13-validation.md +155 -0
  37. package/src/agents/AGENTS.md +0 -40
  38. package/src/docs/ANTI-SLOP-RATIONALE.md +0 -77
  39. package/src/references/00-anti-slop.md +0 -126
  40. package/src/references/01-discovery-interview.md +0 -115
  41. package/src/references/02-foundations.md +0 -82
  42. package/src/references/03-typography-color-theming.md +0 -181
  43. package/src/references/04-visual-styles.md +0 -94
  44. package/src/references/05-website-type-patterns.md +0 -123
  45. package/src/references/06-age-inclusive-design.md +0 -60
  46. package/src/references/07-craft-and-accessibility.md +0 -92
  47. package/src/references/08-motion-system.md +0 -124
  48. package/src/references/12-storybook-template.md +0 -436
  49. package/src/references/14-ai-workflow.md +0 -37
  50. package/src/references/15-composition.md +0 -91
  51. package/src/references/16-copy-voice.md +0 -85
  52. package/src/references/17-section-library.md +0 -365
  53. package/src/references/blueprints/00-index.md +0 -74
  54. package/src/references/blueprints/app-dashboard.md +0 -78
  55. package/src/references/blueprints/content-blog.md +0 -70
  56. package/src/references/blueprints/corporate.md +0 -57
  57. package/src/references/blueprints/ecommerce.md +0 -81
  58. package/src/references/blueprints/landing-page.md +0 -69
  59. package/src/references/blueprints/portfolio-agency.md +0 -53
  60. package/src/references/blueprints/saas.md +0 -95
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # UI/UX Storybook Architect
4
4
 
5
- ### Design direction before code—not another generic AI landing page.
5
+ ### Design reasoning before code—not another interchangeable AI interface.
6
6
 
7
7
  An interview-driven design skill for Claude Code, OpenAI Codex, Google Antigravity, Cursor, Windsurf, and GitHub Copilot.
8
8
 
@@ -18,31 +18,26 @@ An interview-driven design skill for Claude Code, OpenAI Codex, Google Antigravi
18
18
 
19
19
  ## In one sentence
20
20
 
21
- You describe the product; the skill interviews you with easy multiple-choice questions, proposes three genuinely different design directions, turns your choice into a complete design specification, and helps your coding agent build it accurately.
21
+ You describe the product; the skill interviews you with easy multiple-choice questions, reasons from your users, tasks, content, and business goal before choosing any look, proposes three strategically different directions, turns your choice into a complete design specification in which every decision is traceable, and helps your coding agent build it accurately.
22
22
 
23
23
  No design vocabulary is required.
24
24
 
25
25
  ## Why this exists
26
26
 
27
- AI can generate a polished interface quickly, but unconstrained output often converges on the same defaults:
27
+ AI can generate a polished interface quickly, but unconstrained output converges on whatever is most probable. First it was centered heroes, indigo, Inter, three feature cards, and uniform spacing. Then it became asymmetric editorial heroes, warm paper with one burnt accent, oversized type, bento grids, and hairline rules. Both are the same failure: an interface that could be reused for an unrelated company by changing only the logo, headline, accent color, and images.
28
28
 
29
- - centered hero copy;
30
- - blue or purple accent colors;
31
- - Inter everywhere;
32
- - three feature cards;
33
- - identical spacing between every section;
34
- - vague copy about “transforming your workflow.”
35
-
36
- This skill adds the missing design process before implementation. It grounds decisions in the audience and product, forces meaningful visual divergence, records the chosen direction, and checks the build for accessibility and fidelity.
29
+ This skill treats that interchangeability as the defect. It reasons from users, tasks, content, business goal, trust, and accessibility before choosing any visual value; it separates marketing surfaces (persuasion, proof, conversion) from product surfaces (workflows, data, states, keyboard); it presents three strategically different directions; and it requires every decision to trace back to the brief. Familiar patterns are allowed when they fit. Unreasoned repetition is not.
37
30
 
38
31
  | Without the skill | With the skill |
39
32
  |---|---|
40
- | The agent guesses what “premium” means | The agent offers three concrete art directions |
41
- | Design decisions change while coding | Decisions are recorded before implementation |
42
- | Pages follow a familiar template | Page order follows the buyer’s belief sequence |
43
- | Colors and spacing drift between components | Values come from shared design tokens |
44
- | Motion is added for decoration | Motion has a purpose, budget, and reduced-motion fallback |
45
- | Accessibility is checked at the end | Accessibility is part of the specification and audit |
33
+ | The agent guesses what “premium” means | The agent resolves “premium” for this audience and category, then designs from context |
34
+ | Dashboards get landing-page layouts | Marketing and product surfaces are reasoned separately |
35
+ | Three directions are three color schemes | Three directions differ in strategy: what the user sees and does first |
36
+ | Design decisions change while coding | Decisions are recorded with a reason before implementation |
37
+ | Pages follow a category template | Section order follows the reader’s decision journey; screens follow the task model |
38
+ | Colors and spacing drift between components | Values come from shared design tokens, organized in layers |
39
+ | Motion is added for decoration | Motion has a job, a budget, and a reduced-motion fallback |
40
+ | Accessibility is checked at the end | WCAG 2.2 AA shapes decisions at every stage and is gated with evidence |
46
41
 
47
42
  ## Who it is for
48
43
 
@@ -126,11 +121,11 @@ Discover → Choose direction → Specify → Write copy → Plan motion → Bui
126
121
 
127
122
  ### 1. Discovery without the blank-page problem
128
123
 
129
- The skill asks eight focused questions with concrete answer choices, a recommended option, and the consequence of each choice. It records the audience, their top tasks, product constraints, brand character, success measures, and assumptions in `design/00-brief.md`.
124
+ The skill asks focused questions with concrete answer choices, a recommended option, and the consequence of each choice. Every question changes a design decision: who uses it and how often, what they must do, what the business needs, what happens if it goes wrong, what content exists, where the brand sits. It records a one-line context profile, a marketing-or-product label for every surface, users, tasks, and assumptions in `design/00-brief.md`.
130
125
 
131
126
  ### 2. Three directions that are actually different
132
127
 
133
- Before writing tokens or components, the skill proposes three directions that differ in layout logic, typography, palette, density, surface treatment, and signature idea. The user chooses one. This prevents “three shades of the same template.”
128
+ Before writing tokens or components, the skill proposes three directions that differ in **strategy**: what the user sees and does first, how the page persuades or how the app is navigated, how dense it is, and how it handles proof or state. For a site that might be proof-first, product-demo-first, and problem-first; for an app, overview-first, exceptions-first, and task-first. Visual language follows from the chosen strategy. The user chooses one. This prevents “three shades of the same template.”
134
129
 
135
130
  ### 3. A Design Storybook
136
131
 
@@ -139,7 +134,7 @@ The selected direction becomes a written, buildable system:
139
134
  ```text
140
135
  design/
141
136
  ├── 00-brief.md
142
- ├── 01-art-direction.md
137
+ ├── 01-direction.md
143
138
  ├── 02-information-architecture.md
144
139
  ├── 03-design-tokens.md
145
140
  ├── 04-typography-and-color.md
@@ -173,14 +168,14 @@ The audit returns a prioritized fix list for accessibility, performance, and res
173
168
 
174
169
  | Command | Use it when… | Main result |
175
170
  |---|---|---|
176
- | `/ux-discover` | Starting a new site, app, or full redesign | Audience brief and explicit assumptions |
177
- | `/ux-direction` | The brief is ready and a visual direction must be chosen | Three distinct directions and one recorded choice |
178
- | `/ux-spec [scope]` | Creating the full system or a focused part of it | Tokens, type, color, IA, components, or pages |
171
+ | `/ux-discover` | Starting a new site, app, or full redesign | Context profile, surface labels, users, tasks, assumptions |
172
+ | `/ux-direction` | The brief is ready and a strategy must be chosen | Three strategically different directions and one recorded choice |
173
+ | `/ux-spec [scope]` | Creating the full system or a focused part of it | Tokens, type, color, theme, IA, components, or pages — every decision traced |
179
174
  | `/ux-copy [page]` | Page or interface copy is missing or generic | Draft copy in the product’s voice |
180
- | `/ux-motion [mode]` | Planning or implementing motion, scroll, or justified 3D | Motion spec with fallbacks and performance limits |
175
+ | `/ux-motion [mode]` | Planning or implementing motion, scroll, or justified 3D | Motion spec by job, with fallbacks and performance limits |
181
176
  | `/ux-build [target]` | Implementing the approved Design Storybook | Token-first build plus fidelity verification |
182
- | `/ux-audit [scope]` | Checking accessibility, performance, or responsiveness | One prioritized, evidence-based fix list |
183
- | `/ux-critique [target]` | An existing interface feels weak, cheap, or machine-made | Specific diagnosis and corrective direction |
177
+ | `/ux-audit [scope]` | Checking accessibility, performance, or responsiveness | One prioritized, evidence-based fix list against WCAG 2.2 AA |
178
+ | `/ux-critique [target]` | An existing interface feels weak, generic, or machine-made | Slop Detector 2.0, Specificity Score, and a prioritized fix list |
184
179
 
185
180
  <details>
186
181
  <summary><strong>Command modes and focused scopes</strong></summary>
@@ -188,7 +183,7 @@ The audit returns a prioritized fix list for accessibility, performance, and res
188
183
  - `/ux-spec tokens` — design tokens and token files
189
184
  - `/ux-spec type` — typography system
190
185
  - `/ux-spec color` — palette and contrast pairings
191
- - `/ux-spec theme` — light and dark themes
186
+ - `/ux-spec theme` — a second theme, or a recorded decision not to ship one
192
187
  - `/ux-spec ia` — information architecture
193
188
  - `/ux-spec components` — component anatomy, variants, and states
194
189
  - `/ux-spec pages` — page blueprints and section rhythm
@@ -340,37 +335,43 @@ A behavioral smoke test is even better:
340
335
  1. Start a new agent session.
341
336
  2. Ask it to design a new product.
342
337
  3. Confirm it begins with drafted discovery options.
343
- 4. Confirm `/ux-direction` presents three structurally different directions before `/ux-spec`.
338
+ 4. Confirm `/ux-direction` presents three strategically different directions before `/ux-spec`.
339
+ 5. Ask it for a dashboard and confirm it does not propose a hero, section rhythm, or scroll reveals.
344
340
 
345
341
  ## Design and implementation guarantees
346
342
 
347
343
  The skill treats these as gates:
348
344
 
349
- - every visual decision has a product, audience, trust, or accessibility reason;
345
+ - no hue, typeface, radius, type ratio, or layout style is chosen before users, tasks, content, business goal, trust, and information architecture are written;
346
+ - every major decision carries a trace to `[USER]`, `[TASK]`, `[CONTENT]`, `[BUSINESS]`, `[BRAND]`, `[CONTEXT]`, or `[A11Y]`;
347
+ - marketing surfaces and product surfaces are reasoned separately, per surface;
350
348
  - example colors, fonts, radii, and durations cannot ship unchanged;
351
- - light and dark themes are independently designed;
352
- - foreground/background contrast is measured in both themes;
349
+ - color layers (brand, semantic, state, surface, text, data) are separated and every pairing is measured in every theme;
350
+ - a second theme exists only when warranted, and is designed rather than inverted;
353
351
  - components specify default, hover, focus-visible, active, disabled, loading, error, and empty states;
354
- - page blueprints contain real draft copy—not lorem ipsum or invented proof;
355
- - every animation has a named trigger and reduced-motion fallback;
356
- - testimonials, customers, logos, and statistics are never fabricated;
357
- - the final build is checked against the chosen art direction and signature element.
352
+ - every section or region has a reflow decision, not just “stacks”;
353
+ - blueprints contain real draft copy—not lorem ipsum or invented proof;
354
+ - every animation has a job and a reduced-motion fallback;
355
+ - WCAG 2.2 AA is gated with evidence;
356
+ - the final build is checked for fidelity to the chosen strategy, and the interchangeability question is re-answered on the built product.
358
357
 
359
358
  ## Progressive reference loading
360
359
 
361
- The skill does not load its full design library into every task. It routes to focused references:
360
+ The skill does not load its full library into every task. It routes by pipeline stage and surface type:
362
361
 
363
362
  ```text
364
- Any visual output → anti-slop rules
365
- Layout work → composition
366
- Page blueprint → section library + matching category blueprint
367
- Typography/color → typography, color, and theming
368
- Motion → motion system + relevant implementation recipe
369
- Build → implementation handoff
370
- Audit → craft and accessibility
363
+ Any design decision → design reasoning (pipeline, context model, principles)
364
+ Discovery → discovery question bank
365
+ Marketing surface → marketing UX (content-first structure, section anatomy)
366
+ Product surface → product UX (navigation, interaction model, screens, states)
367
+ Visual language, tokens → visual system
368
+ Any spec, any audit → responsive behavior and accessibility (WCAG 2.2 AA)
369
+ Motion → motion by job + relevant implementation recipe
370
+ Build → implementation handoff
371
+ Direction, gate, critique → validation (Slop Detector 2.0, Specificity Score)
371
372
  ```
372
373
 
373
- This keeps the active context relevant and reduces fallback to generic model defaults.
374
+ A dashboard never loads the marketing file. A landing page never loads the product file. Nothing loads a style catalogue unless it reaches the optional-techniques appendix by a stated reason.
374
375
 
375
376
  ## Customize the skill
376
377
 
@@ -393,10 +394,12 @@ Useful customization points:
393
394
 
394
395
  | File | What to change |
395
396
  |---|---|
396
- | `SKILL.md` | Workflow rules, defaults, and quality gates |
397
- | `references/00-anti-slop.md` | Visual defaults to reject or allow |
398
- | `references/04-visual-styles.md` | House styles and direction vocabulary |
399
- | `references/16-copy-voice.md` | Voice and copy constraints |
397
+ | `SKILL.md` | Operating rules, the pipeline, gates |
398
+ | `references/00-design-reasoning.md` | Context model, principles-as-decisions, vague-prompt table, defaults that need a reason |
399
+ | `references/02-marketing-ux.md` | Category notes and section anatomy for marketing surfaces |
400
+ | `references/03-product-ux.md` | Navigation models, interaction model, screen anatomy, category notes for apps |
401
+ | `references/04-visual-system.md` | Type, color, composition rules; the optional-techniques appendix |
402
+ | `references/10-copy-voice.md` | Voice and copy constraints |
400
403
  | `assets/tokens.template.css` | Token structure for generated systems |
401
404
 
402
405
  ## Repository structure
@@ -410,14 +413,16 @@ src/
410
413
  ├── assets/
411
414
  ├── commands/ # 8 workflow commands
412
415
  ├── docs/
413
- └── references/
414
- └── blueprints/ # category-specific page inventories
415
- test/cli.test.js
416
+ └── references/ # 14 files, loaded by pipeline stage and surface type
417
+ test/
418
+ ├── cli.test.js # installer integrity
419
+ └── skill-structure.test.js # link integrity, pipeline presence, prescriptive-rule lint
416
420
  ```
417
421
 
418
422
  - [File manifest](src/docs/FILE-MANIFEST.md) — purpose and load rule for every bundled file
419
423
  - [Workflow guide](src/docs/WORKFLOW.md) — expected end-to-end behavior
420
- - [Anti-slop rationale](src/docs/ANTI-SLOP-RATIONALE.md) — why the divergence and quality defenses exist
424
+ - [Design rationale](src/docs/DESIGN-RATIONALE.md) — why each guard exists and what it replaced
425
+ - [Sameness test](src/docs/SAMENESS-TEST.md) — the twelve-brief cross-project test
421
426
  - [Publishing guide](PUBLISHING.md) — release process for maintainers
422
427
 
423
428
  ## Development
package/bin/cli.js CHANGED
@@ -230,7 +230,7 @@ function ask(q) {
230
230
  function banner() {
231
231
  log();
232
232
  log(` ${c.b("UI/UX Storybook Architect")} ${c.dim("v" + VERSION)}`);
233
- log(` ${c.dim("Distinctive UI/UX direction + 8 workflow commands for every agentic IDE")}`);
233
+ log(` ${c.dim("Context-driven UI/UX direction + 8 workflow commands for every agentic IDE")}`);
234
234
  log();
235
235
  }
236
236
 
@@ -324,7 +324,7 @@ async function cmdInit(args) {
324
324
  log();
325
325
  log(` ${c.cy("/ux-discover")} a landing page for a fintech app aimed at 55+ users`);
326
326
  log();
327
- log(` ${c.dim("It must ask you 8 numbered questions before designing anything.")}`);
327
+ log(` ${c.dim("It must ask you numbered questions with drafted options before designing anything.")}`);
328
328
  log(` ${c.dim("If it starts designing immediately, the skill did not load — run:")} ${c.cy("npx " + NAME + " doctor")}`);
329
329
  log();
330
330
  log(` ${c.b("Verify per IDE")}`);
@@ -438,7 +438,7 @@ function cmdEject(args) {
438
438
  log(` Edit it, then install your version from that folder:`);
439
439
  log(` ${c.cy(`npx ${NAME} init --src ${path.relative(process.cwd(), dest) || "."}`)}`);
440
440
  log();
441
- log(` ${c.dim("Best first edits: SKILL.md defaults table, references/04-visual-styles.md (your house style), assets/tokens.template.css")}`);
441
+ log(` ${c.dim("Best first edits: references/00-design-reasoning.md (pipeline, context model), references/02-marketing-ux.md and 03-product-ux.md (category notes), assets/tokens.template.css")}`);
442
442
  log();
443
443
  }
444
444
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uiux-storybook-architect",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "Interview-driven UI/UX design skill with 8 workflow commands for Claude Code, Codex, Antigravity, Cursor, Windsurf and VS Code Copilot. Turns vague briefs into distinctive, buildable Design Storybooks with art direction, tokens, copy, motion and accessibility.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/AGENTS.md CHANGED
@@ -3,36 +3,45 @@
3
3
  **Path:** `src/AGENTS.md`
4
4
 
5
5
  Any request to design, redesign, critique, or build a website, app, landing page, dashboard,
6
- color palette, type system, dark mode, or animation is UI/UX work. For all of it:
6
+ color palette, type system, theme, or animation is UI/UX work. For all of it:
7
7
 
8
8
  1. Read `.agents/skills/uiux-storybook-architect/SKILL.md` before doing anything else.
9
- 2. **Read `references/00-anti-slop.md` before producing any visual output.** Unconstrained, an
10
- agent reproduces the training-data average: centered hero, indigo accent, Inter, three icon
11
- cards, uniform padding, "transform your workflow". That file contains the ban list and the
12
- self-check every visual deliverable is measured against.
13
- 3. **Interview only when starting new work.** New site, app, or full redesign with no
14
- `design/00-brief.md` → run the discovery interview: one batch of 8 numbered questions, then a
15
- second batch on build constraints. **Every question carries 3–4 drafted options with a
16
- recommendation and a one-line consequence**, so the user replies `1b, 2 rec, 3 skip`. Never
17
- send a bare open question. If the brief exists, read it and never ask again. For a small change
18
- to an existing codebase, or a single decision, do not interview: infer, state the assumption in
19
- one line specific to this product, and proceed.
20
- 4. **Never go from brief straight to spec.** `/ux-direction` is mandatory on new design work: three
21
- structurally distinct directions, presented, and a human picks one. One brief with no fork
22
- collapses to the one obvious execution, and the obvious execution is the average.
23
- 5. **Never ship a template default.** Every hex, font, radius, and duration in the skill's
24
- references and asset templates is illustrative. The token templates use loud magenta/lime
25
- tripwire values on purpose — if they render, the tokens were never chosen.
26
- 6. Write the Design Storybook to `design/` before building a new site. Build order is tokens →
27
- primitives → layout → sections → pages → motion → 3D, never page by page.
28
- 7. Use only tokens from `design/tokens/tokens.css`. No raw hex, no off-scale spacing, no
29
- hardcoded durations anywhere in component code.
30
- 8. Every animation must exist in `design/07-motion-spec.md` with a `prefers-reduced-motion`
31
- fallback before it is implemented.
32
- 9. WCAG 2.2 AA is a gate, not a suggestion: 4.5:1 body contrast in both themes, visible focus
33
- states, ≥44px touch targets, keyboard operability.
34
- 10. **Never invent evidence.** No fabricated testimonials, customer names, logos, or statistics,
35
- even as placeholder content. Use a clearly marked empty slot.
9
+ 2. **Read `references/00-design-reasoning.md` before any design decision.** Generic output is
10
+ caused by unreasoned repetition, not by familiar patterns. The test is interchangeability:
11
+ could this be reused for an unrelated company by changing only logo, headline, accent, and
12
+ images? Neither the old defaults (indigo, Inter, centered hero, three cards) nor the new ones
13
+ (editorial asymmetry, warm paper, one burnt accent, oversized type, bento) are banned. Both
14
+ need a reason traceable to the brief.
15
+ 3. **Reason before styling.** No hue, typeface, radius, type ratio, surface, or layout style is
16
+ chosen before context, users, jobs, tasks, content, business goal, trust, and information
17
+ architecture are written. The pipeline order is in `SKILL.md`.
18
+ 4. **Fork by surface.** Marketing surfaces reason about persuasion, proof, trust, and conversion
19
+ (`references/02-marketing-ux.md`). Product surfaces reason about workflows, navigation, data,
20
+ states, forms, keyboard, and permissions (`references/03-product-ux.md`). Never apply
21
+ landing-page logic to a dashboard, or app density to a story. Decide per surface.
22
+ 5. **Interview only when starting new work.** No `design/00-brief.md` on a new site, app, or
23
+ full redesign → run discovery: up to 8 numbered questions, each with 3–4 drafted options,
24
+ a recommendation, and a one-line consequence, so the user replies `1b, 2 rec, 3 skip`. Then a
25
+ second round by surface type. If the brief exists, read it and never ask again. For a small
26
+ change or a single decision, infer, state the assumption in one line specific to this product,
27
+ and proceed.
28
+ 6. **Three strategic directions before any spec.** `/ux-direction` is mandatory on new design
29
+ work. Directions differ in information priority, strategy, hierarchy, interaction, and density;
30
+ visual differences follow. A human picks.
31
+ 7. **Every decision traces** to `[USER]` `[TASK]` `[CONTENT]` `[BUSINESS]` `[BRAND]` `[CONTEXT]`
32
+ or `[A11Y]` with one line. "Looks clean" is not a trace.
33
+ 8. **Never ship a template default.** Every value in the references and asset templates is
34
+ illustrative. The token templates carry magenta and lime tripwires on purpose.
35
+ 9. Write the Design Storybook to `design/` before building. Build order: tokens → primitives →
36
+ layout → sections or screens → pages → motion → 3D. Use only tokens from
37
+ `design/tokens/tokens.css`; no raw hex, off-scale spacing, or hardcoded durations in components.
38
+ 10. **Motion has a job** (feedback, causality, orientation, continuity, state, storytelling) and
39
+ exists in `design/07-motion-spec.md` with a `prefers-reduced-motion` fallback before it is built.
40
+ 11. **WCAG 2.2 AA** is designed in at every stage and gated with evidence at the end: contrast in
41
+ every theme, keyboard operability, visible and unobscured focus, ≥24px targets (≥44px touch),
42
+ reduced motion, no redundant entry, accessible authentication.
43
+ 12. **Never invent evidence.** No fabricated testimonials, customer names, logos, or statistics,
44
+ even as placeholders. Use a clearly marked empty slot.
36
45
 
37
46
  Eight slash commands, in workflow order:
38
47