bmad-method 4.27.0 → 4.27.2

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 (99) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/bmad-core/agent-teams/team-all.yaml +6 -6
  3. package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
  4. package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
  5. package/bmad-core/agents/analyst.md +17 -20
  6. package/bmad-core/agents/architect.md +15 -18
  7. package/bmad-core/agents/bmad-master.md +55 -56
  8. package/bmad-core/agents/bmad-orchestrator.md +24 -23
  9. package/bmad-core/agents/dev.md +10 -10
  10. package/bmad-core/agents/pm.md +17 -20
  11. package/bmad-core/agents/po.md +12 -15
  12. package/bmad-core/agents/qa.md +7 -8
  13. package/bmad-core/agents/sm.md +8 -13
  14. package/bmad-core/agents/ux-expert.md +7 -11
  15. package/bmad-core/core-config.yaml +1 -1
  16. package/bmad-core/templates/architecture-tmpl.yaml +650 -0
  17. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  18. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  19. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  20. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  21. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  22. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  23. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
  24. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  25. package/bmad-core/templates/{prd-tmpl2.yaml → prd-tmpl.yaml} +3 -3
  26. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  27. package/bmad-core/templates/story-tmpl.yaml +137 -0
  28. package/common/tasks/create-doc.md +55 -67
  29. package/common/utils/bmad-doc-template.md +29 -0
  30. package/dist/agents/analyst.txt +1004 -1061
  31. package/dist/agents/architect.txt +2460 -2872
  32. package/dist/agents/bmad-master.txt +3842 -4354
  33. package/dist/agents/bmad-orchestrator.txt +211 -87
  34. package/dist/agents/dev.txt +4 -8
  35. package/dist/agents/pm.txt +557 -587
  36. package/dist/agents/po.txt +149 -102
  37. package/dist/agents/qa.txt +145 -35
  38. package/dist/agents/sm.txt +145 -100
  39. package/dist/agents/ux-expert.txt +413 -522
  40. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1258 -1236
  41. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +623 -573
  42. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +263 -248
  43. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9135 -4942
  44. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +288 -251
  45. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1123 -1145
  46. package/dist/teams/team-all.txt +4583 -4837
  47. package/dist/teams/team-fullstack.txt +5276 -5520
  48. package/dist/teams/team-ide-minimal.txt +375 -185
  49. package/dist/teams/team-no-ui.txt +4875 -5051
  50. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  51. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  52. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  53. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  54. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  55. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  56. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  57. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  58. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  59. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  60. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  61. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  62. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  63. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  64. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  65. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  66. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  67. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  68. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  69. package/package.json +1 -1
  70. package/tools/builders/web-builder.js +65 -85
  71. package/tools/installer/package.json +1 -1
  72. package/tools/lib/dependency-resolver.js +8 -19
  73. package/zoo/docs/architecture.md +812 -0
  74. package/zoo/docs/brief.md +253 -0
  75. package/zoo/docs/prd.md +500 -0
  76. package/zoo/docs/stories/1.1.story.md +278 -0
  77. package/bmad-core/templates/architecture-tmpl.md +0 -776
  78. package/bmad-core/templates/brainstorming-output-tmpl.md +0 -149
  79. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  80. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  81. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  82. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  83. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  84. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  85. package/bmad-core/templates/market-research-tmpl.md +0 -263
  86. package/bmad-core/templates/prd-tmpl.md +0 -202
  87. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  88. package/bmad-core/templates/story-tmpl.md +0 -58
  89. package/common/tasks/create-doc2.md +0 -65
  90. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  91. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  92. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  93. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  94. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  95. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  96. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  97. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  98. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  99. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
