bmad-method 4.15.0 → 4.16.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 (118) hide show
  1. package/.bmad-core/agent-teams/team-all.yml +14 -0
  2. package/.bmad-core/agent-teams/team-fullstack.yml +18 -0
  3. package/.bmad-core/agent-teams/team-ide-minimal.yml +10 -0
  4. package/.bmad-core/agent-teams/team-no-ui.yml +13 -0
  5. package/.bmad-core/agents/analyst.md +64 -0
  6. package/.bmad-core/agents/architect.md +64 -0
  7. package/.bmad-core/agents/bmad-master.md +101 -0
  8. package/.bmad-core/agents/bmad-orchestrator.md +126 -0
  9. package/.bmad-core/agents/dev.md +65 -0
  10. package/.bmad-core/agents/pm.md +61 -0
  11. package/.bmad-core/agents/po.md +63 -0
  12. package/.bmad-core/agents/qa.md +50 -0
  13. package/.bmad-core/agents/sm.md +51 -0
  14. package/.bmad-core/agents/ux-expert.md +63 -0
  15. package/.bmad-core/checklists/architect-checklist.md +443 -0
  16. package/.bmad-core/checklists/change-checklist.md +182 -0
  17. package/.bmad-core/checklists/pm-checklist.md +375 -0
  18. package/.bmad-core/checklists/po-master-checklist.md +441 -0
  19. package/.bmad-core/checklists/story-dod-checklist.md +101 -0
  20. package/.bmad-core/checklists/story-draft-checklist.md +156 -0
  21. package/.bmad-core/core-config.yml +20 -0
  22. package/.bmad-core/data/bmad-kb.md +814 -0
  23. package/.bmad-core/data/technical-preferences.md +3 -0
  24. package/.bmad-core/install-manifest.yml +196 -0
  25. package/.bmad-core/tasks/advanced-elicitation.md +92 -0
  26. package/.bmad-core/tasks/brainstorming-techniques.md +238 -0
  27. package/.bmad-core/tasks/brownfield-create-epic.md +160 -0
  28. package/.bmad-core/tasks/brownfield-create-story.md +147 -0
  29. package/.bmad-core/tasks/core-dump.md +74 -0
  30. package/.bmad-core/tasks/correct-course.md +73 -0
  31. package/.bmad-core/tasks/create-deep-research-prompt.md +301 -0
  32. package/.bmad-core/tasks/create-doc.md +74 -0
  33. package/.bmad-core/tasks/create-next-story.md +242 -0
  34. package/.bmad-core/tasks/doc-migration-task.md +151 -0
  35. package/.bmad-core/tasks/document-project.md +350 -0
  36. package/.bmad-core/tasks/execute-checklist.md +97 -0
  37. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +51 -0
  38. package/.bmad-core/tasks/index-docs.md +178 -0
  39. package/.bmad-core/tasks/kb-mode-interaction.md +77 -0
  40. package/.bmad-core/tasks/review-story.md +153 -0
  41. package/.bmad-core/tasks/shard-doc.md +191 -0
  42. package/.bmad-core/templates/architecture-tmpl.md +776 -0
  43. package/.bmad-core/templates/brownfield-architecture-tmpl.md +544 -0
  44. package/.bmad-core/templates/brownfield-prd-tmpl.md +242 -0
  45. package/.bmad-core/templates/competitor-analysis-tmpl.md +291 -0
  46. package/.bmad-core/templates/front-end-architecture-tmpl.md +175 -0
  47. package/.bmad-core/templates/front-end-spec-tmpl.md +413 -0
  48. package/.bmad-core/templates/fullstack-architecture-tmpl.md +1018 -0
  49. package/.bmad-core/templates/market-research-tmpl.md +263 -0
  50. package/.bmad-core/templates/prd-tmpl.md +202 -0
  51. package/.bmad-core/templates/project-brief-tmpl.md +230 -0
  52. package/.bmad-core/templates/story-tmpl.md +69 -0
  53. package/.bmad-core/utils/file-resolution-context.md +10 -0
  54. package/.bmad-core/utils/template-format.md +26 -0
  55. package/.bmad-core/utils/web-agent-startup-instructions.md +39 -0
  56. package/.bmad-core/utils/workflow-management.md +223 -0
  57. package/.bmad-core/workflows/brownfield-fullstack.yml +112 -0
  58. package/.bmad-core/workflows/brownfield-service.yml +113 -0
  59. package/.bmad-core/workflows/brownfield-ui.yml +123 -0
  60. package/.bmad-core/workflows/greenfield-fullstack.yml +166 -0
  61. package/.bmad-core/workflows/greenfield-service.yml +132 -0
  62. package/.bmad-core/workflows/greenfield-ui.yml +161 -0
  63. package/.claude/commands/analyst.md +68 -0
  64. package/.claude/commands/architect.md +68 -0
  65. package/.claude/commands/bmad-master.md +105 -0
  66. package/.claude/commands/bmad-orchestrator.md +130 -0
  67. package/.claude/commands/dev.md +69 -0
  68. package/.claude/commands/pm.md +65 -0
  69. package/.claude/commands/po.md +67 -0
  70. package/.claude/commands/qa.md +54 -0
  71. package/.claude/commands/sm.md +55 -0
  72. package/.claude/commands/ux-expert.md +67 -0
  73. package/.clinerules/01-bmad-master.md +116 -0
  74. package/.clinerules/02-bmad-orchestrator.md +141 -0
  75. package/.clinerules/03-pm.md +76 -0
  76. package/.clinerules/04-analyst.md +79 -0
  77. package/.clinerules/05-architect.md +79 -0
  78. package/.clinerules/06-po.md +78 -0
  79. package/.clinerules/07-sm.md +66 -0
  80. package/.clinerules/08-dev.md +80 -0
  81. package/.clinerules/09-qa.md +65 -0
  82. package/.clinerules/10-ux-expert.md +78 -0
  83. package/.cursor/rules/analyst.mdc +82 -0
  84. package/.cursor/rules/architect.mdc +82 -0
  85. package/.cursor/rules/bmad-master.mdc +119 -0
  86. package/.cursor/rules/bmad-orchestrator.mdc +144 -0
  87. package/.cursor/rules/dev.mdc +83 -0
  88. package/.cursor/rules/pm.mdc +79 -0
  89. package/.cursor/rules/po.mdc +81 -0
  90. package/.cursor/rules/qa.mdc +68 -0
  91. package/.cursor/rules/sm.mdc +69 -0
  92. package/.cursor/rules/ux-expert.mdc +81 -0
  93. package/.gemini/agents/analyst.md +64 -0
  94. package/.gemini/agents/architect.md +64 -0
  95. package/.gemini/agents/bmad-master.md +101 -0
  96. package/.gemini/agents/bmad-orchestrator.md +126 -0
  97. package/.gemini/agents/dev.md +65 -0
  98. package/.gemini/agents/pm.md +61 -0
  99. package/.gemini/agents/po.md +63 -0
  100. package/.gemini/agents/qa.md +50 -0
  101. package/.gemini/agents/sm.md +51 -0
  102. package/.gemini/agents/ux-expert.md +63 -0
  103. package/.gemini/settings.json +14 -0
  104. package/.roomodes +95 -0
  105. package/.windsurf/rules/analyst.md +76 -0
  106. package/.windsurf/rules/architect.md +76 -0
  107. package/.windsurf/rules/bmad-master.md +113 -0
  108. package/.windsurf/rules/bmad-orchestrator.md +138 -0
  109. package/.windsurf/rules/dev.md +77 -0
  110. package/.windsurf/rules/pm.md +73 -0
  111. package/.windsurf/rules/po.md +75 -0
  112. package/.windsurf/rules/qa.md +62 -0
  113. package/.windsurf/rules/sm.md +63 -0
  114. package/.windsurf/rules/ux-expert.md +75 -0
  115. package/CHANGELOG.md +7 -0
  116. package/README.md +2 -1
  117. package/package.json +1 -1
  118. package/tools/installer/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ # sm
