@rdmind/rdmind 0.0.9-alpha.0 → 0.0.9-alpha.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 (106) hide show
  1. package/.knowledge/.ext/.bmad-core/agent-teams/team-all.yaml +15 -0
  2. package/.knowledge/.ext/.bmad-core/agent-teams/team-fullstack.yaml +19 -0
  3. package/.knowledge/.ext/.bmad-core/agent-teams/team-ide-minimal.yaml +11 -0
  4. package/.knowledge/.ext/.bmad-core/agent-teams/team-no-ui.yaml +14 -0
  5. package/.knowledge/.ext/.bmad-core/agents/analyst.md +84 -0
  6. package/.knowledge/.ext/.bmad-core/agents/architect.md +85 -0
  7. package/.knowledge/.ext/.bmad-core/agents/bmad-master.md +110 -0
  8. package/.knowledge/.ext/.bmad-core/agents/bmad-orchestrator.md +147 -0
  9. package/.knowledge/.ext/.bmad-core/agents/dev.md +81 -0
  10. package/.knowledge/.ext/.bmad-core/agents/pm.md +84 -0
  11. package/.knowledge/.ext/.bmad-core/agents/po.md +79 -0
  12. package/.knowledge/.ext/.bmad-core/agents/qa.md +90 -0
  13. package/.knowledge/.ext/.bmad-core/agents/ra.md +74 -0
  14. package/.knowledge/.ext/.bmad-core/agents/sm.md +65 -0
  15. package/.knowledge/.ext/.bmad-core/agents/ux-expert.md +69 -0
  16. package/.knowledge/.ext/.bmad-core/checklists/architect-checklist.md +440 -0
  17. package/.knowledge/.ext/.bmad-core/checklists/change-checklist.md +184 -0
  18. package/.knowledge/.ext/.bmad-core/checklists/pm-checklist.md +372 -0
  19. package/.knowledge/.ext/.bmad-core/checklists/po-master-checklist.md +434 -0
  20. package/.knowledge/.ext/.bmad-core/checklists/story-dod-checklist.md +96 -0
  21. package/.knowledge/.ext/.bmad-core/checklists/story-draft-checklist.md +155 -0
  22. package/.knowledge/.ext/.bmad-core/checklists/trd-checklist.md +226 -0
  23. package/.knowledge/.ext/.bmad-core/core-config.yaml +22 -0
  24. package/.knowledge/.ext/.bmad-core/data/bmad-kb.md +809 -0
  25. package/.knowledge/.ext/.bmad-core/data/brainstorming-techniques.md +38 -0
  26. package/.knowledge/.ext/.bmad-core/data/elicitation-methods.md +156 -0
  27. package/.knowledge/.ext/.bmad-core/data/technical-preferences.md +5 -0
  28. package/.knowledge/.ext/.bmad-core/data/test-levels-framework.md +148 -0
  29. package/.knowledge/.ext/.bmad-core/data/test-priorities-matrix.md +174 -0
  30. package/.knowledge/.ext/.bmad-core/enhanced-ide-development-workflow.md +248 -0
  31. package/.knowledge/.ext/.bmad-core/install-manifest.yaml +512 -0
  32. package/.knowledge/.ext/.bmad-core/tasks/advanced-elicitation.md +119 -0
  33. package/.knowledge/.ext/.bmad-core/tasks/analyze-prd.md +123 -0
  34. package/.knowledge/.ext/.bmad-core/tasks/apply-qa-fixes.md +150 -0
  35. package/.knowledge/.ext/.bmad-core/tasks/brownfield-create-epic.md +162 -0
  36. package/.knowledge/.ext/.bmad-core/tasks/brownfield-create-story.md +149 -0
  37. package/.knowledge/.ext/.bmad-core/tasks/correct-course.md +72 -0
  38. package/.knowledge/.ext/.bmad-core/tasks/create-brownfield-story.md +314 -0
  39. package/.knowledge/.ext/.bmad-core/tasks/create-deep-research-prompt.md +280 -0
  40. package/.knowledge/.ext/.bmad-core/tasks/create-doc.md +103 -0
  41. package/.knowledge/.ext/.bmad-core/tasks/create-next-story.md +114 -0
  42. package/.knowledge/.ext/.bmad-core/tasks/document-project.md +345 -0
  43. package/.knowledge/.ext/.bmad-core/tasks/execute-checklist.md +88 -0
  44. package/.knowledge/.ext/.bmad-core/tasks/facilitate-brainstorming-session.md +138 -0
  45. package/.knowledge/.ext/.bmad-core/tasks/generate-ai-frontend-prompt.md +53 -0
  46. package/.knowledge/.ext/.bmad-core/tasks/index-docs.md +175 -0
  47. package/.knowledge/.ext/.bmad-core/tasks/kb-mode-interaction.md +77 -0
  48. package/.knowledge/.ext/.bmad-core/tasks/nfr-assess.md +345 -0
  49. package/.knowledge/.ext/.bmad-core/tasks/qa-gate.md +163 -0
  50. package/.knowledge/.ext/.bmad-core/tasks/review-story.md +316 -0
  51. package/.knowledge/.ext/.bmad-core/tasks/risk-profile.md +355 -0
  52. package/.knowledge/.ext/.bmad-core/tasks/shard-doc.md +187 -0
  53. package/.knowledge/.ext/.bmad-core/tasks/test-design.md +176 -0
  54. package/.knowledge/.ext/.bmad-core/tasks/trace-requirements.md +266 -0
  55. package/.knowledge/.ext/.bmad-core/tasks/validate-next-story.md +136 -0
  56. package/.knowledge/.ext/.bmad-core/tasks/validate-trd.md +158 -0
  57. package/.knowledge/.ext/.bmad-core/templates/architecture-tmpl.yaml +651 -0
  58. package/.knowledge/.ext/.bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  59. package/.knowledge/.ext/.bmad-core/templates/brownfield-architecture-tmpl.yaml +478 -0
  60. package/.knowledge/.ext/.bmad-core/templates/brownfield-prd-tmpl.yaml +281 -0
  61. package/.knowledge/.ext/.bmad-core/templates/competitor-analysis-tmpl.yaml +349 -0
  62. package/.knowledge/.ext/.bmad-core/templates/front-end-architecture-tmpl.yaml +273 -0
  63. package/.knowledge/.ext/.bmad-core/templates/front-end-spec-tmpl.yaml +360 -0
  64. package/.knowledge/.ext/.bmad-core/templates/fullstack-architecture-tmpl.yaml +947 -0
  65. package/.knowledge/.ext/.bmad-core/templates/market-research-tmpl.yaml +253 -0
  66. package/.knowledge/.ext/.bmad-core/templates/prd-tmpl.yaml +203 -0
  67. package/.knowledge/.ext/.bmad-core/templates/project-brief-tmpl.yaml +222 -0
  68. package/.knowledge/.ext/.bmad-core/templates/qa-gate-tmpl.yaml +103 -0
  69. package/.knowledge/.ext/.bmad-core/templates/story-tmpl.yaml +138 -0
  70. package/.knowledge/.ext/.bmad-core/templates/trd-tmpl.yaml +198 -0
  71. package/.knowledge/.ext/.bmad-core/user-guide.md +530 -0
  72. package/.knowledge/.ext/.bmad-core/utils/bmad-doc-template.md +327 -0
  73. package/.knowledge/.ext/.bmad-core/utils/workflow-management.md +71 -0
  74. package/.knowledge/.ext/.bmad-core/workflows/brownfield-fullstack.yaml +298 -0
  75. package/.knowledge/.ext/.bmad-core/workflows/brownfield-service.yaml +188 -0
  76. package/.knowledge/.ext/.bmad-core/workflows/brownfield-ui.yaml +198 -0
  77. package/.knowledge/.ext/.bmad-core/workflows/greenfield-fullstack.yaml +241 -0
  78. package/.knowledge/.ext/.bmad-core/workflows/greenfield-service.yaml +207 -0
  79. package/.knowledge/.ext/.bmad-core/workflows/greenfield-ui.yaml +236 -0
  80. package/.knowledge/.ext/.bmad-core/working-in-the-brownfield.md +606 -0
  81. package/.knowledge/.ext/coding/ddd-architecture.md +223 -0
  82. package/.knowledge/.ext/coding/java-standards.md +308 -0
  83. package/.knowledge/.ext/coding/mybatis-standards.md +407 -0
  84. package/.knowledge/.ext/coding/sql-standards.md +263 -0
  85. package/.knowledge/.ext/coding/thrift-service.md +292 -0
  86. package/.knowledge/BMAD.md +255 -0
  87. package/.knowledge/coding.md +135 -0
  88. package/dist/package.json +4 -3
  89. package/dist/src/generated/git-commit.d.ts +2 -2
  90. package/dist/src/generated/git-commit.js +2 -2
  91. package/dist/src/ui/components/Tips.js +1 -1
  92. package/dist/src/ui/components/Tips.js.map +1 -1
  93. package/dist/src/ui/hooks/usePhraseCycler.js +2 -2
  94. package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
  95. package/dist/tsconfig.tsbuildinfo +1 -1
  96. package/package.json +4 -3
  97. package/template/sns-demo-app/src/main/java/com/xiaohongshu/sns/demo/app/.gitkeep +0 -0
  98. package/template/sns-demo-common/src/main/java/com/xiaohongshu/sns/demo/common/enums/.gitkeep +0 -0
  99. package/template/sns-demo-common/src/main/java/com/xiaohongshu/sns/demo/common/model/.gitkeep +0 -0
  100. package/template/sns-demo-domain/src/main/java/com/xiaohongshu/sns/demo/domain/facade/.gitkeep +0 -0
  101. package/template/sns-demo-domain/src/main/java/com/xiaohongshu/sns/demo/domain/gateway/.gitkeep +0 -0
  102. package/template/sns-demo-infrastructure/src/main/java/com/xiaohongshu/sns/demo/infrastructure/config/threadpool/.gitkeep +0 -0
  103. package/template/sns-demo-infrastructure/src/main/java/com/xiaohongshu/sns/demo/infrastructure/gatewayimpl/.gitkeep +0 -0
  104. package/template/sns-demo-infrastructure/src/main/resources/mapper/.gitkeep +0 -0
  105. package/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/config/.gitkeep +0 -0
  106. package/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/provider/.gitkeep +0 -0