@@ -1,175 +0,0 @@
1
- # {{Project Name}} Frontend Architecture Document
2
-
3
- [[LLM: The default path and filename unless specified is docs/ui-architecture.md]]
4
-
5
- [[LLM: Review provided documents including PRD, UX-UI Specification, and main Architecture Document. Focus on extracting technical implementation details needed for AI frontend tools and developer agents. Ask the user for any of these documents if you are unable to locate and were not provided.]]
6
-
7
- ## Template and Framework Selection
8
-
9
- [[LLM: Before proceeding with frontend architecture design, check if the project is using a frontend starter template or existing codebase:
10
-
11
- 1. Review the PRD, main architecture document, and brainstorming brief for mentions of:
12
-
13
- - Frontend starter templates (e.g., Create React App, Next.js, Vite, Vue CLI, Angular CLI, etc.)
14
- - UI kit or component library starters
15
- - Existing frontend projects being used as a foundation
16
- - Admin dashboard templates or other specialized starters
17
- - Design system implementations
18
-
19
- 2. If a frontend starter template or existing project is mentioned:
20
-
21
- - Ask the user to provide access via one of these methods:
22
- - Link to the starter template documentation
23
- - Upload/attach the project files (for small projects)
24
- - Share a link to the project repository
25
- - Analyze the starter/existing project to understand:
26
- - Pre-installed dependencies and versions
27
- - Folder structure and file organization
28
- - Built-in components and utilities
29
- - Styling approach (CSS modules, styled-components, Tailwind, etc.)
30
- - State management setup (if any)
31
- - Routing configuration
32
- - Testing setup and patterns
33
- - Build and development scripts
34
-
35
- - Use this analysis to ensure your frontend architecture aligns with the starter's patterns
36
-
37
- 3. If no frontend starter is mentioned but this is a new UI, ensure we know what the ui language and framework is:
38
-
39
- - Based on the framework choice, suggest appropriate starters:
40
- - React: Create React App, Next.js, Vite + React
41
- - Vue: Vue CLI, Nuxt.js, Vite + Vue
42
- - Angular: Angular CLI
43
- - Or suggest popular UI templates if applicable
44
- - Explain benefits specific to frontend development
45
-
46
- 4. If the user confirms no starter template will be used:
47
- - Note that all tooling, bundling, and configuration will need manual setup
48
- - Proceed with frontend architecture from scratch
49
-
50
- Document the starter template decision and any constraints it imposes before proceeding.]]
51
-
52
- ### Change Log
53
-
54
- [[LLM: Track document versions and changes]]
55
-
56
- | Date | Version | Description | Author |
57
- | :--- | :------ | :---------- | :----- |
58
-
59
- ## Frontend Tech Stack
60
-
61
- [[LLM: Extract from main architecture's Technology Stack Table. This section MUST remain synchronized with the main architecture document. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
62
-
63
- ### Technology Stack Table
64
-
65
- | Category | Technology | Version | Purpose | Rationale |
66
- | :-------------------- | :------------------- | :---------- | :---------- | :------------- |
67
- | **Framework** | {{framework}} | {{version}} | {{purpose}} | {{why_chosen}} |
68
- | **UI Library** | {{ui_library}} | {{version}} | {{purpose}} | {{why_chosen}} |
69
- | **State Management** | {{state_management}} | {{version}} | {{purpose}} | {{why_chosen}} |
70
- | **Routing** | {{routing_library}} | {{version}} | {{purpose}} | {{why_chosen}} |
71
- | **Build Tool** | {{build_tool}} | {{version}} | {{purpose}} | {{why_chosen}} |
72
- | **Styling** | {{styling_solution}} | {{version}} | {{purpose}} | {{why_chosen}} |
73
- | **Testing** | {{test_framework}} | {{version}} | {{purpose}} | {{why_chosen}} |
74
- | **Component Library** | {{component_lib}} | {{version}} | {{purpose}} | {{why_chosen}} |
75
- | **Form Handling** | {{form_library}} | {{version}} | {{purpose}} | {{why_chosen}} |
76
- | **Animation** | {{animation_lib}} | {{version}} | {{purpose}} | {{why_chosen}} |
77
- | **Dev Tools** | {{dev_tools}} | {{version}} | {{purpose}} | {{why_chosen}} |
78
-
79
- [[LLM: Fill in appropriate technology choices based on the selected framework and project requirements.]]
80
-
81
- ## Project Structure
82
-
83
- [[LLM: Define exact directory structure for AI tools based on the chosen framework. Be specific about where each type of file goes. Generate a structure that follows the framework's best practices and conventions. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
84
-
85
- ## Component Standards
86
-
87
- [[LLM: Define exact patterns for component creation based on the chosen framework. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
88
-
89
- ### Component Template
90
-
91
- [[LLM: Generate a minimal but complete component template following the framework's best practices. Include TypeScript types, proper imports, and basic structure.]]
92
-
93
- ### Naming Conventions
94
-
95
- [[LLM: Provide naming conventions specific to the chosen framework for components, files, services, state management, and other architectural elements.]]
96
-
97
- ## State Management
98
-
99
- [[LLM: Define state management patterns based on the chosen framework. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
100
-
101
- ### Store Structure
102
-
103
- [[LLM: Generate the state management directory structure appropriate for the chosen framework and selected state management solution.]]
104
-
105
- ### State Management Template
106
-
107
- [[LLM: Provide a basic state management template/example following the framework's recommended patterns. Include TypeScript types and common operations like setting, updating, and clearing state.]]
108
-
109
- ## API Integration
110
-
111
- [[LLM: Define API service patterns based on the chosen framework. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
112
-
113
- ### Service Template
114
-
115
- [[LLM: Provide an API service template that follows the framework's conventions. Include proper TypeScript types, error handling, and async patterns.]]
116
-
117
- ### API Client Configuration
118
-
119
- [[LLM: Show how to configure the HTTP client for the chosen framework, including authentication interceptors/middleware and error handling.]]
120
-
121
- ## Routing
122
-
123
- [[LLM: Define routing structure and patterns based on the chosen framework. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
124
-
125
- ### Route Configuration
126
-
127
- [[LLM: Provide routing configuration appropriate for the chosen framework. Include protected route patterns, lazy loading where applicable, and authentication guards/middleware.]]
128
-
129
- ## Styling Guidelines
130
-
131
- [[LLM: Define styling approach based on the chosen framework. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
132
-
133
- ### Styling Approach
134
-
135
- [[LLM: Describe the styling methodology appropriate for the chosen framework (CSS Modules, Styled Components, Tailwind, etc.) and provide basic patterns.]]
136
-
137
- ### Global Theme Variables
138
-
139
- [[LLM: Provide a CSS custom properties (CSS variables) theme system that works across all frameworks. Include colors, spacing, typography, shadows, and dark mode support.]]
140
-
141
- ## Testing Requirements
142
-
143
- [[LLM: Define minimal testing requirements based on the chosen framework. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
144
-
145
- ### Component Test Template
146
-
147
- [[LLM: Provide a basic component test template using the framework's recommended testing library. Include examples of rendering tests, user interaction tests, and mocking.]]
148
-
149
- ### Testing Best Practices
150
-
151
- 1. **Unit Tests**: Test individual components in isolation
152
- 2. **Integration Tests**: Test component interactions
153
- 3. **E2E Tests**: Test critical user flows (using Cypress/Playwright)
154
- 4. **Coverage Goals**: Aim for 80% code coverage
155
- 5. **Test Structure**: Arrange-Act-Assert pattern
156
- 6. **Mock External Dependencies**: API calls, routing, state management
157
-
158
- ## Environment Configuration
159
-
160
- [[LLM: List required environment variables based on the chosen framework. Show the appropriate format and naming conventions for the framework. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
161
-
162
- ## Frontend Developer Standards
163
-
164
- ### Critical Coding Rules
165
-
166
- [[LLM: List essential rules that prevent common AI mistakes, including both universal rules and framework-specific ones. After presenting this section, apply `tasks#advanced-elicitation` protocol]]
167
-
168
- ### Quick Reference
169
-
170
- [[LLM: Create a framework-specific cheat sheet with:
171
-
172
- - Common commands (dev server, build, test)
173
- - Key import patterns
174
- - File naming conventions
175
- - Project-specific patterns and utilities]]
@@ -1,413 +0,0 @@
1
- # {{Project Name}} UI/UX Specification
2
-
3
- [[LLM: The default path and filename unless specified is docs/front-end-spec.md]]
4
-
5
- [[LLM: Review provided documents including Project Brief, PRD, and any user research to gather context. Focus on understanding user needs, pain points, and desired outcomes before beginning the specification.]]
6
-
7
- ## Introduction
8
-
9
- [[LLM: Establish the document's purpose and scope. Keep the content below but ensure project name is properly substituted.]]
10
-
11
- This document defines the user experience goals, information architecture, user flows, and visual design specifications for {{Project Name}}'s user interface. It serves as the foundation for visual design and frontend development, ensuring a cohesive and user-centered experience.
12
-
13
- ### Overall UX Goals & Principles
14
-
15
- [[LLM: Work with the user to establish and document the following. If not already defined, facilitate a discussion to determine:
16
-
17
- 1. Target User Personas - elicit details or confirm existing ones from PRD
18
- 2. Key Usability Goals - understand what success looks like for users
19
- 3. Core Design Principles - establish 3-5 guiding principles
20
-
21
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
22
-
23
- ### Target User Personas
24
-
25
- {{persona_descriptions}}
26
-
27
- @{example: personas}
28
-
29
- - **Power User:** Technical professionals who need advanced features and efficiency
30
- - **Casual User:** Occasional users who prioritize ease of use and clear guidance
31
- - **Administrator:** System managers who need control and oversight capabilities
32
- @{/example}
33
-
34
- ### Usability Goals
35
-
36
- {{usability_goals}}
37
-
38
- @{example: usability_goals}
39
-
40
- - Ease of learning: New users can complete core tasks within 5 minutes
41
- - Efficiency of use: Power users can complete frequent tasks with minimal clicks
42
- - Error prevention: Clear validation and confirmation for destructive actions
43
- - Memorability: Infrequent users can return without relearning
44
- @{/example}
45
-
46
- ### Design Principles
47
-
48
- {{design_principles}}
49
-
50
- @{example: design_principles}
51
-
52
- 1. **Clarity over cleverness** - Prioritize clear communication over aesthetic innovation
53
- 2. **Progressive disclosure** - Show only what's needed, when it's needed
54
- 3. **Consistent patterns** - Use familiar UI patterns throughout the application
55
- 4. **Immediate feedback** - Every action should have a clear, immediate response
56
- 5. **Accessible by default** - Design for all users from the start
57
- @{/example}
58
-
59
- ### Change Log
60
-
61
- [[LLM: Track document versions and changes]]
62
-
63
- | Date | Version | Description | Author |
64
- | :--- | :------ | :---------- | :----- |
65
-
66
- ## Information Architecture (IA)
67
-
68
- [[LLM: Collaborate with the user to create a comprehensive information architecture:
69
-
70
- 1. Build a Site Map or Screen Inventory showing all major areas
71
- 2. Define the Navigation Structure (primary, secondary, breadcrumbs)
72
- 3. Use Mermaid diagrams for visual representation
73
- 4. Consider user mental models and expected groupings
74
-
75
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
76
-
77
- ### Site Map / Screen Inventory
78
-
79
- ```mermaid
80
- {{sitemap_diagram}}
81
- ```
82
-
83
- @{example: sitemap}
84
-
85
- ```mermaid
86
- graph TD
87
- A[Homepage] --> B[Dashboard]
88
- A --> C[Products]
89
- A --> D[Account]
90
- B --> B1[Analytics]
91
- B --> B2[Recent Activity]
92
- C --> C1[Browse]
93
- C --> C2[Search]
94
- C --> C3[Product Details]
95
- D --> D1[Profile]
96
- D --> D2[Settings]
97
- D --> D3[Billing]
98
- ```
99
-
100
- @{/example}
101
-
102
- ### Navigation Structure
103
-
104
- **Primary Navigation:** {{primary_nav_description}}
105
-
106
- **Secondary Navigation:** {{secondary_nav_description}}
107
-
108
- **Breadcrumb Strategy:** {{breadcrumb_strategy}}
109
-
110
- ## User Flows
111
-
112
- [[LLM: For each critical user task identified in the PRD:
113
-
114
- 1. Define the user's goal clearly
115
- 2. Map out all steps including decision points
116
- 3. Consider edge cases and error states
117
- 4. Use Mermaid flow diagrams for clarity
118
- 5. Link to external tools (Figma/Miro) if detailed flows exist there
119
-
120
- Create subsections for each major flow. After presenting all flows, apply `tasks#advanced-elicitation` protocol]]
121
-
122
- <<REPEAT: user_flow>>
123
-
124
- ### {{flow_name}}
125
-
126
- **User Goal:** {{flow_goal}}
127
-
128
- **Entry Points:** {{entry_points}}
129
-
130
- **Success Criteria:** {{success_criteria}}
131
-
132
- #### Flow Diagram
133
-
134
- ```mermaid
135
- {{flow_diagram}}
136
- ```
137
-
138
- **Edge Cases & Error Handling:**
139
-
140
- - {{edge_case_1}}
141
- - {{edge_case_2}}
142
-
143
- **Notes:** {{flow_notes}}
144
- <</REPEAT>>
145
-
146
- @{example: user_flow}
147
-
148
- ### User Registration
149
-
150
- **User Goal:** Create a new account to access the platform
151
-
152
- **Entry Points:** Homepage CTA, Login page link, Marketing landing pages
153
-
154
- **Success Criteria:** User successfully creates account and reaches dashboard
155
-
156
- #### Flow Diagram
157
-
158
- ```mermaid
159
- graph TD
160
- Start[Landing Page] --> Click[Click Sign Up]
161
- Click --> Form[Registration Form]
162
- Form --> Fill[Fill Required Fields]
163
- Fill --> Submit[Submit Form]
164
- Submit --> Validate{Valid?}
165
- Validate -->|No| Error[Show Errors]
166
- Error --> Form
167
- Validate -->|Yes| Verify[Email Verification]
168
- Verify --> Complete[Account Created]
169
- Complete --> Dashboard[Redirect to Dashboard]
170
- ```
171
-
172
- **Edge Cases & Error Handling:**
173
-
174
- - Duplicate email: Show inline error with password recovery option
175
- - Weak password: Real-time feedback on password strength
176
- - Network error: Preserve form data and show retry option
177
- @{/example}
178
-
179
- ## Wireframes & Mockups
180
-
181
- [[LLM: Clarify where detailed visual designs will be created (Figma, Sketch, etc.) and how to reference them. If low-fidelity wireframes are needed, offer to help conceptualize layouts for key screens.
182
-
183
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
184
-
185
- **Primary Design Files:** {{design_tool_link}}
186
-
187
- ### Key Screen Layouts
188
-
189
- <<REPEAT: screen_layout>>
190
-
191
- #### {{screen_name}}
192
-
193
- **Purpose:** {{screen_purpose}}
194
-
195
- **Key Elements:**
196
-
197
- - {{element_1}}
198
- - {{element_2}}
199
- - {{element_3}}
200
-
201
- **Interaction Notes:** {{interaction_notes}}
202
-
203
- **Design File Reference:** {{specific_frame_link}}
204
- <</REPEAT>>
205
-
206
- ## Component Library / Design System
207
-
208
- [[LLM: Discuss whether to use an existing design system or create a new one. If creating new, identify foundational components and their key states. Note that detailed technical specs belong in front-end-architecture.
209
-
210
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
211
-
212
- **Design System Approach:** {{design_system_approach}}
213
-
214
- ### Core Components
215
-
216
- <<REPEAT: component>>
217
-
218
- #### {{component_name}}
219
-
220
- **Purpose:** {{component_purpose}}
221
-
222
- **Variants:** {{component_variants}}
223
-
224
- **States:** {{component_states}}
225
-
226
- **Usage Guidelines:** {{usage_guidelines}}
227
- <</REPEAT>>
228
-
229
- @{example: component}
230
-
231
- #### Button
232
-
233
- **Purpose:** Primary interaction element for user actions
234
-
235
- **Variants:** Primary, Secondary, Tertiary, Destructive
236
-
237
- **States:** Default, Hover, Active, Disabled, Loading
238
-
239
- **Usage Guidelines:**
240
-
241
- - Use Primary for main CTAs (one per view)
242
- - Secondary for supporting actions
243
- - Destructive only for permanent deletions with confirmation
244
- @{/example}
245
-
246
- ## Branding & Style Guide
247
-
248
- [[LLM: Link to existing style guide or define key brand elements. Ensure consistency with company brand guidelines if they exist.
249
-
250
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
251
-
252
- ### Visual Identity
253
-
254
- **Brand Guidelines:** {{brand_guidelines_link}}
255
-
256
- ### Color Palette
257
-
258
- | Color Type | Hex Code | Usage |
259
- | :------------ | :------------------ | :------------------------------- |
260
- | **Primary** | {{primary_color}} | {{primary_usage}} |
261
- | **Secondary** | {{secondary_color}} | {{secondary_usage}} |
262
- | **Accent** | {{accent_color}} | {{accent_usage}} |
263
- | **Success** | {{success_color}} | Positive feedback, confirmations |
264
- | **Warning** | {{warning_color}} | Cautions, important notices |
265
- | **Error** | {{error_color}} | Errors, destructive actions |
266
- | **Neutral** | {{neutral_colors}} | Text, borders, backgrounds |
267
-
268
- ### Typography
269
-
270
- **Font Families:**
271
-
272
- - **Primary:** {{primary_font}}
273
- - **Secondary:** {{secondary_font}}
274
- - **Monospace:** {{mono_font}}
275
-
276
- **Type Scale:**
277
- | Element | Size | Weight | Line Height |
278
- |:--------|:-----|:-------|:------------|
279
- | H1 | {{h1_size}} | {{h1_weight}} | {{h1_line}} |
280
- | H2 | {{h2_size}} | {{h2_weight}} | {{h2_line}} |
281
- | H3 | {{h3_size}} | {{h3_weight}} | {{h3_line}} |
282
- | Body | {{body_size}} | {{body_weight}} | {{body_line}} |
283
- | Small | {{small_size}} | {{small_weight}} | {{small_line}} |
284
-
285
- ### Iconography
286
-
287
- **Icon Library:** {{icon_library}}
288
-
289
- **Usage Guidelines:** {{icon_guidelines}}
290
-
291
- ### Spacing & Layout
292
-
293
- **Grid System:** {{grid_system}}
294
-
295
- **Spacing Scale:** {{spacing_scale}}
296
-
297
- ## Accessibility Requirements
298
-
299
- [[LLM: Define specific accessibility requirements based on target compliance level and user needs. Be comprehensive but practical.
300
-
301
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
302
-
303
- ### Compliance Target
304
-
305
- **Standard:** {{compliance_standard}}
306
-
307
- ### Key Requirements
308
-
309
- **Visual:**
310
-
311
- - Color contrast ratios: {{contrast_requirements}}
312
- - Focus indicators: {{focus_requirements}}
313
- - Text sizing: {{text_requirements}}
314
-
315
- **Interaction:**
316
-
317
- - Keyboard navigation: {{keyboard_requirements}}
318
- - Screen reader support: {{screen_reader_requirements}}
319
- - Touch targets: {{touch_requirements}}
320
-
321
- **Content:**
322
-
323
- - Alternative text: {{alt_text_requirements}}
324
- - Heading structure: {{heading_requirements}}
325
- - Form labels: {{form_requirements}}
326
-
327
- ### Testing Strategy
328
-
329
- {{accessibility_testing}}
330
-
331
- ## Responsiveness Strategy
332
-
333
- [[LLM: Define breakpoints and adaptation strategies for different device sizes. Consider both technical constraints and user contexts.
334
-
335
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
336
-
337
- ### Breakpoints
338
-
339
- | Breakpoint | Min Width | Max Width | Target Devices |
340
- | :--------- | :-------------- | :-------------- | :------------------ |
341
- | Mobile | {{mobile_min}} | {{mobile_max}} | {{mobile_devices}} |
342
- | Tablet | {{tablet_min}} | {{tablet_max}} | {{tablet_devices}} |
343
- | Desktop | {{desktop_min}} | {{desktop_max}} | {{desktop_devices}} |
344
- | Wide | {{wide_min}} | - | {{wide_devices}} |
345
-
346
- ### Adaptation Patterns
347
-
348
- **Layout Changes:** {{layout_adaptations}}
349
-
350
- **Navigation Changes:** {{nav_adaptations}}
351
-
352
- **Content Priority:** {{content_adaptations}}
353
-
354
- **Interaction Changes:** {{interaction_adaptations}}
355
-
356
- ## Animation & Micro-interactions
357
-
358
- [[LLM: Define motion design principles and key interactions. Keep performance and accessibility in mind.
359
-
360
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
361
-
362
- ### Motion Principles
363
-
364
- {{motion_principles}}
365
-
366
- ### Key Animations
367
-
368
- <<REPEAT: animation>>
369
-
370
- - **{{animation_name}}:** {{animation_description}} (Duration: {{duration}}, Easing: {{easing}})
371
- <</REPEAT>>
372
-
373
- ## Performance Considerations
374
-
375
- [[LLM: Define performance goals and strategies that impact UX design decisions.]]
376
-
377
- ### Performance Goals
378
-
379
- - **Page Load:** {{load_time_goal}}
380
- - **Interaction Response:** {{interaction_goal}}
381
- - **Animation FPS:** {{animation_goal}}
382
-
383
- ### Design Strategies
384
-
385
- {{performance_strategies}}
386
-
387
- ## Next Steps
388
-
389
- [[LLM: After completing the UI/UX specification:
390
-
391
- 1. Recommend review with stakeholders
392
- 2. Suggest creating/updating visual designs in design tool
393
- 3. Prepare for handoff to Design Architect for frontend architecture
394
- 4. Note any open questions or decisions needed]]
395
-
396
- ### Immediate Actions
397
-
398
- 1. {{next_step_1}}
399
- 2. {{next_step_2}}
400
- 3. {{next_step_3}}
401
-
402
- ### Design Handoff Checklist
403
-
404
- - [ ] All user flows documented
405
- - [ ] Component inventory complete
406
- - [ ] Accessibility requirements defined
407
- - [ ] Responsive strategy clear
408
- - [ ] Brand guidelines incorporated
409
- - [ ] Performance goals established
410
-
411
- ## Checklist Results
412
-
413
- [[LLM: If a UI/UX checklist exists, run it against this document and report results here.]]