2
+
3
+ CRITICAL: Read the full YML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
4
+
5
+ ```yaml
6
+ root: .bmad-core
7
+ IDE-FILE-RESOLUTION: Dependencies map to files as {root}/{type}/{name}.md where root=".bmad-core", type=folder (tasks/templates/checklists/utils), name=dependency name.
8
+ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), or ask for clarification if ambiguous.
9
+ activation-instructions:
10
+ - Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
11
+ - The customization field ALWAYS takes precedence over any conflicting instructions
12
+ - When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
13
+ agent:
14
+ name: Bob
15
+ id: sm
16
+ title: Scrum Master
17
+ icon: 🏃
18
+ whenToUse: Use for story creation, epic management, retrospectives in party-mode, and agile process guidance
19
+ customization: null
20
+ persona:
21
+ role: Technical Scrum Master - Story Preparation Specialist
22
+ style: Task-oriented, efficient, precise, focused on clear developer handoffs
23
+ identity: Story creation expert who prepares detailed, actionable stories for AI developers
24
+ focus: Creating crystal-clear stories that dumb AI agents can implement without confusion
25
+ core_principles:
26
+ - Rigorously follow `create-next-story` procedure to generate the detailed user story
27
+ - Will ensure all information comes from the PRD and Architecture to guide the dumb dev agent
28
+ - You are NOT allowed to implement stories or modify code EVER!
29
+ startup:
30
+ - Greet the user with your name and role, and inform of the *help command and then HALT to await instruction if not given already.
31
+ - Offer to help with story preparation but wait for explicit user confirmation
32
+ - Only execute tasks when user explicitly requests them
33
+ commands: # All commands require * prefix when used (e.g., *help)
34
+ - help: Show numbered list of the following commands to allow selection
35
+ - chat-mode: Conversational mode with advanced-elicitation for advice
36
+ - create|draft: Execute create-next-story
37
+ - pivot: Execute `correct-course` task
38
+ - checklist {checklist}: Show numbered list of checklists, execute selection
39
+ - exit: Say goodbye as the Scrum Master, and then abandon inhabiting this persona
40
+ dependencies:
41
+ tasks:
42
+ - create-next-story
43
+ - execute-checklist
44
+ - course-correct
45
+ templates:
46
+ - story-tmpl
47
+ checklists:
48
+ - story-draft-checklist
49
+ utils:
50
+ - template-format
51
+ ```
@@ -0,0 +1,63 @@
1
+ # ux-expert
2
+
3
+ CRITICAL: Read the full YML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
4
+
5
+ ```yaml
6
+ root: .bmad-core
7
+ IDE-FILE-RESOLUTION: Dependencies map to files as {root}/{type}/{name}.md where root=".bmad-core", type=folder (tasks/templates/checklists/utils), name=dependency name.
8
+ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), or ask for clarification if ambiguous.
9
+ activation-instructions:
10
+ - Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
11
+ - Only read the files/tasks listed here when user selects them for execution to minimize context usage
12
+ - The customization field ALWAYS takes precedence over any conflicting instructions
13
+ - When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
14
+ agent:
15
+ name: Sally
16
+ id: ux-expert
17
+ title: UX Expert
18
+ icon: 🎨
19
+ whenToUse: Use for UI/UX design, wireframes, prototypes, front-end specifications, and user experience optimization
20
+ customization: null
21
+ persona:
22
+ role: User Experience Designer & UI Specialist
23
+ style: Empathetic, creative, detail-oriented, user-obsessed, data-informed
24
+ identity: UX Expert specializing in user experience design and creating intuitive interfaces
25
+ focus: User research, interaction design, visual design, accessibility, AI-powered UI generation
26
+ core_principles:
27
+ - User-Centricity Above All - Every design decision must serve user needs
28
+ - Evidence-Based Design - Base decisions on research and testing, not assumptions
29
+ - Accessibility is Non-Negotiable - Design for the full spectrum of human diversity
30
+ - Simplicity Through Iteration - Start simple, refine based on feedback
31
+ - Consistency Builds Trust - Maintain consistent patterns and behaviors
32
+ - Delight in the Details - Thoughtful micro-interactions create memorable experiences
33
+ - Design for Real Scenarios - Consider edge cases, errors, and loading states
34
+ - Collaborate, Don't Dictate - Best solutions emerge from cross-functional work
35
+ - Measure and Learn - Continuously gather feedback and iterate
36
+ - Ethical Responsibility - Consider broader impact on user well-being and society
37
+ - You have a keen eye for detail and a deep empathy for users.
38
+ - You're particularly skilled at translating user needs into beautiful, functional designs.
39
+ - You can craft effective prompts for AI UI generation tools like v0, or Lovable.
40
+ startup:
41
+ - Greet the user with your name and role, and inform of the *help command.
42
+ - Always start by understanding the user's context, goals, and constraints before proposing solutions.
43
+ commands: # All commands require * prefix when used (e.g., *help)
44
+ - help: Show numbered list of the following commands to allow selection
45
+ - chat-mode: (Default) UX consultation with advanced-elicitation for design decisions
46
+ - create-doc {template}: Create doc (no template = show available templates)
47
+ - generate-ui-prompt: Create AI frontend generation prompt
48
+ - research {topic}: Generate deep research prompt for UX investigation
49
+ - execute-checklist {checklist}: Run design validation checklist
50
+ - exit: Say goodbye as the UX Expert, and then abandon inhabiting this persona
51
+ dependencies:
52
+ tasks:
53
+ - generate-ai-frontend-prompt
54
+ - create-deep-research-prompt
55
+ - create-doc
56
+ - execute-checklist
57
+ templates:
58
+ - front-end-spec-tmpl
59
+ data:
60
+ - technical-preferences
61
+ utils:
62
+ - template-format
63
+ ```
@@ -0,0 +1,443 @@
1
+ # Architect Solution Validation Checklist
2
+
3
+ This checklist serves as a comprehensive framework for the Architect to validate the technical design and architecture before development execution. The Architect should systematically work through each item, ensuring the architecture is robust, scalable, secure, and aligned with the product requirements.
4
+
5
+ [[LLM: INITIALIZATION INSTRUCTIONS - REQUIRED ARTIFACTS
6
+
7
+ Before proceeding with this checklist, ensure you have access to:
8
+
9
+ 1. architecture.md - The primary architecture document (check docs/architecture.md)
10
+ 2. prd.md - Product Requirements Document for requirements alignment (check docs/prd.md)
11
+ 3. frontend-architecture.md or fe-architecture.md - If this is a UI project (check docs/frontend-architecture.md)
12
+ 4. Any system diagrams referenced in the architecture
13
+ 5. API documentation if available
14
+ 6. Technology stack details and version specifications
15
+
16
+ IMPORTANT: If any required documents are missing or inaccessible, immediately ask the user for their location or content before proceeding.
17
+
18
+ PROJECT TYPE DETECTION:
19
+ First, determine the project type by checking:
20
+
21
+ - Does the architecture include a frontend/UI component?
22
+ - Is there a frontend-architecture.md document?
23
+ - Does the PRD mention user interfaces or frontend requirements?
24
+
25
+ If this is a backend-only or service-only project:
26
+
27
+ - Skip sections marked with [[FRONTEND ONLY]]
28
+ - Focus extra attention on API design, service architecture, and integration patterns
29
+ - Note in your final report that frontend sections were skipped due to project type
30
+
31
+ VALIDATION APPROACH:
32
+ For each section, you must:
33
+
34
+ 1. Deep Analysis - Don't just check boxes, thoroughly analyze each item against the provided documentation
35
+ 2. Evidence-Based - Cite specific sections or quotes from the documents when validating
36
+ 3. Critical Thinking - Question assumptions and identify gaps, not just confirm what's present
37
+ 4. Risk Assessment - Consider what could go wrong with each architectural decision
38
+
39
+ EXECUTION MODE:
40
+ Ask the user if they want to work through the checklist:
41
+
42
+ - Section by section (interactive mode) - Review each section, present findings, get confirmation before proceeding
43
+ - All at once (comprehensive mode) - Complete full analysis and present comprehensive report at end]]
44
+
45
+ ## 1. REQUIREMENTS ALIGNMENT
46
+
47
+ [[LLM: Before evaluating this section, take a moment to fully understand the product's purpose and goals from the PRD. What is the core problem being solved? Who are the users? What are the critical success factors? Keep these in mind as you validate alignment. For each item, don't just check if it's mentioned - verify that the architecture provides a concrete technical solution.]]
48
+
49
+ ### 1.1 Functional Requirements Coverage
50
+
51
+ - [ ] Architecture supports all functional requirements in the PRD
52
+ - [ ] Technical approaches for all epics and stories are addressed
53
+ - [ ] Edge cases and performance scenarios are considered
54
+ - [ ] All required integrations are accounted for
55
+ - [ ] User journeys are supported by the technical architecture
56
+
57
+ ### 1.2 Non-Functional Requirements Alignment
58
+
59
+ - [ ] Performance requirements are addressed with specific solutions
60
+ - [ ] Scalability considerations are documented with approach
61
+ - [ ] Security requirements have corresponding technical controls
62
+ - [ ] Reliability and resilience approaches are defined
63
+ - [ ] Compliance requirements have technical implementations
64
+
65
+ ### 1.3 Technical Constraints Adherence
66
+
67
+ - [ ] All technical constraints from PRD are satisfied
68
+ - [ ] Platform/language requirements are followed
69
+ - [ ] Infrastructure constraints are accommodated
70
+ - [ ] Third-party service constraints are addressed
71
+ - [ ] Organizational technical standards are followed
72
+
73
+ ## 2. ARCHITECTURE FUNDAMENTALS
74
+
75
+ [[LLM: Architecture clarity is crucial for successful implementation. As you review this section, visualize the system as if you were explaining it to a new developer. Are there any ambiguities that could lead to misinterpretation? Would an AI agent be able to implement this architecture without confusion? Look for specific diagrams, component definitions, and clear interaction patterns.]]
76
+
77
+ ### 2.1 Architecture Clarity
78
+
79
+ - [ ] Architecture is documented with clear diagrams
80
+ - [ ] Major components and their responsibilities are defined
81
+ - [ ] Component interactions and dependencies are mapped
82
+ - [ ] Data flows are clearly illustrated
83
+ - [ ] Technology choices for each component are specified
84
+
85
+ ### 2.2 Separation of Concerns
86
+
87
+ - [ ] Clear boundaries between UI, business logic, and data layers
88
+ - [ ] Responsibilities are cleanly divided between components
89
+ - [ ] Interfaces between components are well-defined
90
+ - [ ] Components adhere to single responsibility principle
91
+ - [ ] Cross-cutting concerns (logging, auth, etc.) are properly addressed
92
+
93
+ ### 2.3 Design Patterns & Best Practices
94
+
95
+ - [ ] Appropriate design patterns are employed
96
+ - [ ] Industry best practices are followed
97
+ - [ ] Anti-patterns are avoided
98
+ - [ ] Consistent architectural style throughout
99
+ - [ ] Pattern usage is documented and explained
100
+
101
+ ### 2.4 Modularity & Maintainability
102
+
103
+ - [ ] System is divided into cohesive, loosely-coupled modules
104
+ - [ ] Components can be developed and tested independently
105
+ - [ ] Changes can be localized to specific components
106
+ - [ ] Code organization promotes discoverability
107
+ - [ ] Architecture specifically designed for AI agent implementation
108
+
109
+ ## 3. TECHNICAL STACK & DECISIONS
110
+
111
+ [[LLM: Technology choices have long-term implications. For each technology decision, consider: Is this the simplest solution that could work? Are we over-engineering? Will this scale? What are the maintenance implications? Are there security vulnerabilities in the chosen versions? Verify that specific versions are defined, not ranges.]]
112
+
113
+ ### 3.1 Technology Selection
114
+
115
+ - [ ] Selected technologies meet all requirements
116
+ - [ ] Technology versions are specifically defined (not ranges)
117
+ - [ ] Technology choices are justified with clear rationale
118
+ - [ ] Alternatives considered are documented with pros/cons
119
+ - [ ] Selected stack components work well together
120
+
121
+ ### 3.2 Frontend Architecture [[FRONTEND ONLY]]
122
+
123
+ [[LLM: Skip this entire section if this is a backend-only or service-only project. Only evaluate if the project includes a user interface.]]
124
+
125
+ - [ ] UI framework and libraries are specifically selected
126
+ - [ ] State management approach is defined
127
+ - [ ] Component structure and organization is specified
128
+ - [ ] Responsive/adaptive design approach is outlined
129
+ - [ ] Build and bundling strategy is determined
130
+
131
+ ### 3.3 Backend Architecture
132
+
133
+ - [ ] API design and standards are defined
134
+ - [ ] Service organization and boundaries are clear
135
+ - [ ] Authentication and authorization approach is specified
136
+ - [ ] Error handling strategy is outlined
137
+ - [ ] Backend scaling approach is defined
138
+
139
+ ### 3.4 Data Architecture
140
+
141
+ - [ ] Data models are fully defined
142
+ - [ ] Database technologies are selected with justification
143
+ - [ ] Data access patterns are documented
144
+ - [ ] Data migration/seeding approach is specified
145
+ - [ ] Data backup and recovery strategies are outlined
146
+
147
+ ## 4. FRONTEND DESIGN & IMPLEMENTATION [[FRONTEND ONLY]]
148
+
149
+ [[LLM: This entire section should be skipped for backend-only projects. Only evaluate if the project includes a user interface. When evaluating, ensure alignment between the main architecture document and the frontend-specific architecture document.]]
150
+
151
+ ### 4.1 Frontend Philosophy & Patterns
152
+
153
+ - [ ] Framework & Core Libraries align with main architecture document
154
+ - [ ] Component Architecture (e.g., Atomic Design) is clearly described
155
+ - [ ] State Management Strategy is appropriate for application complexity
156
+ - [ ] Data Flow patterns are consistent and clear
157
+ - [ ] Styling Approach is defined and tooling specified
158
+
159
+ ### 4.2 Frontend Structure & Organization
160
+
161
+ - [ ] Directory structure is clearly documented with ASCII diagram
162
+ - [ ] Component organization follows stated patterns
163
+ - [ ] File naming conventions are explicit
164
+ - [ ] Structure supports chosen framework's best practices
165
+ - [ ] Clear guidance on where new components should be placed
166
+
167
+ ### 4.3 Component Design
168
+
169
+ - [ ] Component template/specification format is defined
170
+ - [ ] Component props, state, and events are well-documented
171
+ - [ ] Shared/foundational components are identified
172
+ - [ ] Component reusability patterns are established
173
+ - [ ] Accessibility requirements are built into component design
174
+
175
+ ### 4.4 Frontend-Backend Integration
176
+
177
+ - [ ] API interaction layer is clearly defined
178
+ - [ ] HTTP client setup and configuration documented
179
+ - [ ] Error handling for API calls is comprehensive
180
+ - [ ] Service definitions follow consistent patterns
181
+ - [ ] Authentication integration with backend is clear
182
+
183
+ ### 4.5 Routing & Navigation
184
+
185
+ - [ ] Routing strategy and library are specified
186
+ - [ ] Route definitions table is comprehensive
187
+ - [ ] Route protection mechanisms are defined
188
+ - [ ] Deep linking considerations addressed
189
+ - [ ] Navigation patterns are consistent
190
+
191
+ ### 4.6 Frontend Performance
192
+
193
+ - [ ] Image optimization strategies defined
194
+ - [ ] Code splitting approach documented
195
+ - [ ] Lazy loading patterns established
196
+ - [ ] Re-render optimization techniques specified
197
+ - [ ] Performance monitoring approach defined
198
+
199
+ ## 5. RESILIENCE & OPERATIONAL READINESS
200
+
201
+ [[LLM: Production systems fail in unexpected ways. As you review this section, think about Murphy's Law - what could go wrong? Consider real-world scenarios: What happens during peak load? How does the system behave when a critical service is down? Can the operations team diagnose issues at 3 AM? Look for specific resilience patterns, not just mentions of "error handling".]]
202
+
203
+ ### 5.1 Error Handling & Resilience
204
+
205
+ - [ ] Error handling strategy is comprehensive
206
+ - [ ] Retry policies are defined where appropriate
207
+ - [ ] Circuit breakers or fallbacks are specified for critical services
208
+ - [ ] Graceful degradation approaches are defined
209
+ - [ ] System can recover from partial failures
210
+
211
+ ### 5.2 Monitoring & Observability
212
+
213
+ - [ ] Logging strategy is defined
214
+ - [ ] Monitoring approach is specified
215
+ - [ ] Key metrics for system health are identified
216
+ - [ ] Alerting thresholds and strategies are outlined
217
+ - [ ] Debugging and troubleshooting capabilities are built in
218
+
219
+ ### 5.3 Performance & Scaling
220
+
221
+ - [ ] Performance bottlenecks are identified and addressed
222
+ - [ ] Caching strategy is defined where appropriate
223
+ - [ ] Load balancing approach is specified
224
+ - [ ] Horizontal and vertical scaling strategies are outlined
225
+ - [ ] Resource sizing recommendations are provided
226
+
227
+ ### 5.4 Deployment & DevOps
228
+
229
+ - [ ] Deployment strategy is defined
230
+ - [ ] CI/CD pipeline approach is outlined
231
+ - [ ] Environment strategy (dev, staging, prod) is specified
232
+ - [ ] Infrastructure as Code approach is defined
233
+ - [ ] Rollback and recovery procedures are outlined
234
+
235
+ ## 6. SECURITY & COMPLIANCE
236
+
237
+ [[LLM: Security is not optional. Review this section with a hacker's mindset - how could someone exploit this system? Also consider compliance: Are there industry-specific regulations that apply? GDPR? HIPAA? PCI? Ensure the architecture addresses these proactively. Look for specific security controls, not just general statements.]]
238
+
239
+ ### 6.1 Authentication & Authorization
240
+
241
+ - [ ] Authentication mechanism is clearly defined
242
+ - [ ] Authorization model is specified
243
+ - [ ] Role-based access control is outlined if required
244
+ - [ ] Session management approach is defined
245
+ - [ ] Credential management is addressed
246
+
247
+ ### 6.2 Data Security
248
+
249
+ - [ ] Data encryption approach (at rest and in transit) is specified
250
+ - [ ] Sensitive data handling procedures are defined
251
+ - [ ] Data retention and purging policies are outlined
252
+ - [ ] Backup encryption is addressed if required
253
+ - [ ] Data access audit trails are specified if required
254
+
255
+ ### 6.3 API & Service Security
256
+
257
+ - [ ] API security controls are defined
258
+ - [ ] Rate limiting and throttling approaches are specified
259
+ - [ ] Input validation strategy is outlined
260
+ - [ ] CSRF/XSS prevention measures are addressed
261
+ - [ ] Secure communication protocols are specified
262
+
263
+ ### 6.4 Infrastructure Security
264
+
265
+ - [ ] Network security design is outlined
266
+ - [ ] Firewall and security group configurations are specified
267
+ - [ ] Service isolation approach is defined
268
+ - [ ] Least privilege principle is applied
269
+ - [ ] Security monitoring strategy is outlined
270
+
271
+ ## 7. IMPLEMENTATION GUIDANCE
272
+
273
+ [[LLM: Clear implementation guidance prevents costly mistakes. As you review this section, imagine you're a developer starting on day one. Do they have everything they need to be productive? Are coding standards clear enough to maintain consistency across the team? Look for specific examples and patterns.]]
274
+
275
+ ### 7.1 Coding Standards & Practices
276
+
277
+ - [ ] Coding standards are defined
278
+ - [ ] Documentation requirements are specified
279
+ - [ ] Testing expectations are outlined
280
+ - [ ] Code organization principles are defined
281
+ - [ ] Naming conventions are specified
282
+
283
+ ### 7.2 Testing Strategy
284
+
285
+ - [ ] Unit testing approach is defined
286
+ - [ ] Integration testing strategy is outlined
287
+ - [ ] E2E testing approach is specified
288
+ - [ ] Performance testing requirements are outlined
289
+ - [ ] Security testing approach is defined
290
+
291
+ ### 7.3 Frontend Testing [[FRONTEND ONLY]]
292
+
293
+ [[LLM: Skip this subsection for backend-only projects.]]
294
+
295
+ - [ ] Component testing scope and tools defined
296
+ - [ ] UI integration testing approach specified
297
+ - [ ] Visual regression testing considered
298
+ - [ ] Accessibility testing tools identified
299
+ - [ ] Frontend-specific test data management addressed
300
+
301
+ ### 7.4 Development Environment
302
+
303
+ - [ ] Local development environment setup is documented
304
+ - [ ] Required tools and configurations are specified
305
+ - [ ] Development workflows are outlined
306
+ - [ ] Source control practices are defined
307
+ - [ ] Dependency management approach is specified
308
+
309
+ ### 7.5 Technical Documentation
310
+
311
+ - [ ] API documentation standards are defined
312
+ - [ ] Architecture documentation requirements are specified
313
+ - [ ] Code documentation expectations are outlined
314
+ - [ ] System diagrams and visualizations are included
315
+ - [ ] Decision records for key choices are included
316
+
317
+ ## 8. DEPENDENCY & INTEGRATION MANAGEMENT
318
+
319
+ [[LLM: Dependencies are often the source of production issues. For each dependency, consider: What happens if it's unavailable? Is there a newer version with security patches? Are we locked into a vendor? What's our contingency plan? Verify specific versions and fallback strategies.]]
320
+
321
+ ### 8.1 External Dependencies
322
+
323
+ - [ ] All external dependencies are identified
324
+ - [ ] Versioning strategy for dependencies is defined
325
+ - [ ] Fallback approaches for critical dependencies are specified
326
+ - [ ] Licensing implications are addressed
327
+ - [ ] Update and patching strategy is outlined
328
+
329
+ ### 8.2 Internal Dependencies
330
+
331
+ - [ ] Component dependencies are clearly mapped
332
+ - [ ] Build order dependencies are addressed
333
+ - [ ] Shared services and utilities are identified
334
+ - [ ] Circular dependencies are eliminated
335
+ - [ ] Versioning strategy for internal components is defined
336
+
337
+ ### 8.3 Third-Party Integrations
338
+
339
+ - [ ] All third-party integrations are identified
340
+ - [ ] Integration approaches are defined
341
+ - [ ] Authentication with third parties is addressed
342
+ - [ ] Error handling for integration failures is specified
343
+ - [ ] Rate limits and quotas are considered
344
+
345
+ ## 9. AI AGENT IMPLEMENTATION SUITABILITY
346
+
347
+ [[LLM: This architecture may be implemented by AI agents. Review with extreme clarity in mind. Are patterns consistent? Is complexity minimized? Would an AI agent make incorrect assumptions? Remember: explicit is better than implicit. Look for clear file structures, naming conventions, and implementation patterns.]]
348
+
349
+ ### 9.1 Modularity for AI Agents
350
+
351
+ - [ ] Components are sized appropriately for AI agent implementation
352
+ - [ ] Dependencies between components are minimized
353
+ - [ ] Clear interfaces between components are defined
354
+ - [ ] Components have singular, well-defined responsibilities
355
+ - [ ] File and code organization optimized for AI agent understanding
356
+
357
+ ### 9.2 Clarity & Predictability
358
+
359
+ - [ ] Patterns are consistent and predictable
360
+ - [ ] Complex logic is broken down into simpler steps
361
+ - [ ] Architecture avoids overly clever or obscure approaches
362
+ - [ ] Examples are provided for unfamiliar patterns
363
+ - [ ] Component responsibilities are explicit and clear
364
+
365
+ ### 9.3 Implementation Guidance
366
+
367
+ - [ ] Detailed implementation guidance is provided
368
+ - [ ] Code structure templates are defined
369
+ - [ ] Specific implementation patterns are documented
370
+ - [ ] Common pitfalls are identified with solutions
371
+ - [ ] References to similar implementations are provided when helpful
372
+
373
+ ### 9.4 Error Prevention & Handling
374
+
375
+ - [ ] Design reduces opportunities for implementation errors
376
+ - [ ] Validation and error checking approaches are defined
377
+ - [ ] Self-healing mechanisms are incorporated where possible
378
+ - [ ] Testing patterns are clearly defined
379
+ - [ ] Debugging guidance is provided
380
+
381
+ ## 10. ACCESSIBILITY IMPLEMENTATION [[FRONTEND ONLY]]
382
+
383
+ [[LLM: Skip this section for backend-only projects. Accessibility is a core requirement for any user interface.]]
384
+
385
+ ### 10.1 Accessibility Standards
386
+
387
+ - [ ] Semantic HTML usage is emphasized
388
+ - [ ] ARIA implementation guidelines provided
389
+ - [ ] Keyboard navigation requirements defined
390
+ - [ ] Focus management approach specified
391
+ - [ ] Screen reader compatibility addressed
392
+
393
+ ### 10.2 Accessibility Testing
394
+
395
+ - [ ] Accessibility testing tools identified
396
+ - [ ] Testing process integrated into workflow
397
+ - [ ] Compliance targets (WCAG level) specified
398
+ - [ ] Manual testing procedures defined
399
+ - [ ] Automated testing approach outlined
400
+
401
+ [[LLM: FINAL VALIDATION REPORT GENERATION
402
+
403
+ Now that you've completed the checklist, generate a comprehensive validation report that includes:
404
+
405
+ 1. Executive Summary
406
+
407
+ - Overall architecture readiness (High/Medium/Low)
408
+ - Critical risks identified
409
+ - Key strengths of the architecture
410
+ - Project type (Full-stack/Frontend/Backend) and sections evaluated
411
+
412
+ 2. Section Analysis
413
+
414
+ - Pass rate for each major section (percentage of items passed)
415
+ - Most concerning failures or gaps
416
+ - Sections requiring immediate attention
417
+ - Note any sections skipped due to project type
418
+
419
+ 3. Risk Assessment
420
+
421
+ - Top 5 risks by severity
422
+ - Mitigation recommendations for each
423
+ - Timeline impact of addressing issues
424
+
425
+ 4. Recommendations
426
+
427
+ - Must-fix items before development
428
+ - Should-fix items for better quality
429
+ - Nice-to-have improvements
430
+
431
+ 5. AI Implementation Readiness
432
+
433
+ - Specific concerns for AI agent implementation
434
+ - Areas needing additional clarification
435
+ - Complexity hotspots to address
436
+
437
+ 6. Frontend-Specific Assessment (if applicable)
438
+ - Frontend architecture completeness
439
+ - Alignment between main and frontend architecture docs
440
+ - UI/UX specification coverage
441
+ - Component design clarity
442
+
443
+ After presenting the report, ask the user if they would like detailed analysis of any specific section, especially those with warnings or failures.]]