@@ -0,0 +1,273 @@
1
+ # <!-- Powered by BMAD™ Core -->
2
+ template:
3
+ id: frontend-architecture-template-v2
4
+ name: Frontend Architecture Document
5
+ version: 2.0
6
+ output:
7
+ format: markdown
8
+ filename: docs/ui-architecture.md
9
+ title: '{{project_name}} Frontend Architecture Document'
10
+
11
+ workflow:
12
+ mode: interactive
13
+ elicitation: advanced-elicitation
14
+
15
+ sections:
16
+ - id: template-framework-selection
17
+ title: Template and Framework Selection
18
+ instruction: |
19
+ 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.
20
+
21
+ Before proceeding with frontend architecture design, check if the project is using a frontend starter template or existing codebase:
22
+
23
+ 1. Review the PRD, main architecture document, and brainstorming brief for mentions of:
24
+ - Frontend starter templates (e.g., Create React App, Next.js, Vite, Vue CLI, Angular CLI, etc.)
25
+ - UI kit or component library starters
26
+ - Existing frontend projects being used as a foundation
27
+ - Admin dashboard templates or other specialized starters
28
+ - Design system implementations
29
+
30
+ 2. If a frontend starter template or existing project is mentioned:
31
+ - Ask the user to provide access via one of these methods:
32
+ - Link to the starter template documentation
33
+ - Upload/attach the project files (for small projects)
34
+ - Share a link to the project repository
35
+ - Analyze the starter/existing project to understand:
36
+ - Pre-installed dependencies and versions
37
+ - Folder structure and file organization
38
+ - Built-in components and utilities
39
+ - Styling approach (CSS modules, styled-components, Tailwind, etc.)
40
+ - State management setup (if any)
41
+ - Routing configuration
42
+ - Testing setup and patterns
43
+ - Build and development scripts
44
+ - Use this analysis to ensure your frontend architecture aligns with the starter's patterns
45
+
46
+ 3. If no frontend starter is mentioned but this is a new UI, ensure we know what the ui language and framework is:
47
+ - Based on the framework choice, suggest appropriate starters:
48
+ - React: Create React App, Next.js, Vite + React
49
+ - Vue: Vue CLI, Nuxt.js, Vite + Vue
50
+ - Angular: Angular CLI
51
+ - Or suggest popular UI templates if applicable
52
+ - Explain benefits specific to frontend development
53
+
54
+ 4. If the user confirms no starter template will be used:
55
+ - Note that all tooling, bundling, and configuration will need manual setup
56
+ - Proceed with frontend architecture from scratch
57
+
58
+ Document the starter template decision and any constraints it imposes before proceeding.
59
+ sections:
60
+ - id: changelog
61
+ title: Change Log
62
+ type: table
63
+ columns: [Date, Version, Description, Author]
64
+ instruction: Track document versions and changes
65
+
66
+ - id: frontend-tech-stack
67
+ title: Frontend Tech Stack
68
+ instruction: Extract from main architecture's Technology Stack Table. This section MUST remain synchronized with the main architecture document.
69
+ elicit: true
70
+ sections:
71
+ - id: tech-stack-table
72
+ title: Technology Stack Table
73
+ type: table
74
+ columns: [Category, Technology, Version, Purpose, Rationale]
75
+ instruction: Fill in appropriate technology choices based on the selected framework and project requirements.
76
+ rows:
77
+ - [
78
+ 'Framework',
79
+ '{{framework}}',
80
+ '{{version}}',
81
+ '{{purpose}}',
82
+ '{{why_chosen}}',
83
+ ]
84
+ - [
85
+ 'UI Library',
86
+ '{{ui_library}}',
87
+ '{{version}}',
88
+ '{{purpose}}',
89
+ '{{why_chosen}}',
90
+ ]
91
+ - [
92
+ 'State Management',
93
+ '{{state_management}}',
94
+ '{{version}}',
95
+ '{{purpose}}',
96
+ '{{why_chosen}}',
97
+ ]
98
+ - [
99
+ 'Routing',
100
+ '{{routing_library}}',
101
+ '{{version}}',
102
+ '{{purpose}}',
103
+ '{{why_chosen}}',
104
+ ]
105
+ - [
106
+ 'Build Tool',
107
+ '{{build_tool}}',
108
+ '{{version}}',
109
+ '{{purpose}}',
110
+ '{{why_chosen}}',
111
+ ]
112
+ - [
113
+ 'Styling',
114
+ '{{styling_solution}}',
115
+ '{{version}}',
116
+ '{{purpose}}',
117
+ '{{why_chosen}}',
118
+ ]
119
+ - [
120
+ 'Testing',
121
+ '{{test_framework}}',
122
+ '{{version}}',
123
+ '{{purpose}}',
124
+ '{{why_chosen}}',
125
+ ]
126
+ - [
127
+ 'Component Library',
128
+ '{{component_lib}}',
129
+ '{{version}}',
130
+ '{{purpose}}',
131
+ '{{why_chosen}}',
132
+ ]
133
+ - [
134
+ 'Form Handling',
135
+ '{{form_library}}',
136
+ '{{version}}',
137
+ '{{purpose}}',
138
+ '{{why_chosen}}',
139
+ ]
140
+ - [
141
+ 'Animation',
142
+ '{{animation_lib}}',
143
+ '{{version}}',
144
+ '{{purpose}}',
145
+ '{{why_chosen}}',
146
+ ]
147
+ - [
148
+ 'Dev Tools',
149
+ '{{dev_tools}}',
150
+ '{{version}}',
151
+ '{{purpose}}',
152
+ '{{why_chosen}}',
153
+ ]
154
+
155
+ - id: project-structure
156
+ title: Project Structure
157
+ instruction: 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.
158
+ elicit: true
159
+ type: code
160
+ language: plaintext
161
+
162
+ - id: component-standards
163
+ title: Component Standards
164
+ instruction: Define exact patterns for component creation based on the chosen framework.
165
+ elicit: true
166
+ sections:
167
+ - id: component-template
168
+ title: Component Template
169
+ instruction: Generate a minimal but complete component template following the framework's best practices. Include TypeScript types, proper imports, and basic structure.
170
+ type: code
171
+ language: typescript
172
+ - id: naming-conventions
173
+ title: Naming Conventions
174
+ instruction: Provide naming conventions specific to the chosen framework for components, files, services, state management, and other architectural elements.
175
+
176
+ - id: state-management
177
+ title: State Management
178
+ instruction: Define state management patterns based on the chosen framework.
179
+ elicit: true
180
+ sections:
181
+ - id: store-structure
182
+ title: Store Structure
183
+ instruction: Generate the state management directory structure appropriate for the chosen framework and selected state management solution.
184
+ type: code
185
+ language: plaintext
186
+ - id: state-template
187
+ title: State Management Template
188
+ instruction: 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.
189
+ type: code
190
+ language: typescript
191
+
192
+ - id: api-integration
193
+ title: API Integration
194
+ instruction: Define API service patterns based on the chosen framework.
195
+ elicit: true
196
+ sections:
197
+ - id: service-template
198
+ title: Service Template
199
+ instruction: Provide an API service template that follows the framework's conventions. Include proper TypeScript types, error handling, and async patterns.
200
+ type: code
201
+ language: typescript
202
+ - id: api-client-config
203
+ title: API Client Configuration
204
+ instruction: Show how to configure the HTTP client for the chosen framework, including authentication interceptors/middleware and error handling.
205
+ type: code
206
+ language: typescript
207
+
208
+ - id: routing
209
+ title: Routing
210
+ instruction: Define routing structure and patterns based on the chosen framework.
211
+ elicit: true
212
+ sections:
213
+ - id: route-configuration
214
+ title: Route Configuration
215
+ instruction: Provide routing configuration appropriate for the chosen framework. Include protected route patterns, lazy loading where applicable, and authentication guards/middleware.
216
+ type: code
217
+ language: typescript
218
+
219
+ - id: styling-guidelines
220
+ title: Styling Guidelines
221
+ instruction: Define styling approach based on the chosen framework.
222
+ elicit: true
223
+ sections:
224
+ - id: styling-approach
225
+ title: Styling Approach
226
+ instruction: Describe the styling methodology appropriate for the chosen framework (CSS Modules, Styled Components, Tailwind, etc.) and provide basic patterns.
227
+ - id: global-theme
228
+ title: Global Theme Variables
229
+ instruction: Provide a CSS custom properties (CSS variables) theme system that works across all frameworks. Include colors, spacing, typography, shadows, and dark mode support.
230
+ type: code
231
+ language: css
232
+
233
+ - id: testing-requirements
234
+ title: Testing Requirements
235
+ instruction: Define minimal testing requirements based on the chosen framework.
236
+ elicit: true
237
+ sections:
238
+ - id: component-test-template
239
+ title: Component Test Template
240
+ instruction: Provide a basic component test template using the framework's recommended testing library. Include examples of rendering tests, user interaction tests, and mocking.
241
+ type: code
242
+ language: typescript
243
+ - id: testing-best-practices
244
+ title: Testing Best Practices
245
+ type: numbered-list
246
+ items:
247
+ - '**Unit Tests**: Test individual components in isolation'
248
+ - '**Integration Tests**: Test component interactions'
249
+ - '**E2E Tests**: Test critical user flows (using Cypress/Playwright)'
250
+ - '**Coverage Goals**: Aim for 80% code coverage'
251
+ - '**Test Structure**: Arrange-Act-Assert pattern'
252
+ - '**Mock External Dependencies**: API calls, routing, state management'
253
+
254
+ - id: environment-configuration
255
+ title: Environment Configuration
256
+ instruction: List required environment variables based on the chosen framework. Show the appropriate format and naming conventions for the framework.
257
+ elicit: true
258
+
259
+ - id: frontend-developer-standards
260
+ title: Frontend Developer Standards
261
+ sections:
262
+ - id: critical-coding-rules
263
+ title: Critical Coding Rules
264
+ instruction: List essential rules that prevent common AI mistakes, including both universal rules and framework-specific ones.
265
+ elicit: true
266
+ - id: quick-reference
267
+ title: Quick Reference
268
+ instruction: |
269
+ Create a framework-specific cheat sheet with:
270
+ - Common commands (dev server, build, test)
271
+ - Key import patterns
272
+ - File naming conventions
273
+ - Project-specific patterns and utilities
@@ -0,0 +1,360 @@
1
+ # <!-- Powered by BMAD™ Core -->
2
+ template:
3
+ id: frontend-spec-template-v2
4
+ name: UI/UX Specification
5
+ version: 2.0
6
+ output:
7
+ format: markdown
8
+ filename: docs/front-end-spec.md
9
+ title: '{{project_name}} UI/UX Specification'
10
+
11
+ workflow:
12
+ mode: interactive
13
+ elicitation: advanced-elicitation
14
+
15
+ sections:
16
+ - id: introduction
17
+ title: Introduction
18
+ instruction: |
19
+ 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.
20
+
21
+ Establish the document's purpose and scope. Keep the content below but ensure project name is properly substituted.
22
+ content: |
23
+ 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.
24
+ sections:
25
+ - id: ux-goals-principles
26
+ title: Overall UX Goals & Principles
27
+ instruction: |
28
+ Work with the user to establish and document the following. If not already defined, facilitate a discussion to determine:
29
+
30
+ 1. Target User Personas - elicit details or confirm existing ones from PRD
31
+ 2. Key Usability Goals - understand what success looks like for users
32
+ 3. Core Design Principles - establish 3-5 guiding principles
33
+ elicit: true
34
+ sections:
35
+ - id: user-personas
36
+ title: Target User Personas
37
+ template: '{{persona_descriptions}}'
38
+ examples:
39
+ - '**Power User:** Technical professionals who need advanced features and efficiency'
40
+ - '**Casual User:** Occasional users who prioritize ease of use and clear guidance'
41
+ - '**Administrator:** System managers who need control and oversight capabilities'
42
+ - id: usability-goals
43
+ title: Usability Goals
44
+ template: '{{usability_goals}}'
45
+ examples:
46
+ - 'Ease of learning: New users can complete core tasks within 5 minutes'
47
+ - 'Efficiency of use: Power users can complete frequent tasks with minimal clicks'
48
+ - 'Error prevention: Clear validation and confirmation for destructive actions'
49
+ - 'Memorability: Infrequent users can return without relearning'
50
+ - id: design-principles
51
+ title: Design Principles
52
+ template: '{{design_principles}}'
53
+ type: numbered-list
54
+ examples:
55
+ - '**Clarity over cleverness** - Prioritize clear communication over aesthetic innovation'
56
+ - "**Progressive disclosure** - Show only what's needed, when it's needed"
57
+ - '**Consistent patterns** - Use familiar UI patterns throughout the application'
58
+ - '**Immediate feedback** - Every action should have a clear, immediate response'
59
+ - '**Accessible by default** - Design for all users from the start'
60
+ - id: changelog
61
+ title: Change Log
62
+ type: table
63
+ columns: [Date, Version, Description, Author]
64
+ instruction: Track document versions and changes
65
+
66
+ - id: information-architecture
67
+ title: Information Architecture (IA)
68
+ instruction: |
69
+ Collaborate with the user to create a comprehensive information architecture:
70
+
71
+ 1. Build a Site Map or Screen Inventory showing all major areas
72
+ 2. Define the Navigation Structure (primary, secondary, breadcrumbs)
73
+ 3. Use Mermaid diagrams for visual representation
74
+ 4. Consider user mental models and expected groupings
75
+ elicit: true
76
+ sections:
77
+ - id: sitemap
78
+ title: Site Map / Screen Inventory
79
+ type: mermaid
80
+ mermaid_type: graph
81
+ template: '{{sitemap_diagram}}'
82
+ examples:
83
+ - |
84
+ graph TD
85
+ A[Homepage] --> B[Dashboard]
86
+ A --> C[Products]
87
+ A --> D[Account]
88
+ B --> B1[Analytics]
89
+ B --> B2[Recent Activity]
90
+ C --> C1[Browse]
91
+ C --> C2[Search]
92
+ C --> C3[Product Details]
93
+ D --> D1[Profile]
94
+ D --> D2[Settings]
95
+ D --> D3[Billing]
96
+ - id: navigation-structure
97
+ title: Navigation Structure
98
+ template: |
99
+ **Primary Navigation:** {{primary_nav_description}}
100
+
101
+ **Secondary Navigation:** {{secondary_nav_description}}
102
+
103
+ **Breadcrumb Strategy:** {{breadcrumb_strategy}}
104
+
105
+ - id: user-flows
106
+ title: User Flows
107
+ instruction: |
108
+ For each critical user task identified in the PRD:
109
+
110
+ 1. Define the user's goal clearly
111
+ 2. Map out all steps including decision points
112
+ 3. Consider edge cases and error states
113
+ 4. Use Mermaid flow diagrams for clarity
114
+ 5. Link to external tools (Figma/Miro) if detailed flows exist there
115
+
116
+ Create subsections for each major flow.
117
+ elicit: true
118
+ repeatable: true
119
+ sections:
120
+ - id: flow
121
+ title: '{{flow_name}}'
122
+ template: |
123
+ **User Goal:** {{flow_goal}}
124
+
125
+ **Entry Points:** {{entry_points}}
126
+
127
+ **Success Criteria:** {{success_criteria}}
128
+ sections:
129
+ - id: flow-diagram
130
+ title: Flow Diagram
131
+ type: mermaid
132
+ mermaid_type: graph
133
+ template: '{{flow_diagram}}'
134
+ - id: edge-cases
135
+ title: 'Edge Cases & Error Handling:'
136
+ type: bullet-list
137
+ template: '- {{edge_case}}'
138
+ - id: notes
139
+ template: '**Notes:** {{flow_notes}}'
140
+
141
+ - id: wireframes-mockups
142
+ title: Wireframes & Mockups
143
+ instruction: |
144
+ 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.
145
+ elicit: true
146
+ sections:
147
+ - id: design-files
148
+ template: '**Primary Design Files:** {{design_tool_link}}'
149
+ - id: key-screen-layouts
150
+ title: Key Screen Layouts
151
+ repeatable: true
152
+ sections:
153
+ - id: screen
154
+ title: '{{screen_name}}'
155
+ template: |
156
+ **Purpose:** {{screen_purpose}}
157
+
158
+ **Key Elements:**
159
+ - {{element_1}}
160
+ - {{element_2}}
161
+ - {{element_3}}
162
+
163
+ **Interaction Notes:** {{interaction_notes}}
164
+
165
+ **Design File Reference:** {{specific_frame_link}}
166
+
167
+ - id: component-library
168
+ title: Component Library / Design System
169
+ instruction: |
170
+ 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.
171
+ elicit: true
172
+ sections:
173
+ - id: design-system-approach
174
+ template: '**Design System Approach:** {{design_system_approach}}'
175
+ - id: core-components
176
+ title: Core Components
177
+ repeatable: true
178
+ sections:
179
+ - id: component
180
+ title: '{{component_name}}'
181
+ template: |
182
+ **Purpose:** {{component_purpose}}
183
+
184
+ **Variants:** {{component_variants}}
185
+
186
+ **States:** {{component_states}}
187
+
188
+ **Usage Guidelines:** {{usage_guidelines}}
189
+
190
+ - id: branding-style
191
+ title: Branding & Style Guide
192
+ instruction: Link to existing style guide or define key brand elements. Ensure consistency with company brand guidelines if they exist.
193
+ elicit: true
194
+ sections:
195
+ - id: visual-identity
196
+ title: Visual Identity
197
+ template: '**Brand Guidelines:** {{brand_guidelines_link}}'
198
+ - id: color-palette
199
+ title: Color Palette
200
+ type: table
201
+ columns: ['Color Type', 'Hex Code', 'Usage']
202
+ rows:
203
+ - ['Primary', '{{primary_color}}', '{{primary_usage}}']
204
+ - ['Secondary', '{{secondary_color}}', '{{secondary_usage}}']
205
+ - ['Accent', '{{accent_color}}', '{{accent_usage}}']
206
+ - ['Success', '{{success_color}}', 'Positive feedback, confirmations']
207
+ - ['Warning', '{{warning_color}}', 'Cautions, important notices']
208
+ - ['Error', '{{error_color}}', 'Errors, destructive actions']
209
+ - ['Neutral', '{{neutral_colors}}', 'Text, borders, backgrounds']
210
+ - id: typography
211
+ title: Typography
212
+ sections:
213
+ - id: font-families
214
+ title: Font Families
215
+ template: |
216
+ - **Primary:** {{primary_font}}
217
+ - **Secondary:** {{secondary_font}}
218
+ - **Monospace:** {{mono_font}}
219
+ - id: type-scale
220
+ title: Type Scale
221
+ type: table
222
+ columns: ['Element', 'Size', 'Weight', 'Line Height']
223
+ rows:
224
+ - ['H1', '{{h1_size}}', '{{h1_weight}}', '{{h1_line}}']
225
+ - ['H2', '{{h2_size}}', '{{h2_weight}}', '{{h2_line}}']
226
+ - ['H3', '{{h3_size}}', '{{h3_weight}}', '{{h3_line}}']
227
+ - ['Body', '{{body_size}}', '{{body_weight}}', '{{body_line}}']
228
+ - [
229
+ 'Small',
230
+ '{{small_size}}',
231
+ '{{small_weight}}',
232
+ '{{small_line}}',
233
+ ]
234
+ - id: iconography
235
+ title: Iconography
236
+ template: |
237
+ **Icon Library:** {{icon_library}}
238
+
239
+ **Usage Guidelines:** {{icon_guidelines}}
240
+ - id: spacing-layout
241
+ title: Spacing & Layout
242
+ template: |
243
+ **Grid System:** {{grid_system}}
244
+
245
+ **Spacing Scale:** {{spacing_scale}}
246
+
247
+ - id: accessibility
248
+ title: Accessibility Requirements
249
+ instruction: Define specific accessibility requirements based on target compliance level and user needs. Be comprehensive but practical.
250
+ elicit: true
251
+ sections:
252
+ - id: compliance-target
253
+ title: Compliance Target
254
+ template: '**Standard:** {{compliance_standard}}'
255
+ - id: key-requirements
256
+ title: Key Requirements
257
+ template: |
258
+ **Visual:**
259
+ - Color contrast ratios: {{contrast_requirements}}
260
+ - Focus indicators: {{focus_requirements}}
261
+ - Text sizing: {{text_requirements}}
262
+
263
+ **Interaction:**
264
+ - Keyboard navigation: {{keyboard_requirements}}
265
+ - Screen reader support: {{screen_reader_requirements}}
266
+ - Touch targets: {{touch_requirements}}
267
+
268
+ **Content:**
269
+ - Alternative text: {{alt_text_requirements}}
270
+ - Heading structure: {{heading_requirements}}
271
+ - Form labels: {{form_requirements}}
272
+ - id: testing-strategy
273
+ title: Testing Strategy
274
+ template: '{{accessibility_testing}}'
275
+
276
+ - id: responsiveness
277
+ title: Responsiveness Strategy
278
+ instruction: Define breakpoints and adaptation strategies for different device sizes. Consider both technical constraints and user contexts.
279
+ elicit: true
280
+ sections:
281
+ - id: breakpoints
282
+ title: Breakpoints
283
+ type: table
284
+ columns: ['Breakpoint', 'Min Width', 'Max Width', 'Target Devices']
285
+ rows:
286
+ - ['Mobile', '{{mobile_min}}', '{{mobile_max}}', '{{mobile_devices}}']
287
+ - ['Tablet', '{{tablet_min}}', '{{tablet_max}}', '{{tablet_devices}}']
288
+ - [
289
+ 'Desktop',
290
+ '{{desktop_min}}',
291
+ '{{desktop_max}}',
292
+ '{{desktop_devices}}',
293
+ ]
294
+ - ['Wide', '{{wide_min}}', '-', '{{wide_devices}}']
295
+ - id: adaptation-patterns
296
+ title: Adaptation Patterns
297
+ template: |
298
+ **Layout Changes:** {{layout_adaptations}}
299
+
300
+ **Navigation Changes:** {{nav_adaptations}}
301
+
302
+ **Content Priority:** {{content_adaptations}}
303
+
304
+ **Interaction Changes:** {{interaction_adaptations}}
305
+
306
+ - id: animation
307
+ title: Animation & Micro-interactions
308
+ instruction: Define motion design principles and key interactions. Keep performance and accessibility in mind.
309
+ elicit: true
310
+ sections:
311
+ - id: motion-principles
312
+ title: Motion Principles
313
+ template: '{{motion_principles}}'
314
+ - id: key-animations
315
+ title: Key Animations
316
+ repeatable: true
317
+ template: '- **{{animation_name}}:** {{animation_description}} (Duration: {{duration}}, Easing: {{easing}})'
318
+
319
+ - id: performance
320
+ title: Performance Considerations
321
+ instruction: Define performance goals and strategies that impact UX design decisions.
322
+ sections:
323
+ - id: performance-goals
324
+ title: Performance Goals
325
+ template: |
326
+ - **Page Load:** {{load_time_goal}}
327
+ - **Interaction Response:** {{interaction_goal}}
328
+ - **Animation FPS:** {{animation_goal}}
329
+ - id: design-strategies
330
+ title: Design Strategies
331
+ template: '{{performance_strategies}}'
332
+
333
+ - id: next-steps
334
+ title: Next Steps
335
+ instruction: |
336
+ After completing the UI/UX specification:
337
+
338
+ 1. Recommend review with stakeholders
339
+ 2. Suggest creating/updating visual designs in design tool
340
+ 3. Prepare for handoff to Design Architect for frontend architecture
341
+ 4. Note any open questions or decisions needed
342
+ sections:
343
+ - id: immediate-actions
344
+ title: Immediate Actions
345
+ type: numbered-list
346
+ template: '{{action}}'
347
+ - id: design-handoff-checklist
348
+ title: Design Handoff Checklist
349
+ type: checklist
350
+ items:
351
+ - 'All user flows documented'
352
+ - 'Component inventory complete'
353
+ - 'Accessibility requirements defined'
354
+ - 'Responsive strategy clear'
355
+ - 'Brand guidelines incorporated'
356
+ - 'Performance goals established'
357
+
358
+ - id: checklist-results
359
+ title: Checklist Results
360
+ instruction: If a UI/UX checklist exists, run it against this document and report results here.