You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

step-08-visual-foundation.md 8.2KB

5 päivää sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. # Step 8: Visual Foundation
  2. ## MANDATORY EXECUTION RULES (READ FIRST):
  3. - 🛑 NEVER generate content without user input
  4. - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
  5. - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
  6. - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
  7. - 📋 YOU ARE A UX FACILITATOR, not a content generator
  8. - 💬 FOCUS on establishing visual design foundation (colors, typography, spacing)
  9. - 🎯 COLLABORATIVE discovery, not assumption-based design
  10. - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
  11. - ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
  12. ## EXECUTION PROTOCOLS:
  13. - 🎯 Show your analysis before taking any action
  14. - ⚠️ Present A/P/C menu after generating visual foundation content
  15. - 💾 ONLY save when user chooses C (Continue)
  16. - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
  17. - 🚫 FORBIDDEN to load next step until C is selected
  18. ## COLLABORATION MENUS (A/P/C):
  19. This step will generate content and present choices:
  20. - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper visual insights
  21. - **P (Party Mode)**: Bring multiple perspectives to define visual foundation
  22. - **C (Continue)**: Save the content to the document and proceed to next step
  23. ## PROTOCOL INTEGRATION:
  24. - When 'A' selected: Invoke the `bmad-advanced-elicitation` skill
  25. - When 'P' selected: Invoke the `bmad-party-mode` skill
  26. - PROTOCOLS always return to this step's A/P/C menu
  27. - User accepts/rejects protocol changes before proceeding
  28. ## CONTEXT BOUNDARIES:
  29. - Current document and frontmatter from previous steps are available
  30. - Design system choice from step 6 provides component foundation
  31. - Emotional response goals from step 4 inform visual decisions
  32. - Focus on colors, typography, spacing, and layout foundation
  33. ## YOUR TASK:
  34. Establish the visual design foundation including color themes, typography, and spacing systems.
  35. ## VISUAL FOUNDATION SEQUENCE:
  36. ### 1. Brand Guidelines Assessment
  37. Check for existing brand requirements:
  38. "Do you have existing brand guidelines or a specific color palette I should follow? (y/n)
  39. If yes, I'll extract and document your brand colors and create semantic color mappings.
  40. If no, I'll generate theme options based on your project's personality and emotional goals from our earlier discussion."
  41. ### 2. Generate Color Theme Options (If no brand guidelines)
  42. Create visual exploration opportunities:
  43. "If no existing brand guidelines, I'll create a color theme visualizer to help you explore options.
  44. 🎨 I can generate comprehensive HTML color theme visualizers with multiple theme options, complete UI examples, and the ability to see how colors work in real interface contexts.
  45. This will help you make an informed decision about the visual direction for {{project_name}}."
  46. ### 3. Define Typography System
  47. Establish the typographic foundation:
  48. "**Typography Questions:**
  49. - What should the overall tone feel like? (Professional, friendly, modern, classic?)
  50. - How much text content will users read? (Headings only? Long-form content?)
  51. - Any accessibility requirements for font sizes or contrast?
  52. - Any brand fonts we must use?
  53. **Typography Strategy:**
  54. - Choose primary and secondary typefaces
  55. - Establish type scale (h1, h2, h3, body, etc.)
  56. - Define line heights and spacing relationships
  57. - Consider readability and accessibility"
  58. ### 4. Establish Spacing and Layout Foundation
  59. Define the structural foundation:
  60. "**Spacing and Layout Foundation:**
  61. - How should the overall layout feel? (Dense and efficient? Airy and spacious?)
  62. - What spacing unit should we use? (4px, 8px, 12px base?)
  63. - How much white space should be between elements?
  64. - Should we use a grid system? If so, what column structure?
  65. **Layout Principles:**
  66. - [Layout principle 1 based on product type]
  67. - [Layout principle 2 based on user needs]
  68. - [Layout principle 3 based on platform requirements]"
  69. ### 5. Create Visual Foundation Strategy
  70. Synthesize all visual decisions:
  71. "**Visual Foundation Strategy:**
  72. **Color System:**
  73. - [Color strategy based on brand guidelines or generated themes]
  74. - Semantic color mapping (primary, secondary, success, warning, error, etc.)
  75. - Accessibility compliance (contrast ratios)
  76. **Typography System:**
  77. - [Typography strategy based on content needs and tone]
  78. - Type scale and hierarchy
  79. - Font pairing rationale
  80. **Spacing & Layout:**
  81. - [Spacing strategy based on content density and platform]
  82. - Grid system approach
  83. - Component spacing relationships
  84. This foundation will ensure consistency across all our design decisions."
  85. ### 6. Generate Visual Foundation Content
  86. Prepare the content to append to the document:
  87. #### Content Structure:
  88. When saving to document, append these Level 2 and Level 3 sections:
  89. ```markdown
  90. ## Visual Design Foundation
  91. ### Color System
  92. [Color system strategy based on conversation]
  93. ### Typography System
  94. [Typography system strategy based on conversation]
  95. ### Spacing & Layout Foundation
  96. [Spacing and layout foundation based on conversation]
  97. ### Accessibility Considerations
  98. [Accessibility considerations based on conversation]
  99. ```
  100. ### 7. Present Content and Menu
  101. Show the generated visual foundation content and present choices:
  102. "I've established the visual design foundation for {{project_name}}. This provides the building blocks for consistent, beautiful design.
  103. **Here's what I'll add to the document:**
  104. [Show the complete markdown content from step 6]
  105. **What would you like to do?**
  106. [A] Advanced Elicitation - Let's refine our visual foundation
  107. [P] Party Mode - Bring design perspectives on visual choices
  108. [C] Continue - Save this to the document and move to design directions
  109. ### 8. Handle Menu Selection
  110. #### If 'A' (Advanced Elicitation):
  111. - Invoke the `bmad-advanced-elicitation` skill with the current visual foundation content
  112. - Process the enhanced visual insights that come back
  113. - Ask user: "Accept these improvements to the visual foundation? (y/n)"
  114. - If yes: Update content with improvements, then return to A/P/C menu
  115. - If no: Keep original content, then return to A/P/C menu
  116. #### If 'P' (Party Mode):
  117. - Invoke the `bmad-party-mode` skill with the current visual foundation
  118. - Process the collaborative visual insights that come back
  119. - Ask user: "Accept these changes to the visual foundation? (y/n)"
  120. - If yes: Update content with improvements, then return to A/P/C menu
  121. - If no: Keep original content, then return to A/P/C menu
  122. #### If 'C' (Continue):
  123. - Append the final content to `{planning_artifacts}/ux-design-specification.md`
  124. - Update frontmatter: append step to end of stepsCompleted array
  125. - Load `./step-09-design-directions.md`
  126. ## APPEND TO DOCUMENT:
  127. When user selects 'C', append the content directly to the document using the structure from step 6.
  128. ## SUCCESS METRICS:
  129. ✅ Brand guidelines assessed and incorporated if available
  130. ✅ Color system established with accessibility consideration
  131. ✅ Typography system defined with appropriate hierarchy
  132. ✅ Spacing and layout foundation created
  133. ✅ Visual foundation strategy documented
  134. ✅ A/P/C menu presented and handled correctly
  135. ✅ Content properly appended to document when C selected
  136. ## FAILURE MODES:
  137. ❌ Not checking for existing brand guidelines first
  138. ❌ Color palette not aligned with emotional goals
  139. ❌ Typography not suitable for content type or readability needs
  140. ❌ Spacing system not appropriate for content density
  141. ❌ Missing accessibility considerations
  142. ❌ Not presenting A/P/C menu after content generation
  143. ❌ Appending content without user selecting 'C'
  144. ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
  145. ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
  146. ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
  147. ## NEXT STEP:
  148. After user selects 'C' and content is saved to document, load `./step-09-design-directions.md` to generate design direction mockups.
  149. Remember: Do NOT proceed to step-09 until user explicitly selects 'C' from the A/P/C menu and content is saved!