bmad-method 6.7.1 → 6.8.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 (114) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/README.md +10 -0
  3. package/package.json +3 -2
  4. package/removals.txt +8 -0
  5. package/src/bmm-skills/1-analysis/bmad-agent-analyst/SKILL.md +2 -0
  6. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/SKILL.md +2 -0
  7. package/src/bmm-skills/1-analysis/bmad-document-project/SKILL.md +1 -1
  8. package/src/bmm-skills/1-analysis/bmad-prfaq/SKILL.md +1 -1
  9. package/src/bmm-skills/1-analysis/bmad-product-brief/SKILL.md +5 -2
  10. package/src/bmm-skills/1-analysis/research/bmad-domain-research/SKILL.md +1 -1
  11. package/src/bmm-skills/1-analysis/research/bmad-market-research/SKILL.md +1 -1
  12. package/src/bmm-skills/1-analysis/research/bmad-technical-research/SKILL.md +1 -1
  13. package/src/bmm-skills/2-plan-workflows/bmad-agent-pm/SKILL.md +2 -0
  14. package/src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer/SKILL.md +2 -0
  15. package/src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer/customize.toml +1 -1
  16. package/src/bmm-skills/2-plan-workflows/bmad-prd/SKILL.md +9 -4
  17. package/src/bmm-skills/2-plan-workflows/bmad-prd/assets/prd-template.md +4 -7
  18. package/src/bmm-skills/2-plan-workflows/bmad-prd/assets/prd-validation-checklist.md +4 -4
  19. package/src/bmm-skills/2-plan-workflows/bmad-prd/references/headless.md +2 -2
  20. package/src/bmm-skills/2-plan-workflows/bmad-ux/SKILL.md +90 -0
  21. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/color-themes.md +9 -0
  22. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/design-directions.md +9 -0
  23. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/design-example-editorial.md +158 -0
  24. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/design-example-mobile.md +93 -0
  25. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/design-example-shadcn.md +109 -0
  26. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/excalidraw-wireframe.md +19 -0
  27. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/experience-example-mobile.md +112 -0
  28. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/experience-example-shadcn.md +133 -0
  29. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/headless-schemas.md +84 -0
  30. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/key-screens.md +29 -0
  31. package/src/bmm-skills/2-plan-workflows/bmad-ux/assets/validation-report-template.html +319 -0
  32. package/src/bmm-skills/2-plan-workflows/bmad-ux/customize.toml +100 -0
  33. package/src/bmm-skills/2-plan-workflows/bmad-ux/references/creative-tools.md +19 -0
  34. package/src/bmm-skills/2-plan-workflows/bmad-ux/references/design-md-spec.md +50 -0
  35. package/src/bmm-skills/2-plan-workflows/bmad-ux/references/headless.md +37 -0
  36. package/src/bmm-skills/2-plan-workflows/bmad-ux/references/validate.md +115 -0
  37. package/src/bmm-skills/3-solutioning/bmad-agent-architect/SKILL.md +2 -0
  38. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/SKILL.md +1 -1
  39. package/src/bmm-skills/3-solutioning/bmad-create-architecture/SKILL.md +1 -1
  40. package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/SKILL.md +1 -1
  41. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/SKILL.md +1 -1
  42. package/src/bmm-skills/4-implementation/bmad-agent-dev/SKILL.md +2 -0
  43. package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/SKILL.md +1 -1
  44. package/src/bmm-skills/4-implementation/bmad-code-review/SKILL.md +1 -1
  45. package/src/bmm-skills/4-implementation/bmad-correct-course/SKILL.md +1 -1
  46. package/src/bmm-skills/4-implementation/bmad-create-story/SKILL.md +1 -1
  47. package/src/bmm-skills/4-implementation/bmad-dev-story/SKILL.md +23 -8
  48. package/src/bmm-skills/4-implementation/bmad-investigate/SKILL.md +2 -0
  49. package/src/bmm-skills/4-implementation/bmad-qa-generate-e2e-tests/SKILL.md +1 -1
  50. package/src/bmm-skills/4-implementation/bmad-quick-dev/SKILL.md +1 -1
  51. package/src/bmm-skills/4-implementation/bmad-retrospective/SKILL.md +1 -1
  52. package/src/bmm-skills/4-implementation/bmad-sprint-planning/SKILL.md +2 -1
  53. package/src/bmm-skills/4-implementation/bmad-sprint-status/SKILL.md +2 -1
  54. package/src/bmm-skills/module-help.csv +1 -1
  55. package/src/core-skills/bmad-advanced-elicitation/methods.csv +69 -50
  56. package/src/core-skills/bmad-brainstorming/steps/step-03-technique-execution.md +6 -4
  57. package/src/core-skills/bmad-brainstorming/workflow.md +1 -1
  58. package/src/core-skills/bmad-spec/SKILL.md +129 -0
  59. package/src/core-skills/bmad-spec/assets/headless-schemas.md +33 -0
  60. package/src/core-skills/bmad-spec/assets/spec-template.md +49 -0
  61. package/src/core-skills/bmad-spec/customize.toml +53 -0
  62. package/src/core-skills/module-help.csv +1 -1
  63. package/src/scripts/resolve_customization.py +9 -1
  64. package/src/scripts/tests/test_resolve_customization.py +50 -0
  65. package/tools/bundle-web-bundles.js +117 -0
  66. package/tools/installer/modules/custom-module-manager.js +113 -4
  67. package/tools/installer/modules/official-modules.js +83 -3
  68. package/tools/skill-validator.md +1 -19
  69. package/tools/validate-sidebar-order.js +388 -0
  70. package/tools/validate-skills.js +1 -40
  71. package/web-bundles/README.md +46 -0
  72. package/web-bundles/brainstorming-coach/INSTRUCTIONS.md +86 -0
  73. package/web-bundles/brainstorming-coach/SKILL.md +83 -0
  74. package/web-bundles/brainstorming-coach/brain-methods.csv +62 -0
  75. package/web-bundles/bundles.json +139 -0
  76. package/web-bundles/market-and-industry-research/INSTRUCTIONS.md +88 -0
  77. package/web-bundles/market-and-industry-research/SKILL.md +59 -0
  78. package/web-bundles/prd-coach/INSTRUCTIONS.md +86 -0
  79. package/web-bundles/prd-coach/SKILL.md +101 -0
  80. package/web-bundles/prd-coach/prd-template.md +165 -0
  81. package/web-bundles/prd-coach/prd-validation-checklist.md +135 -0
  82. package/web-bundles/prfaq-coach/INSTRUCTIONS.md +86 -0
  83. package/web-bundles/prfaq-coach/SKILL.md +139 -0
  84. package/web-bundles/product-brief-coach/INSTRUCTIONS.md +86 -0
  85. package/web-bundles/product-brief-coach/SKILL.md +113 -0
  86. package/web-bundles/ux-coach/INSTRUCTIONS.md +92 -0
  87. package/web-bundles/ux-coach/SKILL.md +187 -0
  88. package/web-bundles/ux-coach/ux-validation.md +100 -0
  89. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/SKILL.md +0 -75
  90. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/customize.toml +0 -41
  91. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-01-init.md +0 -135
  92. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-01b-continue.md +0 -127
  93. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-02-discovery.md +0 -190
  94. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-03-core-experience.md +0 -217
  95. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-04-emotional-response.md +0 -220
  96. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-05-inspiration.md +0 -235
  97. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-06-design-system.md +0 -253
  98. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-07-defining-experience.md +0 -255
  99. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-08-visual-foundation.md +0 -225
  100. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-09-design-directions.md +0 -225
  101. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-10-user-journeys.md +0 -242
  102. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-11-component-strategy.md +0 -249
  103. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-12-ux-patterns.md +0 -238
  104. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +0 -265
  105. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-14-complete.md +0 -177
  106. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/ux-design-template.md +0 -13
  107. package/src/core-skills/bmad-distillator/SKILL.md +0 -177
  108. package/src/core-skills/bmad-distillator/agents/distillate-compressor.md +0 -116
  109. package/src/core-skills/bmad-distillator/agents/round-trip-reconstructor.md +0 -68
  110. package/src/core-skills/bmad-distillator/resources/compression-rules.md +0 -51
  111. package/src/core-skills/bmad-distillator/resources/distillate-format-reference.md +0 -227
  112. package/src/core-skills/bmad-distillator/resources/splitting-strategy.md +0 -78
  113. package/src/core-skills/bmad-distillator/scripts/analyze_sources.py +0 -300
  114. package/src/core-skills/bmad-distillator/scripts/tests/test_analyze_sources.py +0 -204
