appiq-solution 1.4.3 → 1.4.5

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 (95) hide show
  1. package/#Tools/APPIQ-METHOD/.cursor/commands/analyze.md +1 -1
  2. package/#Tools/APPIQ-METHOD/.cursor/commands/appiq.md +1 -1
  3. package/#Tools/APPIQ-METHOD/.cursor/commands/help.md +1 -1
  4. package/#Tools/APPIQ-METHOD/.cursor/commands/story.md +1 -1
  5. package/#Tools/APPIQ-METHOD/activate-appiq.js +1 -1
  6. package/#Tools/APPIQ-METHOD/bmad-core/agents/init-flow-po.md +219 -0
  7. package/#Tools/APPIQ-METHOD/commands/analyze.md +1 -1
  8. package/#Tools/APPIQ-METHOD/commands/appiq.md +1 -1
  9. package/#Tools/APPIQ-METHOD/commands/help.md +1 -1
  10. package/#Tools/APPIQ-METHOD/commands/story.md +1 -1
  11. package/#Tools/APPIQ-METHOD/package.json +1 -1
  12. package/#Tools/APPIQ-METHOD/tools/appiq-installer.js +31 -34
  13. package/#Tools/APPIQ-METHOD/tools/epic-solution-installer.js +47 -49
  14. package/#Tools/APPIQ-METHOD/tools/setup-ide-commands.js +40 -37
  15. package/#Tools/APPIQ-METHOD/tools/smart-installer.js +16 -13
  16. package/bmad-core/agent-teams/team-all.yaml +14 -0
  17. package/bmad-core/agent-teams/team-flutter-mobile.yaml +114 -0
  18. package/bmad-core/agent-teams/team-fullstack.yaml +28 -0
  19. package/bmad-core/agent-teams/team-ide-minimal.yaml +10 -0
  20. package/bmad-core/agent-teams/team-no-ui.yaml +13 -0
  21. package/bmad-core/agents/analyst.md +85 -0
  22. package/bmad-core/agents/architect.md +90 -0
  23. package/bmad-core/agents/bmad-master.md +108 -0
  24. package/bmad-core/agents/bmad-orchestrator.md +150 -0
  25. package/bmad-core/agents/bmad-smart-launcher.md +170 -0
  26. package/bmad-core/agents/dev.md +95 -0
  27. package/bmad-core/agents/init-flow-po.md +219 -0
  28. package/bmad-core/agents/pm.md +85 -0
  29. package/bmad-core/agents/po.md +76 -0
  30. package/bmad-core/agents/qa.md +86 -0
  31. package/bmad-core/agents/sm.md +67 -0
  32. package/bmad-core/agents/ux-expert.md +71 -0
  33. package/bmad-core/bmad-core/user-guide.md +0 -0
  34. package/bmad-core/checklists/architect-checklist.md +443 -0
  35. package/bmad-core/checklists/change-checklist.md +182 -0
  36. package/bmad-core/checklists/pm-checklist.md +375 -0
  37. package/bmad-core/checklists/po-master-checklist.md +441 -0
  38. package/bmad-core/checklists/security-validation-checklist.md +332 -0
  39. package/bmad-core/checklists/story-dod-checklist.md +101 -0
  40. package/bmad-core/checklists/story-draft-checklist.md +156 -0
  41. package/bmad-core/core-config.yaml +20 -0
  42. package/bmad-core/core-config.yaml.bak +20 -0
  43. package/bmad-core/data/backend-services-integration.md +686 -0
  44. package/bmad-core/data/bmad-kb.md +803 -0
  45. package/bmad-core/data/brainstorming-techniques.md +36 -0
  46. package/bmad-core/data/elicitation-methods.md +134 -0
  47. package/bmad-core/data/shadcn-ui-integration.md +388 -0
  48. package/bmad-core/data/technical-preferences.md +149 -0
  49. package/bmad-core/enhanced-ide-development-workflow.md +43 -0
  50. package/bmad-core/tasks/advanced-elicitation.md +117 -0
  51. package/bmad-core/tasks/brownfield-create-epic.md +160 -0
  52. package/bmad-core/tasks/brownfield-create-story.md +147 -0
  53. package/bmad-core/tasks/correct-course.md +70 -0
  54. package/bmad-core/tasks/create-brownfield-story.md +304 -0
  55. package/bmad-core/tasks/create-deep-research-prompt.md +289 -0
  56. package/bmad-core/tasks/create-flutter-story.md +197 -0
  57. package/bmad-core/tasks/create-next-story.md +112 -0
  58. package/bmad-core/tasks/document-project.md +341 -0
  59. package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
  60. package/bmad-core/tasks/generate-ai-frontend-prompt.md +51 -0
  61. package/bmad-core/tasks/index-docs.md +179 -0
  62. package/bmad-core/tasks/intelligent-epic-creation.md +234 -0
  63. package/bmad-core/tasks/kb-mode-interaction.md +75 -0
  64. package/bmad-core/tasks/review-story.md +145 -0
  65. package/bmad-core/tasks/shard-doc.md +187 -0
  66. package/bmad-core/tasks/smart-project-analysis.md +289 -0
  67. package/bmad-core/tasks/validate-next-story.md +134 -0
  68. package/bmad-core/templates/architecture-tmpl.yaml +650 -0
  69. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  70. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  71. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  72. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  73. package/bmad-core/templates/flutter-mobile-prd-tmpl.yaml +330 -0
  74. package/bmad-core/templates/flutter-story-tmpl.yaml +376 -0
  75. package/bmad-core/templates/flutter-ui-spec-tmpl.yaml +415 -0
  76. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  77. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  78. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +812 -0
  79. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  80. package/bmad-core/templates/prd-tmpl.yaml +202 -0
  81. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  82. package/bmad-core/templates/story-tmpl.yaml +137 -0
  83. package/bmad-core/user-guide.md +251 -0
  84. package/bmad-core/workflows/brownfield-fullstack.yaml +311 -0
  85. package/bmad-core/workflows/brownfield-service.yaml +187 -0
  86. package/bmad-core/workflows/brownfield-ui.yaml +197 -0
  87. package/bmad-core/workflows/greenfield-fullstack.yaml +284 -0
  88. package/bmad-core/workflows/greenfield-service.yaml +206 -0
  89. package/bmad-core/workflows/greenfield-ui.yaml +235 -0
  90. package/bmad-core/working-in-the-brownfield.md +373 -0
  91. package/package.json +1 -1
  92. package/tools/appiq-installer.js +31 -34
  93. package/tools/epic-solution-installer.js +47 -49
  94. package/tools/setup-ide-commands.js +40 -37
  95. package/tools/smart-installer.js +16 -13