@@ -20,7 +20,7 @@
20
20
  "skills": [
21
21
  "./src/core-skills/bmad-help",
22
22
  "./src/core-skills/bmad-brainstorming",
23
- "./src/core-skills/bmad-distillator",
23
+ "./src/core-skills/bmad-spec",
24
24
  "./src/core-skills/bmad-party-mode",
25
25
  "./src/core-skills/bmad-shard-doc",
26
26
  "./src/core-skills/bmad-advanced-elicitation",
package/README.md CHANGED
@@ -77,6 +77,16 @@ BMad Method extends with official modules for specialized domains. Available dur
77
77
  | **[Game Dev Studio (BMGD)](https://github.com/bmad-code-org/bmad-module-game-dev-studio)** | Game development workflows (Unity, Unreal, Godot) |
78
78
  | **[Creative Intelligence Suite (CIS)](https://github.com/bmad-code-org/bmad-module-creative-intelligence-suite)** | Innovation, brainstorming, design thinking |
79
79
 
80
+ ## Web Bundles
81
+
82
+ V4 shipped web bundles. V6 brings them back, new and improved.
83
+
84
+ Web bundles package selected BMad skills for installation as **Google Gemini Gems** and **ChatGPT Custom GPTs**. Use them to do the upfront planning work (brainstorming, product briefs, PRDs, PRFAQs, UX specs, market and industry research) in your web LLM subscription, then bring the polished artifacts into your IDE for implementation. Planning runs on a flat-rate subscription instead of metered IDE tokens, which is a meaningful cost saver on longer engagements. Choose the best model available to you in Gemini or ChatGPT.
85
+
86
+ Current shelf: brainstorming, product brief, PRFAQ, PRD, UX, market & industry research.
87
+
88
+ **Browse and install at [bmadcode.com/web-bundles](https://bmadcode.com/web-bundles/)**. One card per bundle, inline install steps for Gemini and ChatGPT, one-click ZIP download. See [the web bundles guide](https://docs.bmad-method.org/explanation/web-bundles/) for the concept.
89
+
80
90
  ## Documentation
81
91
 
82
92
  [BMad Method Docs Site](https://docs.bmad-method.org) — Tutorials, guides, concepts, and reference
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-method",
4
- "version": "6.7.1",
4
+ "version": "6.8.0",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -31,6 +31,7 @@
31
31
  "docs:fix-links": "node tools/fix-doc-links.js",
32
32
  "docs:preview": "astro preview --root website",
33
33
  "docs:validate-links": "node tools/validate-doc-links.js",
34
+ "docs:validate-sidebar": "node tools/validate-sidebar-order.js",
34
35
  "format:check": "prettier --check \"**/*.{js,cjs,mjs,json,yaml}\"",
35
36
  "format:fix": "prettier --write \"**/*.{js,cjs,mjs,json,yaml}\"",
36
37
  "format:fix:staged": "prettier --write",
@@ -39,7 +40,7 @@
39
40
  "lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
40
41
  "lint:md": "markdownlint-cli2 \"**/*.md\"",
41
42
  "prepare": "command -v husky >/dev/null 2>&1 && husky || exit 0",
42
- "quality": "npm run format:check && npm run lint && npm run lint:md && npm run docs:build && npm run test:install && npm run test:urls && npm run validate:refs && npm run validate:skills",
43
+ "quality": "npm run format:check && npm run lint && npm run lint:md && npm run docs:build && npm run test:install && npm run test:urls && npm run validate:refs && npm run validate:skills && npm run docs:validate-sidebar",
43
44
  "rebundle": "node tools/installer/bundlers/bundle-web.js rebundle",
44
45
  "test": "npm run test:refs && npm run test:install && npm run test:urls && npm run test:channels && npm run lint && npm run lint:md && npm run format:check",
45
46
  "test:channels": "node test/test-installer-channels.js",
package/removals.txt CHANGED
@@ -52,3 +52,11 @@ bmad-bmm-sprint-planning
52
52
  bmad-bmm-sprint-status
53
53
  bmad-bmm-technical-research
54
54
  bmad-bmm-validate-prd
55
+
56
+ # Removed skills (post-v6.7.x)
57
+ # bmad-distillator: superseded by bmad-spec (universal intent distiller with
58
+ # preservation-validated contract for downstream skills).
59
+ bmad-distillator
60
+ # bmad-create-ux-design: renamed to bmad-ux (spine-based skill with separate
61
+ # DESIGN.md and EXPERIENCE.md outputs).
62
+ bmad-create-ux-design
@@ -63,6 +63,8 @@ Continue to prefix your messages with `{agent.icon}` throughout the session so t
63
63
 
64
64
  Execute each entry in `{agent.activation_steps_append}` in order.
65
65
 
66
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
67
+
66
68
  ### Step 8: Dispatch or Present the Menu
67
69
 
68
70
  If the user's initial message already names an intent that clearly maps to a menu item (e.g. "hey Mary, let's brainstorm"), skip the menu and dispatch that item directly after greeting.
@@ -63,6 +63,8 @@ Continue to prefix your messages with `{agent.icon}` throughout the session so t
63
63
 
64
64
  Execute each entry in `{agent.activation_steps_append}` in order.
65
65
 
66
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
67
+
66
68
  ### Step 8: Dispatch or Present the Menu
67
69
 
68
70
  If the user's initial message already names an intent that clearly maps to a menu item (e.g. "hey Paige, let's document this codebase"), skip the menu and dispatch that item directly after greeting.
@@ -55,7 +55,7 @@ Greet `{user_name}` (if you have not already), speaking in `{communication_langu
55
55
 
56
56
  Execute each entry in `{workflow.activation_steps_append}` in order.
57
57
 
58
- Activation is complete. Begin the workflow below.
58
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
59
59
 
60
60
  ## Execution
61
61
 
@@ -65,7 +65,7 @@ Greet `{user_name}`, speaking in `{communication_language}`. Be warm but efficie
65
65
 
66
66
  Execute each entry in `{workflow.activation_steps_append}` in order.
67
67
 
68
- Activation is complete. Continue below.
68
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
69
69
 
70
70
  ## Pre-workflow Setup
71
71
 
@@ -21,7 +21,10 @@ At the opening greeting, let the user know they can invoke `bmad-party-mode` for
21
21
  4. `{workflow.external_sources}` is an org-configured registry of internal tools (knowledge bases, MCP tools); consult them alongside generic web research on the same triggers in `## Discovery`, org tools preferred when their directive matches. If a named tool is unavailable at runtime, fall back to standard behavior and note the gap when relevant.
22
22
  5. Load `{project-root}/_bmad/bmm/config.yaml` (and `config.user.yaml` if present). Resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{project_name}`, `{date}`.
23
23
  6. Greet `{user_name}` in `{communication_language}` — and stay in `{communication_language}` for every turn for the entire run, not just the greeting. Detect intent (create / update / validate). If interactive and intent is unclear, ask; for headless behavior see `## Headless Mode`.
24
- 7. Execute each entry in `{workflow.activation_steps_append}` in order.
24
+
25
+ Execute each entry in `{workflow.activation_steps_append}` in order.
26
+
27
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
25
28
 
26
29
  ## Intent Operating Modes
27
30
 
@@ -61,7 +64,7 @@ Omit keys for artifacts that were not produced.
61
64
 
62
65
  ## Discovery
63
66
 
64
- Conversationally surface what the user brings, why this brief exists, and the domain — echo back how each shapes your approach. Open with space for the full picture: invite a brain dump and ask up front for any source material they already have (memo, deck, transcript, prior brief, slack thread). Read what exists first; ask only what is missing. After the dump, a simple "anything else?" often surfaces what they almost forgot. Drill into specifics only after the broad shape is on the table; premature granular questions interrupt the dump and miss the room. Get a read on stakes early (passion project, internal pitch, investor input, public launch), and let that calibrate how hard you push. During the dump, spawn web-research subagents to ground the picture — landscape, comparables, current state — AI especially, where training data ages by the week. Subagent searches; parent gets a digest. Deep work (full market sizing, exhaustive teardowns) → suggest `bmad-market-research` or `bmad-domain-research`.
67
+ Conversationally surface what the user brings, why this brief exists, the domain, and the form-factor (mobile / web / desktop / multi-surface / hardware / API what *is* this thing) — echo back how each shapes your approach. Open with space for the full picture: invite a brain dump and ask up front for any source material they already have (memo, deck, transcript, prior brief, slack thread). Read what exists first; ask only what is missing. After the dump, a simple "anything else?" often surfaces what they almost forgot. Drill into specifics only after the broad shape is on the table; premature granular questions interrupt the dump and miss the room. Get a read on stakes early (passion project, internal pitch, investor input, public launch), and let that calibrate how hard you push. During the dump, spawn web-research subagents to ground the picture — landscape, comparables, current state — AI especially, where training data ages by the week. Subagent searches; parent gets a digest. Deep work (full market sizing, exhaustive teardowns) → suggest `bmad-market-research` or `bmad-domain-research`.
65
68
 
66
69
  Once stakes are read and the dump is captured, offer the working mode in the user's language:
67
70
 
@@ -59,7 +59,7 @@ Greet `{user_name}`, speaking in `{communication_language}`.
59
59
 
60
60
  Execute each entry in `{workflow.activation_steps_append}` in order.
61
61
 
62
- Activation is complete. Begin the workflow below.
62
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
63
63
 
64
64
  ## QUICK TOPIC DISCOVERY
65
65
 
@@ -59,7 +59,7 @@ Greet `{user_name}`, speaking in `{communication_language}`.
59
59
 
60
60
  Execute each entry in `{workflow.activation_steps_append}` in order.
61
61
 
62
- Activation is complete. Begin the workflow below.
62
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
63
63
 
64
64
  ## QUICK TOPIC DISCOVERY
65
65
 
@@ -59,7 +59,7 @@ Greet `{user_name}`, speaking in `{communication_language}`.
59
59
 
60
60
  Execute each entry in `{workflow.activation_steps_append}` in order.
61
61
 
62
- Activation is complete. Begin the workflow below.
62
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
63
63
 
64
64
  ## QUICK TOPIC DISCOVERY
65
65
 
@@ -63,6 +63,8 @@ Continue to prefix your messages with `{agent.icon}` throughout the session so t
63
63
 
64
64
  Execute each entry in `{agent.activation_steps_append}` in order.
65
65
 
66
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
67
+
66
68
  ### Step 8: Dispatch or Present the Menu
67
69
 
68
70
  If the user's initial message already names an intent that clearly maps to a menu item (e.g. "hey John, let's write the PRD"), skip the menu and dispatch that item directly after greeting.
@@ -63,6 +63,8 @@ Continue to prefix your messages with `{agent.icon}` throughout the session so t
63
63
 
64
64
  Execute each entry in `{agent.activation_steps_append}` in order.
65
65
 
66
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
67
+
66
68
  ### Step 8: Dispatch or Present the Menu
67
69
 
68
70
  If the user's initial message already names an intent that clearly maps to a menu item (e.g. "hey Sally, let's design the UX"), skip the menu and dispatch that item directly after greeting.
@@ -57,4 +57,4 @@ principles = [
57
57
  [[agent.menu]]
58
58
  code = "CU"
59
59
  description = "Guidance through realizing the plan for your UX to inform architecture and implementation"
60
- skill = "bmad-create-ux-design"
60
+ skill = "bmad-ux"
@@ -20,7 +20,10 @@ You are a master facilitator and coach helping the user create, edit, or validat
20
20
  3. Load `{project-root}/_bmad/bmm/config.yaml` (+ `config.user.yaml` if present). Resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{project_name}`, `{date}`. Missing keys → neutral defaults; never block.
21
21
  4. If headless, follow `references/headless.md` for the whole run. Otherwise greet the user **by name** using `{user_name}` and **in their language** using `{communication_language}` — and stay in `{communication_language}` for every turn for the entire run, not just the greeting. In the greeting, let the user know that at any point they can invoke `bmad-party-mode` for multi-agent perspectives or `bmad-advanced-elicitation` for deeper exploration on a specific section. Then scan for misroute on the first message: if the signal points elsewhere (game → BMad GDS; express build → `bmad-quick-dev`; one-pager → `bmad-product-brief`; vet product idea → `bmad-prfaq`; agent skill or custom agent → `bmad-workflow-builder`), suggest they might want the other options before continuing.
22
22
  5. Detect intent: **Create** (no PRD), **Update** (existing PRD), **Validate** (critique only). If ambiguous, ask. For Create intent, before binding a fresh workspace, scan `{workflow.prd_output_path}` for prior in-progress runs (folders matching `{workflow.run_folder_pattern}` whose `prd.md` frontmatter `status` is not `final`); if any exist, offer to resume rather than starting over.
23
- 6. Run `{workflow.activation_steps_append}`.
23
+
24
+ Run `{workflow.activation_steps_append}`.
25
+
26
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
24
27
 
25
28
  ## Intent Modes
26
29
 
@@ -45,13 +48,15 @@ Order: **Brain dump → Stakes calibration → Working mode → mode-scoped work
45
48
  **Working mode.** Offer the choice in the user's language:
46
49
 
47
50
  - **Fast path** — I batch remaining gaps into one or two consolidated questions, then draft the full PRD with `[ASSUMPTION]` tags where I inferred. You review and we iterate. The initial quality depends on how much you gave me upfront.
48
- - **Coaching path** — we walk PM-thinking sections together. Once chosen, I ask which entry point fits: **Vision + Features** (capability-first — for enterprise, dev products, internal tools, anyone who thinks in features), **Personas + Journeys** (user-first — for consumer, UX-heavy, multi-stakeholder products), or *let me suggest* based on what I heard. The chosen entry sets the section order.
51
+ - **Coaching path** — we walk PM-thinking sections together. Once chosen, I ask which entry point fits: **Vision + Features** (capability-first — for enterprise, dev products, internal tools, anyone who thinks in features), **Journey-led** (user-first — for consumer, UX-heavy, multi-stakeholder products; journeys with named protagonists carry persona context inline, no standalone persona section), or *let me suggest* based on what I heard. The chosen entry sets the section order.
49
52
 
50
53
  The workspace persists; stop and resume freely.
51
54
 
52
55
  **Concern scan.** As you read what the user gave you, name the concerns this product actually carries — compliance, integration density, operational SLAs, hardware constraints, public-API contracts, monetization, data governance, whatever applies. The list is open; recognize what's there, do not classify into a fixed shape. These concerns drive which template sections to pull in from the Adapt-In Menu and which to invent when no cluster names them.
53
56
 
54
- **User Journeys are captured, not authored.** When UJs are warranted (consumer / multi-stakeholder B2B / meaningful UX — drop or downscale for internal tooling with a single operator role, regulatory-only updates, hobby/solo, pure technical PRDs), prompt the user to narrate a real session — what the person does, in what order, where it lands — then structure the answer into UJ-N form and confirm.
57
+ **Form-factor.** If not stated in sources, probe mobile / web / desktop / multi-surface / hardware / API.
58
+
59
+ **User Journeys are captured, not authored.** When UJs are warranted (consumer / multi-stakeholder B2B / meaningful UX — drop or downscale for internal tooling with a single operator role, regulatory-only updates, hobby/solo, pure technical PRDs), prompt the user to narrate a real session with a named protagonist (Mary, mom of three — not "the user") — what the person does, in what order, where it lands — then structure the answer into UJ-N form and confirm. Persona context lives inline at the moments that matter; no standalone persona section.
55
60
 
56
61
  ## PRD Discipline
57
62
 
@@ -83,5 +88,5 @@ Tell the user the sequence in one sentence, then walk it. Polish goes last so it
83
88
  4. **Triage open items.** All Open Questions, `[ASSUMPTION]` tags, `[NOTE FOR PM]` callouts. Phase-blockers (would make the PRD unsafe for UX/architecture/epics) surfaced one at a time and resolved; non-blockers deferred with owner + revisit condition logged to `.decision-log.md`. If phase-blocker count is high, flag it.
84
89
  5. **Polish.** Apply `{workflow.doc_standards}` to `prd.md` and `addendum.md` in declared order (structural passes before prose — prose should not polish soon-to-be-cut text). Parallelize across documents, sequential within.
85
90
  6. **External handoffs.** Execute `{workflow.external_handoffs}`; surface returned URLs/IDs. Skip and flag unavailable tools.
86
- 7. **Close.** Set `prd.md` frontmatter `status: final` and `updated` to `{date}` so future invocations distinguish this PRD from in-progress drafts. Record finalization to `.decision-log.md`. Share artifact paths. Common next: `bmad-create-ux-design`, `bmad-create-architecture`, `bmad-create-epics-and-stories`; invoke `bmad-help` for authoritative routing.
91
+ 7. **Close.** Set `prd.md` frontmatter `status: final` and `updated` to `{date}` so future invocations distinguish this PRD from in-progress drafts. Record finalization to `.decision-log.md`. Share artifact paths. Common next: `bmad-ux`, `bmad-create-architecture`, `bmad-create-epics-and-stories`; invoke `bmad-help` for authoritative routing.
87
92
  8. Run `{workflow.on_complete}` if non-empty.
@@ -20,16 +20,13 @@ updated: {YYYY-MM-DD}
20
20
 
21
21
  ## 2. Target User
22
22
 
23
- ### 2.1 Primary Persona
24
- [Vivid but tight. Who they are, how this product fits their context.]
23
+ ### 2.1 Jobs To Be Done
24
+ [Bulleted. Emotional, social, functional, contextual — whichever apply. Even "this is for me as the builder" is a valid framing for a hobby project.]
25
25
 
26
- ### 2.2 Jobs To Be Done
27
- [Bulleted. Emotional, social, functional, contextual — whichever apply. Even "this is for me as the builder" is a valid persona for a hobby project.]
28
-
29
- ### 2.3 Non-Users (v1) *(add when the audience boundary is non-obvious)*
26
+ ### 2.2 Non-Users (v1) *(add when the audience boundary is non-obvious)*
30
27
  [Who this is explicitly not for in v1.]
31
28
 
32
- ### 2.4 Key User Journeys
29
+ ### 2.3 Key User Journeys
33
30
  *Named-persona narratives the product enables. Numbered globally as UJ-1 through UJ-N. FRs reference journeys by ID inline ("realizes UJ-3"); SMs may also cross-reference. If a UX doc already exists, mirror its UJ IDs here and point to the source.*
34
31
 
35
32
  **Default shape:** a named scene with entry state, path, climax, and resolution. Each beat forces specificity the team would otherwise leave implicit — auth assumptions, screen order, what tells the user value landed. Read together as a short narrative; the example below shows the form.
@@ -107,7 +107,7 @@ Look for:
107
107
  - Glossary present; every domain noun used identically across FRs, UJs, SM definitions.
108
108
  - FR / UJ / SM IDs contiguous, unique, and cross-references that resolve.
109
109
  - Each section makes sense pulled out alone — cross-references via Glossary terms, not "see above."
110
- - UJs each name a persona from §2 by exact label; no floating UJs.
110
+ - UJs each have a named protagonist; no floating UJs.
111
111
 
112
112
  For standalone PRDs (no downstream), this dimension matters less — say so.
113
113
 
@@ -115,14 +115,14 @@ For standalone PRDs (no downstream), this dimension matters less — say so.
115
115
 
116
116
  Has the PRD been forced into a shape that doesn't match the product?
117
117
 
118
- - Consumer product / multi-stakeholder B2B / meaningful UX → UJs and personas are load-bearing.
118
+ - Consumer product / multi-stakeholder B2B / meaningful UX → UJs with named protagonists are load-bearing.
119
119
  - Internal tool, single-operator role → capability spec shape; UJs may be overhead; SMs may be operational rather than user-facing.
120
120
  - Regulatory or compliance update → constraint traceability is non-negotiable; UJs may be irrelevant.
121
121
  - Hobby / solo → rigor light, substance bar still applies.
122
122
  - Brownfield → existing-code references must be accurate; new UJs and existing UJs must be distinguished.
123
123
  - Chain-top (feeds UX → architecture → stories) → downstream usability matters more; standalone PRDs can be lighter on traceability.
124
124
 
125
- Flag PRDs that are over-formalized (UJ density for a single-operator tool) or under-formalized (consumer product with no personas or UJs).
125
+ Flag PRDs that are over-formalized (UJ density for a single-operator tool) or under-formalized (consumer product with no UJs).
126
126
 
127
127
  ## Mechanical notes
128
128
 
@@ -131,5 +131,5 @@ Cover these as a tail section, not a primary dimension. They matter for downstre
131
131
  - Glossary drift (case, plural, synonyms across the PRD).
132
132
  - ID continuity (gaps, duplicates, unresolved cross-references).
133
133
  - Assumptions Index roundtrip (every inline `[ASSUMPTION]` indexed; index entries all appear inline).
134
- - UJ persona linkage (each UJ names a defined persona by exact label).
134
+ - UJ protagonist naming (each UJ has a named protagonist carrying context inline).
135
135
  - Required sections present for the agreed stakes and product type.
@@ -18,11 +18,11 @@ When ambiguous, default to interactive.
18
18
  The caller passes inputs in their first message (free-form structured payload; no fixed schema, but every field below should be present when applicable):
19
19
 
20
20
  - `intent` — `"create"`, `"update"`, or `"validate"`. If absent, infer from the artifact set.
21
- - For **Create**: a brief or product spec the LLM works from (plain text, file path, or URL), plus any persona/scope notes; `doc_workspace` if a specific run folder is required (otherwise the workflow binds the default).
21
+ - For **Create**: a brief or product spec the LLM works from (plain text, file path, or URL), plus any user/scope notes; `doc_workspace` if a specific run folder is required (otherwise the workflow binds the default).
22
22
  - For **Update**: the existing `prd.md` path (or a workspace path that contains one), and a change signal (the request: what to change and why).
23
23
  - For **Validate**: the existing `prd.md` path (or workspace path), and optionally a checklist override path. Workspace defaults to the PRD's containing directory.
24
24
 
25
- Anything the caller does not provide is either inferred from inputs/workspace or recorded as `assumptions[]` / `open_questions[]` in the JSON status. Do not invent persona detail, success metrics, or scope decisions to fill gaps — record them.
25
+ Anything the caller does not provide is either inferred from inputs/workspace or recorded as `assumptions[]` / `open_questions[]` in the JSON status. Do not invent user detail, success metrics, or scope decisions to fill gaps — record them.
26
26
 
27
27
  ## General
28
28
 
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: bmad-ux
3
+ description: Plan UX patterns and design specifications. Use when the user says "lets create UX design" or "create UX specifications" or "help me plan the UX"
4
+ ---
5
+ # BMad UX
6
+
7
+ ## Overview
8
+
9
+ You are a master UX facilitator. **Elicit and capture** the user's vision, never impose yours. Probe like a senior practitioner; never volunteer colors, patterns, or directions. Render options via creative tools when seeing helps; the picks are the user's.
10
+
11
+ Produce two peer contracts: **`DESIGN.md`** (visual identity per the [Google Labs spec](https://github.com/google-labs-code/design.md) — owns *how it looks*) and **`EXPERIENCE.md`** (information architecture, behavior, states, interactions, accessibility, journeys — owns *how it works*). EXPERIENCE.md cross-references DESIGN.md tokens by name using `{path.to.token}` syntax. Both spines win on conflict with any mock, wireframe, or import.
12
+
13
+ ## The DESIGN.md spine
14
+
15
+ Per the [Google Labs spec](https://github.com/google-labs-code/design.md). YAML frontmatter tokens (**colors** · **typography** · **rounded** · **spacing** · **components**) + markdown body in canonical order: **Brand & Style** · **Colors** · **Typography** · **Layout & Spacing** · **Elevation & Depth** · **Shapes** · **Components** · **Do's and Don'ts**. Sections omittable; order locked when present. Spec rules: `references/design-md-spec.md`. Shape: read every entry in `{workflow.design_md_examples}`.
16
+
17
+ ## The EXPERIENCE.md spine
18
+
19
+ Always: **Foundation** (form-factor, UI system when present; DESIGN.md is the visual identity reference) · **Information Architecture** · **Voice and Tone** (microcopy — brand voice lives in DESIGN.md.Brand & Style) · **Component Patterns** (behavioral — visual specs live in DESIGN.md.Components) · **State Patterns** · **Interaction Primitives** · **Accessibility Floor** (behavioral — visual contrast lives in DESIGN.md) · **Key Flows** (named-protagonist journeys with a climax beat).
20
+
21
+ When triggered: **Inspiration & Anti-patterns** · **Responsive & Platform**.
22
+
23
+ Invent sections for product-specific concerns. Shape: read every entry in `{workflow.experience_md_examples}`.
24
+
25
+ When Foundation names a UI system (shadcn, MUI, native UIKit, Compose, internal design system), both spines inherit from it; DESIGN.md tokens reference or extend the system's defaults, EXPERIENCE.md specifies only the behavioral delta.
26
+
27
+ ## Sources
28
+
29
+ UX may lead, follow, or stand alone. Inherit `sources:` by reference; the spines hold design and experience decisions, not duplicates of upstream product content.
30
+
31
+ ## On Activation
32
+
33
+ 1. Resolve customization: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`. On failure, read `{skill-root}/customize.toml` directly and use defaults.
34
+ 2. Run `{workflow.activation_steps_prepend}`. Treat `{workflow.persistent_facts}` as foundational context (entries prefixed `file:` are loaded). `{workflow.external_sources}` is an org-configured registry of internal tools; consult them alongside generic web research on the same triggers, org tools preferred when their directive matches.
35
+ 3. Load `{project-root}/_bmad/bmm/config.yaml` (+ `config.user.yaml` if present). Resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{project_name}`, `{date}`. Missing keys → neutral defaults; never block.
36
+ 4. If headless, follow `references/headless.md` for the whole run. Otherwise greet the user **by name** using `{user_name}` and **in their language** using `{communication_language}` — and stay in `{communication_language}` for every turn. In the greeting, let the user know `bmad-party-mode` and `bmad-advanced-elicitation` are always available. Then scan for misroute on the first message: PRD → `bmad-prd`; architecture → `bmad-create-architecture`; game UX → BMad GDS; agent/skill → `bmad-workflow-builder`; brief → `bmad-product-brief`.
37
+ 5. Detect intent: **Create**, **Update**, **Validate**. For Create, before binding a fresh workspace, scan `{workflow.ux_output_path}` for prior in-progress runs (folders matching `{workflow.run_folder_pattern}` whose `DESIGN.md` frontmatter `status` is not `final`) and offer to resume rather than starting over.
38
+
39
+ Run `{workflow.activation_steps_append}`.
40
+
41
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
42
+
43
+ ## Modes
44
+
45
+ **Create.** Bind `{doc_workspace}` to `{workflow.ux_output_path}/{workflow.run_folder_pattern}/`. Create `.working/`, `imports/`, `.decision-log.md`, `DESIGN.md` (frontmatter only), and `EXPERIENCE.md` (frontmatter only). Run Discovery → Finalize.
46
+
47
+ **Update.** Read spines + log + sources. Create the log if missing — this update is entry one. Surface conflicts with prior decisions. Run Finalize.
48
+
49
+ **Validate.** See `references/validate.md`.
50
+
51
+ ## Discovery
52
+
53
+ **Capture; do not author.** The spines are distilled at Finalize. Decisions → `.decision-log.md` (canonical). Creative-tool artifacts → `.working/`. User-supplied visuals (Figma, sketches, brand decks, image folders) → `imports/`, one log line per item. Spines win on conflict.
54
+
55
+ **Source scan.** Glob `{planning_artifacts}/` for candidate input paths; surface paths only — never read content in the parent. User confirms which apply or adds others; subagent-extracts on confirm.
56
+
57
+ Brain dump first — even when the user opens with paragraphs (that's intake). Subagent-extract big docs. One "anything else?" probe. Stakes: hobby / internal / consumer / regulated.
58
+
59
+ Working mode:
60
+
61
+ - **Fast path** — batch gaps, draft both spines with `[ASSUMPTION]` tags, skip creative tools.
62
+ - **Coaching path** — walk decisions; creative tools woven in.
63
+ - **Design handoff** — assemble captured Discovery into a producer-shaped prompt; user runs the external tool and saves outputs to `{doc_workspace}` in whatever format the tool emits. Producer registry: `{workflow.design_handoffs}` (default: Google Stitch). EXPERIENCE.md can follow via Update mode when ready.
64
+
65
+ Creative tools — scan `{workflow.creative_tools}`, invoke when seeing helps. Defaults: HTML color themes, design directions, Excalidraw wireframes; key-screen HTML mocks at Finalize. See `references/creative-tools.md`. Research subagents on demand; consult `{workflow.external_sources}` when entries match.
66
+
67
+ Concern scan — name what the UX carries: accessibility, platforms, brand, regulated language, motion, i18n, dark mode, offline, content density, input modalities, notifications. Open list; drives invented sections.
68
+
69
+ Journeys: user narrates a real session with a named protagonist (Mary, mom of three, kids asleep — not "the user"); structure into numbered steps with a climax beat. Mirror source-spec names verbatim when defined.
70
+
71
+ Form-factor: mobile / web / desktop / multi-surface must resolve before IA closes. Named-protagonist journeys often derive it (Pary on iPad implies an iPad surface; Skeeter on Android adds a multi-surface need); when journeys don't disambiguate, probe.
72
+
73
+ Surface closure: stated needs become screens through journeys. IA closes when every stated need has a surface that delivers it, and every surface has a journey that lands there. When closure fails, probe — never invent the missing piece.
74
+
75
+ ## Reviewer Gate
76
+
77
+ Used by Validate and Finalize. **Opt-in, lens-selectable** — reviewers are costly (parallel subagents, substantial token spend). At **Finalize**, first ask whether to run validation at all; default offered, easy skip. At **Validate** intent the user already opted in — skip that question. In both cases, present the lens menu and let the user pick all / a subset / none. Menu: rubric walker (`references/validate.md`) + `{workflow.finalize_reviewers}` + ad-hoc (accessibility for consumer / regulated; others by stakes and content). Picked lenses dispatch as parallel subagents → each writes `review-{slug}.md`, returns a compact summary. If any lens ran, run the synthesis pipeline in `references/validate.md`.
78
+
79
+ ## Finalize
80
+
81
+ Outcomes, in order:
82
+
83
+ - **Spines distilled.** Subagent reads `.decision-log.md`, `.working/`, `imports/`, sources; produces `DESIGN.md` against `## The DESIGN.md spine` + `{workflow.design_md_examples}` and `EXPERIENCE.md` against `## The EXPERIENCE.md spine` + `{workflow.experience_md_examples}`. Runs the rubric walker's Pass 1 coverage checks proactively (see `references/validate.md`). Surface gaps; never invent.
84
+ - **Inputs reconciled.** Subagent per user-supplied input → `reconcile-{slug}.md`. Surface dropped qualitative ideas.
85
+ - **Reviewer Gate offered.** Ask whether to run validation; if yes, present the lens menu (see `## Reviewer Gate`) and let the user pick. If any lens ran, resolve findings before polish; otherwise proceed.
86
+ - **Open items triaged.** Open Questions, `[ASSUMPTION]`, `[NOTE FOR UX]`. Phase-blockers one at a time; non-blockers → log.
87
+ - **Key-screen mocks rendered.** Key-screens tool → `.working/` for surfaces where layout drives behavior or anchors visual language.
88
+ - **Mock coverage confirmed.** Walk every IA surface; classify *mocked* vs *spine-only*. Ask: *"These will be built from spine tables alone — any need a visual reference?"* Render more if named; log spine-only choices.
89
+ - **Layout extracted, artifacts promoted.** Distill subagent re-reads each `.working/` and `imports/` artifact; lifts visual decisions into DESIGN.md and behavioral decisions into EXPERIENCE.md. Promote `.working/` keepers to `mockups/` (HTML) or `wireframes/` (Excalidraw); imports stay. Inline relative links at relevant spine sections; state spines-win-on-conflict once.
90
+ - **Polished, handed off, closed.** Apply `{workflow.doc_standards}` in order. Execute `{workflow.external_handoffs}`; surface URLs. Set both files' `status: final`, `updated: {date}`. Log finalization. Share paths. Common next: `bmad-create-architecture`, `bmad-create-epics-and-stories`, `bmad-dev-story`. Run `{workflow.on_complete}`.
@@ -0,0 +1,9 @@
1
+ # Color Themes Renderer
2
+
3
+ Subagent prompt. Produce one self-contained HTML page at the supplied `.working/color-themes-{n}.html` path showing 4-6 distinct theme variations side by side so the user can pick.
4
+
5
+ Each variation: header (name + one-line emotional register), token chips for every semantic role decided so far, and one realistic UI snippet using the palette (content drawn from the conversation, not lorem). Include light and dark side-by-side when both modes are in scope. Avoid near-identical pastels — variations must differ in register, not just hue.
6
+
7
+ Inline CSS only, system font stack, no JS, no network. Document concrete hex values in `<style>` comments per variation so the user can lift them if they pick that theme. The spine itself stays semantic.
8
+
9
+ Return to the parent: file path, one-line per variation, mode coverage. Do not dump HTML into the parent context. If interactive, open the file with `python3 -c "import webbrowser, pathlib; webbrowser.open(pathlib.Path('PATH').resolve().as_uri())"`.
@@ -0,0 +1,9 @@
1
+ # Design Directions Renderer
2
+
3
+ Subagent prompt. Produce 3-6 distinct visual directions for the product's hero screen, each a separate self-contained HTML file at `.working/direction-{slug}.html` (or one combined `directions-{n}.html` if the parent's intent says side-by-side).
4
+
5
+ Each direction is a *complete visual personality* applied to the same key screen — not a palette swap. Differ on density, type weight, motion implication, brand register. Each file: 2-3 sentence rationale, near-1:1 hero screen mockup in a phone or browser frame, ideally a secondary screen, at least one state variant visible (aging row, empty state, etc).
6
+
7
+ Use real product content from the conversation. Voice/tone from `.decision-log.md` applied to every visible string — no lorem. Inline CSS, system fonts, no JS or network. Document hex values in `<style>` comments per direction.
8
+
9
+ Return to the parent: file paths, one-line personality summary per direction, what hero screen was depicted. Do not dump HTML into parent context. If interactive, open each file in the browser.
@@ -0,0 +1,158 @@
1
+ ---
2
+ name: Linen & Logic
3
+ colors:
4
+ surface: '#fbf9f4'
5
+ surface-dim: '#dbdad5'
6
+ surface-bright: '#fbf9f4'
7
+ surface-container-lowest: '#ffffff'
8
+ surface-container-low: '#f5f3ee'
9
+ surface-container: '#f0eee9'
10
+ surface-container-high: '#eae8e3'
11
+ surface-container-highest: '#e4e2dd'
12
+ on-surface: '#1b1c19'
13
+ on-surface-variant: '#4e453d'
14
+ inverse-surface: '#30312e'
15
+ inverse-on-surface: '#f2f1ec'
16
+ outline: '#80756b'
17
+ outline-variant: '#d1c4b9'
18
+ surface-tint: '#715a3f'
19
+ primary: '#59452b'
20
+ on-primary: '#ffffff'
21
+ primary-container: '#735c41'
22
+ on-primary-container: '#f5d6b4'
23
+ inverse-primary: '#e0c1a1'
24
+ secondary: '#a43b2c'
25
+ on-secondary: '#ffffff'
26
+ secondary-container: '#fd7d69'
27
+ on-secondary-container: '#71160b'
28
+ tertiary: '#374a5f'
29
+ on-tertiary: '#ffffff'
30
+ tertiary-container: '#4f6278'
31
+ on-tertiary-container: '#caddf8'
32
+ error: '#ba1a1a'
33
+ on-error: '#ffffff'
34
+ error-container: '#ffdad6'
35
+ on-error-container: '#93000a'
36
+ primary-fixed: '#fdddbb'
37
+ primary-fixed-dim: '#e0c1a1'
38
+ on-primary-fixed: '#281804'
39
+ on-primary-fixed-variant: '#58432a'
40
+ secondary-fixed: '#ffdad4'
41
+ secondary-fixed-dim: '#ffb4a7'
42
+ on-secondary-fixed: '#400200'
43
+ on-secondary-fixed-variant: '#842417'
44
+ tertiary-fixed: '#d0e4ff'
45
+ tertiary-fixed-dim: '#b4c8e2'
46
+ on-tertiary-fixed: '#071d30'
47
+ on-tertiary-fixed-variant: '#35485d'
48
+ background: '#fbf9f4'
49
+ on-background: '#1b1c19'
50
+ surface-variant: '#e4e2dd'
51
+ typography:
52
+ display-lg:
53
+ fontFamily: Libre Caslon Text
54
+ fontSize: 48px
55
+ fontWeight: '400'
56
+ lineHeight: '1.1'
57
+ letterSpacing: -0.02em
58
+ display-lg-mobile:
59
+ fontFamily: Libre Caslon Text
60
+ fontSize: 36px
61
+ fontWeight: '400'
62
+ lineHeight: '1.1'
63
+ headline-md:
64
+ fontFamily: Libre Caslon Text
65
+ fontSize: 32px
66
+ fontWeight: '400'
67
+ lineHeight: '1.2'
68
+ headline-sm:
69
+ fontFamily: Libre Caslon Text
70
+ fontSize: 24px
71
+ fontWeight: '400'
72
+ lineHeight: '1.3'
73
+ body-lg:
74
+ fontFamily: DM Sans
75
+ fontSize: 18px
76
+ fontWeight: '400'
77
+ lineHeight: '1.6'
78
+ letterSpacing: 0.01em
79
+ body-md:
80
+ fontFamily: DM Sans
81
+ fontSize: 16px
82
+ fontWeight: '400'
83
+ lineHeight: '1.6'
84
+ label-caps:
85
+ fontFamily: DM Sans
86
+ fontSize: 12px
87
+ fontWeight: '500'
88
+ lineHeight: '1.4'
89
+ letterSpacing: 0.1em
90
+ caption:
91
+ fontFamily: DM Sans
92
+ fontSize: 13px
93
+ fontWeight: '400'
94
+ lineHeight: '1.4'
95
+ rounded:
96
+ sm: 0.125rem
97
+ DEFAULT: 0.25rem
98
+ md: 0.375rem
99
+ lg: 0.5rem
100
+ xl: 0.75rem
101
+ full: 9999px
102
+ spacing:
103
+ unit: 8px
104
+ gutter: 24px
105
+ margin-mobile: 20px
106
+ margin-desktop: 64px
107
+ editorial-gap: 80px
108
+ ---
109
+
110
+ ## Brand & Style
111
+
112
+ The design system is rooted in the philosophy of "Slow Design"—an intentional departure from the frantic pace of fast fashion. It evokes a tactile, "linen-weight" sensation through high-end editorial layouts and a restrained aesthetic. The target audience values provenance over presence, seeking a reflective and sophisticated discovery experience that feels as much like a boutique magazine as a digital marketplace.
113
+
114
+ The style is **Editorial Minimalism** with **Tactile** accents. It prioritizes breathable white space, asymmetrical layouts that mimic printed lookbooks, and a soft, sun-faded palette. Every interaction is designed to be deliberate and "anti-hype," eschewing aggressive animations for subtle transitions and quiet confidence.
115
+
116
+ ## Colors
117
+
118
+ The palette is inspired by natural fibers and weathered landscapes.
119
+ - **Warm White (#F9F7F2)** serves as the primary canvas, providing a soft, non-clinical background that reduces eye strain.
120
+ - **Bone (#E3DED1)** and **Dust (#C2B9A7)** are used for structural depth, subtle dividers, and secondary surfaces.
121
+ - **Tobacco (#735C41)** is the primary ink color, used for high-contrast typography and essential UI elements.
122
+ - **Sun-faded Red (#B84A39)** and **Wool Blanket Blue (#4A5D73)** are used sparingly as "organic accents"—highlighting editorial picks or signifying subtle state changes without disrupting the tranquil atmosphere.
123
+
124
+ ## Typography
125
+
126
+ Typography is the primary vehicle for the brand’s sophisticated voice.
127
+ - **Libre Caslon Text** is the voice of the curator. Its classic proportions and elegant serifs provide the editorial weight required for discovery and storytelling.
128
+ - **DM Sans** provides a quiet, functional counterpoint. It is used for body copy and navigational elements, ensuring clarity without competing with the headlines.
129
+
130
+ Large display titles should often use "optical sizing" logic—tighter leading and slightly negative letter spacing to create a cohesive visual block. Labels are always tracked out (0.1em) to maintain a sense of airy premiumness.
131
+
132
+ ## Layout & Spacing
133
+
134
+ This design system employs a **Fluid Editorial Grid**. While it follows a 12-column structure on desktop, it encourages "asymmetrical breathing room"—intentionally leaving columns empty to direct focus toward high-quality imagery.
135
+
136
+ Spacing is generous. The `editorial-gap` (80px+) should be used between major content sections to allow the user to pause and reflect. Mobile layouts should maintain a minimum of 20px side margins to ensure the content feels framed like a page, rather than bleeding to the edges of the device. Elements should lean toward vertical stacks to mimic the scroll of a digital journal.
137
+
138
+ ## Elevation & Depth
139
+
140
+ Depth is communicated through **Tonal Layering** and **Ambient Shadows** rather than sharp borders.
141
+ - **Surfaces:** Use the "Bone" color to define containers against the "Warm White" base.
142
+ - **Shadows:** Shadows are highly diffused and tinted with the "Tobacco" hue (`rgba(115, 92, 65, 0.08)`). They should feel like a soft glow of light hitting fabric, with large blur radii (20px+) and very low opacity.
143
+ - **Borders:** When borders are necessary, they are 1px thick and rendered in "Dust," creating a "ghost" outline that barely separates elements from the background.
144
+
145
+ ## Shapes
146
+
147
+ The shape language is **Soft (0.25rem)**. While a sharp edge feels too aggressive and a pill-shape feels too digital/tech-heavy, a subtle rounding of corners mimics the natural softening of woven textiles over time.
148
+
149
+ Larger containers (Cards, Modals) may use `rounded-lg` (0.5rem) to emphasize their tactile, object-like quality. Imagery should always follow these corner radii to maintain a cohesive, "framed" appearance.
150
+
151
+ ## Components
152
+
153
+ - **Buttons:** Primary buttons use a solid "Tobacco" fill with "Warm White" text. Secondary buttons are "Bone" with "Tobacco" text or simply "Tobacco" text with a 1px "Dust" border. Padding is generous horizontally to create an elegant, elongated silhouette.
154
+ - **Cards:** Editorial cards feature large imagery, a "headline-sm" title, and a "caption" subline. Shadows are only applied on hover to simulate a gentle lift.
155
+ - **Inputs:** Minimalist underlines in "Dust" that transition to "Tobacco" on focus. Label text remains in "label-caps" above the field.
156
+ - **Chips/Tags:** Used for material types (e.g., "100% Linen"). These are rendered in "Bone" backgrounds with "Tobacco" text, using the "Soft" corner radius.
157
+ - **Icons:** Must be "Hand-drawn" or "Fine-line" style. Lines should have slight imperfections and vary in weight to reinforce the tactile, artisanal nature of the fashion being discovered.
158
+ - **Navigation:** A simple, centered bottom bar or a top-weighted "Ghost" header that disappears on scroll to maximize the editorial viewport.