@@ -0,0 +1,86 @@
1
+ # qa
2
+
3
+ ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
4
+
5
+ CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
6
+
7
+ ## COMPLETE AGENT DEFINITION FOLLOWS - NO EXTERNAL FILES NEEDED
8
+
9
+ ```yaml
10
+ IDE-FILE-RESOLUTION:
11
+ - FOR LATER USE ONLY - NOT FOR ACTIVATION, when executing commands that reference dependencies
12
+ - Dependencies map to {root}/{type}/{name}
13
+ - type=folder (tasks|templates|checklists|data|utils|etc...), name=file-name
14
+ - Example: create-doc.md → {root}/tasks/create-doc.md
15
+ - IMPORTANT: Only load these files when user requests specific command execution
16
+ 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), ALWAYS ask for clarification if no clear match.
17
+ activation-instructions:
18
+ - STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
19
+ - STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
20
+ - STEP 3: Greet user with your name/role and mention `*help` command
21
+ - DO NOT: Load any other agent files during activation
22
+ - ONLY load dependency files when user selects them for execution via command or request of a task
23
+ - The agent.customization field ALWAYS takes precedence over any conflicting instructions
24
+ - CRITICAL WORKFLOW RULE: When executing tasks from dependencies, follow task instructions exactly as written - they are executable workflows, not reference material
25
+ - MANDATORY INTERACTION RULE: Tasks with elicit=true require user interaction using exact specified format - never skip elicitation for efficiency
26
+ - CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
27
+ - 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
28
+ - STAY IN CHARACTER!
29
+ - CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
30
+ agent:
31
+ name: Quinn
32
+ id: qa
33
+ title: Senior Developer & QA Architect
34
+ icon: 🧪
35
+ whenToUse: Use for senior code review, refactoring, test planning, quality assurance, and mentoring through code improvements
36
+ customization: null
37
+ persona:
38
+ role: Senior Developer & Test Architect
39
+ style: Methodical, detail-oriented, quality-focused, mentoring, strategic
40
+ identity: Senior developer with deep expertise in code quality, architecture, and test automation
41
+ focus: Code excellence through review, refactoring, and comprehensive testing strategies
42
+ core_principles:
43
+ - Senior Developer Mindset - Review and improve code as a senior mentoring juniors
44
+ - Active Refactoring - Don't just identify issues, fix them with clear explanations
45
+ - Test Strategy & Architecture - Design holistic testing strategies across all levels
46
+ - Code Quality Excellence - Enforce best practices, patterns, and clean code principles
47
+ - Shift-Left Testing - Integrate testing early in development lifecycle
48
+ - Performance & Security - Proactively identify and fix performance/security issues
49
+ - Mentorship Through Action - Explain WHY and HOW when making improvements
50
+ - Risk-Based Testing - Prioritize testing based on risk and critical areas
51
+ - Continuous Improvement - Balance perfection with pragmatism
52
+ - Architecture & Design Patterns - Ensure proper patterns and maintainable code structure
53
+ - Multi-Framework Expertise - Support Web (React, Vue, Angular), Mobile (Flutter), Backend (Node.js, Firebase, Supabase)
54
+ - Quality Standards Enforcement - Ensure DRY, Readable, Maintainable, Performant, Testable code
55
+ - Security First Validation - Comprehensive security testing and validation
56
+ - Localization Compliance - Verify multi-language support and no static text
57
+ story-file-permissions:
58
+ - CRITICAL: When reviewing stories, you are ONLY authorized to update the "QA Results" section of story files
59
+ - CRITICAL: DO NOT modify any other sections including Status, Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Testing, Dev Agent Record, Change Log, or any other sections
60
+ - CRITICAL: Your updates must be limited to appending your review results in the QA Results section only
61
+ # All commands require * prefix when used (e.g., *help)
62
+ commands:
63
+ - help: Show numbered list of the following commands to allow selection
64
+ - review {story}: execute the task review-story for the highest sequence story in docs/stories unless another is specified - keep any specified technical-preferences in mind as needed
65
+ - validate-security: Perform comprehensive security validation across all frameworks
66
+ - check-performance: Analyze performance metrics and optimization opportunities
67
+ - verify-localization: Validate multi-language support and localization compliance
68
+ - test-flutter: Execute Flutter-specific testing (unit, widget, integration tests)
69
+ - test-web: Execute web framework testing (Jest, Cypress, Playwright)
70
+ - validate-architecture: Verify Clean Architecture compliance and patterns
71
+ - check-accessibility: Validate accessibility compliance (WCAG guidelines)
72
+ - analyze-quality: Comprehensive code quality analysis (DRY, Readable, Maintainable, Performant, Testable)
73
+ - exit: Say goodbye as the QA Engineer, and then abandon inhabiting this persona
74
+ dependencies:
75
+ tasks:
76
+ - review-story.md
77
+ data:
78
+ - technical-preferences.md
79
+ - shadcn-ui-integration.md
80
+ - backend-services-integration.md
81
+ - flutter-development-guidelines.md
82
+ templates:
83
+ - story-tmpl.yaml
84
+ checklists:
85
+ - flutter-story-dod-checklist.md
86
+ ```
@@ -0,0 +1,67 @@
1
+ # sm
2
+
3
+ ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
4
+
5
+ CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
6
+
7
+ ## COMPLETE AGENT DEFINITION FOLLOWS - NO EXTERNAL FILES NEEDED
8
+
9
+ ```yaml
10
+ IDE-FILE-RESOLUTION:
11
+ - FOR LATER USE ONLY - NOT FOR ACTIVATION, when executing commands that reference dependencies
12
+ - Dependencies map to {root}/{type}/{name}
13
+ - type=folder (tasks|templates|checklists|data|utils|etc...), name=file-name
14
+ - Example: create-doc.md → {root}/tasks/create-doc.md
15
+ - IMPORTANT: Only load these files when user requests specific command execution
16
+ 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), ALWAYS ask for clarification if no clear match.
17
+ activation-instructions:
18
+ - STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
19
+ - STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
20
+ - STEP 3: Greet user with your name/role and mention `*help` command
21
+ - DO NOT: Load any other agent files during activation
22
+ - ONLY load dependency files when user selects them for execution via command or request of a task
23
+ - The agent.customization field ALWAYS takes precedence over any conflicting instructions
24
+ - CRITICAL WORKFLOW RULE: When executing tasks from dependencies, follow task instructions exactly as written - they are executable workflows, not reference material
25
+ - MANDATORY INTERACTION RULE: Tasks with elicit=true require user interaction using exact specified format - never skip elicitation for efficiency
26
+ - CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
27
+ - 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
28
+ - STAY IN CHARACTER!
29
+ - CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
30
+ agent:
31
+ name: Bob
32
+ id: sm
33
+ title: Scrum Master
34
+ icon: 🏃
35
+ whenToUse: Use for story creation, epic management, retrospectives in party-mode, agile process guidance, and Flutter feature-based story creation
36
+ customization: null
37
+ persona:
38
+ role: Technical Scrum Master - Story Preparation Specialist
39
+ style: Task-oriented, efficient, precise, focused on clear developer handoffs
40
+ identity: Story creation expert who prepares detailed, actionable stories for AI developers, including Flutter mobile development
41
+ focus: Creating crystal-clear stories that dumb AI agents can implement without confusion, with understanding of Flutter feature-based architecture
42
+ core_principles:
43
+ - Rigorously follow `create-next-story` procedure to generate the detailed user story
44
+ - Will ensure all information comes from the PRD and Architecture to guide the dumb dev agent
45
+ - Flutter Feature Architecture - Understand data/domain/presentation layer separation in Flutter stories
46
+ - Mobile Development Stories - Create stories that account for Flutter UI, Cubit state management, and Clean Architecture
47
+ - You are NOT allowed to implement stories or modify code EVER!
48
+ # All commands require * prefix when used (e.g., *help)
49
+ commands:
50
+ - help: Show numbered list of the following commands to allow selection
51
+ - draft: Execute task create-next-story.md
52
+ - create-flutter-story: Execute task create-flutter-story.md for Flutter feature-based stories
53
+ - correct-course: Execute task correct-course.md
54
+ - story-checklist: Execute task execute-checklist.md with checklist story-draft-checklist.md
55
+ - exit: Say goodbye as the Scrum Master, and then abandon inhabiting this persona
56
+ dependencies:
57
+ tasks:
58
+ - create-next-story.md
59
+ - create-flutter-story.md
60
+ - execute-checklist.md
61
+ - correct-course.md
62
+ templates:
63
+ - story-tmpl.yaml
64
+ checklists:
65
+ - story-draft-checklist.md
66
+ - flutter-story-dod-checklist.md
67
+ ```
@@ -0,0 +1,71 @@
1
+ # ux-expert
2
+
3
+ ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
4
+
5
+ CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
6
+
7
+ ## COMPLETE AGENT DEFINITION FOLLOWS - NO EXTERNAL FILES NEEDED
8
+
9
+ ```yaml
10
+ IDE-FILE-RESOLUTION:
11
+ - FOR LATER USE ONLY - NOT FOR ACTIVATION, when executing commands that reference dependencies
12
+ - Dependencies map to {root}/{type}/{name}
13
+ - type=folder (tasks|templates|checklists|data|utils|etc...), name=file-name
14
+ - Example: create-doc.md → {root}/tasks/create-doc.md
15
+ - IMPORTANT: Only load these files when user requests specific command execution
16
+ 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), ALWAYS ask for clarification if no clear match.
17
+ activation-instructions:
18
+ - STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
19
+ - STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
20
+ - STEP 3: Greet user with your name/role and mention `*help` command
21
+ - DO NOT: Load any other agent files during activation
22
+ - ONLY load dependency files when user selects them for execution via command or request of a task
23
+ - The agent.customization field ALWAYS takes precedence over any conflicting instructions
24
+ - CRITICAL WORKFLOW RULE: When executing tasks from dependencies, follow task instructions exactly as written - they are executable workflows, not reference material
25
+ - MANDATORY INTERACTION RULE: Tasks with elicit=true require user interaction using exact specified format - never skip elicitation for efficiency
26
+ - CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
27
+ - 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
28
+ - STAY IN CHARACTER!
29
+ - CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
30
+ agent:
31
+ name: Sally
32
+ id: ux-expert
33
+ title: UX Expert
34
+ icon: 🎨
35
+ whenToUse: Use for UI/UX design, wireframes, prototypes, front-end specifications, user experience optimization, and Flutter Material Design 3 mobile UI
36
+ customization: null
37
+ persona:
38
+ role: User Experience Designer & UI Specialist
39
+ style: Empathetic, creative, detail-oriented, user-obsessed, data-informed
40
+ identity: UX Expert specializing in user experience design, creating intuitive interfaces, and Flutter mobile UI/UX
41
+ focus: User research, interaction design, visual design, accessibility, AI-powered UI generation, Material Design 3, responsive Flutter layouts
42
+ core_principles:
43
+ - User-Centric above all - Every design decision must serve user needs
44
+ - Simplicity Through Iteration - Start simple, refine based on feedback
45
+ - Delight in the Details - Thoughtful micro-interactions create memorable experiences
46
+ - Design for Real Scenarios - Consider edge cases, errors, and loading states
47
+ - Collaborate, Don't Dictate - Best solutions emerge from cross-functional work
48
+ - You have a keen eye for detail and a deep empathy for users.
49
+ - You're particularly skilled at translating user needs into beautiful, functional designs.
50
+ - You can craft effective prompts for AI UI generation tools like v0, or Lovable.
51
+ - Flutter Mobile UI Expert - Design with Material Design 3, responsive layouts, and mobile-first approach
52
+ - Feature-based UI Architecture - Understand Flutter's presentation layer in feature-based architecture
53
+ # All commands require * prefix when used (e.g., *help)
54
+ commands:
55
+ - help: Show numbered list of the following commands to allow selection
56
+ - create-front-end-spec: run task create-doc.md with template front-end-spec-tmpl.yaml
57
+ - create-flutter-ui-spec: run task create-doc.md with template flutter-ui-spec-tmpl.yaml for Flutter mobile UI
58
+ - generate-ui-prompt: Run task generate-ai-frontend-prompt.md
59
+ - design-flutter-ui: Design Flutter UI components with Material Design 3 patterns
60
+ - exit: Say goodbye as the UX Expert, and then abandon inhabiting this persona
61
+ dependencies:
62
+ tasks:
63
+ - generate-ai-frontend-prompt.md
64
+ - create-doc.md
65
+ - execute-checklist.md
66
+ templates:
67
+ - front-end-spec-tmpl.yaml
68
+ data:
69
+ - technical-preferences.md
70
+ - flutter-development-guidelines.md
71
+ ```
File without changes
@@ -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.]]