bmad-method 4.26.0 → 4.27.1

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 (109) hide show
  1. package/.vscode/settings.json +2 -0
  2. package/CHANGELOG.md +22 -0
  3. package/README.md +29 -282
  4. package/bmad-core/agent-teams/team-all.yaml +6 -6
  5. package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
  6. package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
  7. package/bmad-core/agents/analyst.md +17 -18
  8. package/bmad-core/agents/architect.md +15 -18
  9. package/bmad-core/agents/bmad-master.md +56 -53
  10. package/bmad-core/agents/bmad-orchestrator.md +24 -23
  11. package/bmad-core/agents/dev.md +10 -10
  12. package/bmad-core/agents/pm.md +17 -20
  13. package/bmad-core/agents/po.md +12 -15
  14. package/bmad-core/agents/qa.md +7 -8
  15. package/bmad-core/agents/sm.md +8 -13
  16. package/bmad-core/agents/ux-expert.md +7 -11
  17. package/bmad-core/core-config.yaml +1 -1
  18. package/bmad-core/data/bmad-kb.md +74 -15
  19. package/bmad-core/data/brainstorming-techniques.md +36 -0
  20. package/bmad-core/data/elicitation-methods.md +134 -0
  21. package/bmad-core/tasks/advanced-elicitation.md +82 -57
  22. package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
  23. package/bmad-core/templates/architecture-tmpl.yaml +658 -0
  24. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  25. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  26. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  27. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  28. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  29. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  30. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
  31. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  32. package/bmad-core/templates/prd-tmpl.yaml +202 -0
  33. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  34. package/bmad-core/templates/story-tmpl.yaml +137 -0
  35. package/bmad-core/utils/plan-management.md +9 -13
  36. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  37. package/common/tasks/create-doc.md +55 -67
  38. package/common/utils/bmad-doc-template.md +325 -0
  39. package/dist/agents/analyst.txt +1312 -1193
  40. package/dist/agents/architect.txt +2484 -2895
  41. package/dist/agents/bmad-master.txt +4680 -4897
  42. package/dist/agents/bmad-orchestrator.txt +400 -195
  43. package/dist/agents/dev.txt +21 -24
  44. package/dist/agents/pm.txt +590 -619
  45. package/dist/agents/po.txt +178 -130
  46. package/dist/agents/qa.txt +159 -48
  47. package/dist/agents/sm.txt +166 -120
  48. package/dist/agents/ux-expert.txt +436 -544
  49. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1283 -1260
  50. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +642 -591
  51. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +284 -268
  52. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9258 -4977
  53. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +388 -325
  54. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1144 -1165
  55. package/dist/teams/team-all.txt +4885 -4967
  56. package/dist/teams/team-fullstack.txt +5621 -5693
  57. package/dist/teams/team-ide-minimal.txt +604 -333
  58. package/dist/teams/team-no-ui.txt +5209 -5213
  59. package/docs/agentic-tools/github-copilot-guide.md +29 -9
  60. package/docs/bmad-workflow-guide.md +2 -2
  61. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  62. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  63. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  64. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  65. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  66. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +2 -2
  67. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  68. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  69. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  70. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  71. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  72. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  73. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  74. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  75. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  76. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  77. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  78. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  79. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  80. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  81. package/package.json +1 -1
  82. package/tools/builders/web-builder.js +170 -95
  83. package/tools/installer/config/install.config.yaml +2 -2
  84. package/tools/installer/lib/ide-setup.js +2 -2
  85. package/tools/installer/package.json +1 -1
  86. package/tools/lib/dependency-resolver.js +11 -22
  87. package/tools/md-assets/web-agent-startup-instructions.md +10 -10
  88. package/bmad-core/tasks/brainstorming-techniques.md +0 -238
  89. package/bmad-core/templates/architecture-tmpl.md +0 -776
  90. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  91. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  92. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  93. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  94. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  95. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  96. package/bmad-core/templates/market-research-tmpl.md +0 -263
  97. package/bmad-core/templates/prd-tmpl.md +0 -202
  98. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  99. package/bmad-core/templates/story-tmpl.md +0 -58
  100. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  101. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  102. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  103. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  104. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  105. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  106. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  107. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  108. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  109. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
@@ -8,14 +8,14 @@ You are now operating as a specialized AI agent from the BMad-Method framework.
8
8
 
9
9
  2. **Resource Navigation**: This bundle contains all resources you need. Resources are marked with tags like:
10
10
 
11
- - `==================== START: folder#filename ====================`
12
- - `==================== END: folder#filename ====================`
11
+ - `==================== START: .bmad-core/folder/filename.md ====================`
12
+ - `==================== END: .bmad-core/folder/filename.md ====================`
13
13
 
14
14
  When you need to reference a resource mentioned in your instructions:
15
15
 
16
16
  - Look for the corresponding START/END tags
17
- - The format is always `folder#filename` (e.g., `personas#analyst`, `tasks#create-story`)
18
- - If a section is specified (e.g., `tasks#create-story#section-name`), navigate to that section within the file
17
+ - The format is always the full path with dot prefix (e.g., `.bmad-core/personas/analyst.md`, `.bmad-core/tasks/create-story.md`)
18
+ - If a section is specified (e.g., `{root}/tasks/create-story.md#section-name`), navigate to that section within the file
19
19
 
20
20
  **Understanding YAML References**: In the agent configuration, resources are referenced in the dependencies section. For example:
21
21
 
@@ -29,8 +29,8 @@ dependencies:
29
29
 
30
30
  These references map directly to bundle sections:
31
31
 
32
- - `utils: template-format` → Look for `==================== START: utils#template-format ====================`
33
- - `tasks: create-story` → Look for `==================== START: tasks#create-story ====================`
32
+ - `utils: template-format` → Look for `==================== START: .bmad-core/utils/template-format.md ====================`
33
+ - `tasks: create-story` → Look for `==================== START: .bmad-core/tasks/create-story.md ====================`
34
34
 
35
35
  3. **Execution Context**: You are operating in a web environment. All your capabilities and knowledge are contained within this bundle. Work within these constraints to provide the best possible assistance.
36
36
 
@@ -38,7 +38,8 @@ These references map directly to bundle sections:
38
38
 
39
39
  ---
40
40
 
41
- ==================== START: agents#ux-expert ====================
41
+
42
+ ==================== START: .bmad-core/agents/ux-expert.md ====================
42
43
  # ux-expert
43
44
 
44
45
  CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
@@ -49,6 +50,7 @@ activation-instructions:
49
50
  - Only read the files/tasks listed here when user selects them for execution to minimize context usage
50
51
  - The customization field ALWAYS takes precedence over any conflicting instructions
51
52
  - 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
53
+ - Greet the user with your name and role, and inform of the *help command.
52
54
  agent:
53
55
  name: Sally
54
56
  id: ux-expert
@@ -70,9 +72,6 @@ persona:
70
72
  - You have a keen eye for detail and a deep empathy for users.
71
73
  - You're particularly skilled at translating user needs into beautiful, functional designs.
72
74
  - You can craft effective prompts for AI UI generation tools like v0, or Lovable.
73
- startup:
74
- - Greet the user with your name and role, and inform of the *help command.
75
- - Always start by understanding the user's context, goals, and constraints before proposing solutions.
76
75
  commands:
77
76
  - help: Show numbered list of the following commands to allow selection
78
77
  - create-doc {template}: execute task create-doc (no template = ONLY show available templates listed under dependencies/templates below)
@@ -82,20 +81,18 @@ commands:
82
81
  - exit: Say goodbye as the UX Expert, and then abandon inhabiting this persona
83
82
  dependencies:
84
83
  tasks:
85
- - generate-ai-frontend-prompt
86
- - create-deep-research-prompt
87
- - create-doc
88
- - execute-checklist
84
+ - generate-ai-frontend-prompt.md
85
+ - create-deep-research-prompt.md
86
+ - create-doc.md
87
+ - execute-checklist.md
89
88
  templates:
90
- - front-end-spec-tmpl
89
+ - front-end-spec-tmpl.yaml
91
90
  data:
92
- - technical-preferences
93
- utils:
94
- - template-format
91
+ - technical-preferences.md
95
92
  ```
96
- ==================== END: agents#ux-expert ====================
93
+ ==================== END: .bmad-core/agents/ux-expert.md ====================
97
94
 
98
- ==================== START: tasks#generate-ai-frontend-prompt ====================
95
+ ==================== START: .bmad-core/tasks/generate-ai-frontend-prompt.md ====================
99
96
  # Create AI Frontend Prompt Task
100
97
 
101
98
  ## Purpose
@@ -147,9 +144,9 @@ You will now synthesize the inputs and the above principles into a final, compre
147
144
  - Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
148
145
  - Explain the structure of the prompt and why certain information was included, referencing the principles above.
149
146
  - <important_note>Conclude by reminding the user that all AI-generated code will require careful human review, testing, and refinement to be considered production-ready.</important_note>
150
- ==================== END: tasks#generate-ai-frontend-prompt ====================
147
+ ==================== END: .bmad-core/tasks/generate-ai-frontend-prompt.md ====================
151
148
 
152
- ==================== START: tasks#create-deep-research-prompt ====================
149
+ ==================== START: .bmad-core/tasks/create-deep-research-prompt.md ====================
153
150
  # Create Deep Research Prompt Task
154
151
 
155
152
  This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
@@ -451,110 +448,98 @@ Present these numbered options to the user:
451
448
  - Balance comprehensiveness with focus
452
449
  - Document assumptions and limitations clearly
453
450
  - Plan for iterative refinement based on initial findings
454
- ==================== END: tasks#create-deep-research-prompt ====================
455
-
456
- ==================== START: tasks#create-doc ====================
457
- # Create Document from Template Task
451
+ ==================== END: .bmad-core/tasks/create-deep-research-prompt.md ====================
458
452
 
459
- ## Purpose
460
-
461
- Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
462
-
463
- ## CRITICAL RULES
453
+ ==================== START: .bmad-core/tasks/create-doc.md ====================
454
+ # Create Document from Template (YAML Driven)
464
455
 
465
- 1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
466
- 2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
467
- 3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
468
- 4. **WAIT for user input** - At review points and after elicitation tasks
456
+ ## CRITICAL: Mandatory Elicitation Format
469
457
 
470
- ## Execution Flow
458
+ **When `elicit: true`, ALWAYS use this exact format:**
471
459
 
472
- ### 0. Check Workflow Plan (if configured)
460
+ 1. Present section content
461
+ 2. Provide detailed rationale (explain trade-offs, assumptions, decisions made)
462
+ 3. Present numbered options 1-9:
463
+ - **Option 1:** Always "Proceed to next section"
464
+ - **Options 2-9:** Select 8 methods from data/elicitation-methods
465
+ - End with: "Select 1-9 or just type your question/feedback:"
473
466
 
474
- [[LLM: Check if plan tracking is enabled in core-config.yaml]]
467
+ **NEVER ask yes/no questions or use any other format.**
475
468
 
476
- - If `workflow.trackProgress: true`, check for active plan using utils#plan-management
477
- - If plan exists and this document creation is part of the plan:
478
- - Verify this is the expected next step
479
- - If out of sequence and `enforceSequence: true`, warn user and halt without user override
480
- - If out of sequence and `enforceSequence: false`, ask for confirmation
481
- - Continue with normal execution after plan check
469
+ ## Processing Flow
482
470
 
483
- ### 1. Identify Template
471
+ 1. **Parse YAML template** - Load template metadata and sections
472
+ 2. **Set preferences** - Show current mode (Interactive), confirm output file
473
+ 3. **Process each section:**
474
+ - Skip if condition unmet
475
+ - Check agent permissions (owner/editors) - note if section is restricted to specific agents
476
+ - Draft content using section instruction
477
+ - Present content + detailed rationale
478
+ - **IF elicit: true** → MANDATORY 1-9 options format
479
+ - Save to file if possible
480
+ 4. **Continue until complete**
484
481
 
485
- - Load from `templates#*` or `{root}/templates directory`
486
- - Agent-specific templates are listed in agent's dependencies
487
- - If agent has `templates: [prd-tmpl, architecture-tmpl]` for example, then offer to create "PRD" and "Architecture" documents
482
+ ## Detailed Rationale Requirements
488
483
 
489
- ### 2. Ask Interaction Mode
484
+ When presenting section content, ALWAYS include rationale that explains:
490
485
 
491
- > 1. **Incremental** - Section by section with reviews
492
- > 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
486
+ - Trade-offs and choices made (what was chosen over alternatives and why)
487
+ - Key assumptions made during drafting
488
+ - Interesting or questionable decisions that need user attention
489
+ - Areas that might need validation
493
490
 
494
- ### 3. Execute Template
491
+ ## Elicitation Results Flow
495
492
 
496
- - Replace {{placeholders}} with real content
497
- - Execute [[LLM:]] instructions as you encounter them
498
- - Process <<REPEAT>> loops and ^^CONDITIONS^^
499
- - Use @{examples} for guidance but never output them
493
+ After user selects elicitation method (2-9):
500
494
 
501
- ### 4. Key Execution Patterns
495
+ 1. Execute method from data/elicitation-methods
496
+ 2. Present results with insights
497
+ 3. Offer options:
498
+ - **1. Apply changes and update section**
499
+ - **2. Return to elicitation menu**
500
+ - **3. Ask any questions or engage further with this elicitation**
502
501
 
503
- **When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
502
+ ## Agent Permissions
504
503
 
505
- - Draft the content
506
- - Present it to user
507
- - IMMEDIATELY execute the task
508
- - Wait for completion before continuing
504
+ When processing sections with agent permission fields:
509
505
 
510
- **When you see:** `[[LLM: After section completion, apply tasks#Y]]`
506
+ - **owner**: Note which agent role initially creates/populates the section
507
+ - **editors**: List agent roles allowed to modify the section
508
+ - **readonly**: Mark sections that cannot be modified after creation
511
509
 
512
- - Finish the section
513
- - STOP and execute the task
514
- - Wait for user input
510
+ **For sections with restricted access:**
515
511
 
516
- ### 5. Validation & Final Presentation
512
+ - Include a note in the generated document indicating the responsible agent
513
+ - Example: "_(This section is owned by dev-agent and can only be modified by dev-agent)_"
517
514
 
518
- - Run any specified checklists
519
- - Present clean, formatted content only
520
- - No truncation or summarization
521
- - Begin directly with content (no preamble)
522
- - Include any handoff prompts from template
515
+ ## YOLO Mode
523
516
 
524
- ### 6. Update Workflow Plan (if applicable)
517
+ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
525
518
 
526
- [[LLM: After successful document creation]]
519
+ ## CRITICAL REMINDERS
527
520
 
528
- - If plan tracking is enabled and document was part of plan:
529
- - Call update-workflow-plan task to mark step complete
530
- - Parameters: task: create-doc, step_id: {from plan}, status: complete
531
- - Show next recommended step from plan
521
+ **❌ NEVER:**
532
522
 
533
- ## Common Mistakes to Avoid
523
+ - Ask yes/no questions for elicitation
524
+ - Use any format other than 1-9 numbered options
525
+ - Create new elicitation methods
534
526
 
535
- Skipping elicitation tasks
536
- ❌ Showing template markup to users
537
- ❌ Continuing past STOP signals
538
- ❌ Combining multiple review points
527
+ **✅ ALWAYS:**
539
528
 
540
- Execute ALL instructions in sequence
541
- Present only clean, formatted content
542
- Stop at every elicitation point
543
- Wait for user confirmation when instructed
529
+ - Use exact 1-9 format when elicit: true
530
+ - Select options 2-9 from data/elicitation-methods only
531
+ - Provide detailed rationale explaining decisions
532
+ - End with "Select 1-9 or just type your question/feedback:"
533
+ ==================== END: .bmad-core/tasks/create-doc.md ====================
544
534
 
545
- ## Remember
546
-
547
- Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
548
- ==================== END: tasks#create-doc ====================
549
-
550
- ==================== START: tasks#execute-checklist ====================
535
+ ==================== START: .bmad-core/tasks/execute-checklist.md ====================
551
536
  # Checklist Validation Task
552
537
 
553
538
  This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
554
539
 
555
540
  ## Available Checklists
556
541
 
557
- If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the {root}/checklists folder to select the appropriate one to run.
542
+ If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the .bmad-core/checklists folder to select the appropriate one to run.
558
543
 
559
544
  ## Instructions
560
545
 
@@ -563,7 +548,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
563
548
  - If user or the task being run provides a checklist name:
564
549
  - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
565
550
  - If multiple matches found, ask user to clarify
566
- - Load the appropriate checklist from {root}/checklists/
551
+ - Load the appropriate checklist from .bmad-core/checklists/
567
552
  - If no checklist specified:
568
553
  - Ask the user which checklist they want to use
569
554
  - Present the available options from the files in the checklists folder
@@ -641,455 +626,362 @@ The LLM will:
641
626
  - Execute the complete checklist validation
642
627
  - Present a final report with pass/fail rates and key findings
643
628
  - Offer to provide detailed analysis of any section, especially those with warnings or failures
644
- ==================== END: tasks#execute-checklist ====================
645
-
646
- ==================== START: templates#front-end-spec-tmpl ====================
647
- # {{Project Name}} UI/UX Specification
648
-
649
- [[LLM: The default path and filename unless specified is docs/front-end-spec.md]]
650
-
651
- [[LLM: Review provided documents including Project Brief, PRD, and any user research to gather context. Focus on understanding user needs, pain points, and desired outcomes before beginning the specification.]]
652
-
653
- ## Introduction
654
-
655
- [[LLM: Establish the document's purpose and scope. Keep the content below but ensure project name is properly substituted.]]
656
-
657
- 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.
658
-
659
- ### Overall UX Goals & Principles
660
-
661
- [[LLM: Work with the user to establish and document the following. If not already defined, facilitate a discussion to determine:
662
-
663
- 1. Target User Personas - elicit details or confirm existing ones from PRD
664
- 2. Key Usability Goals - understand what success looks like for users
665
- 3. Core Design Principles - establish 3-5 guiding principles
666
-
667
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
668
-
669
- ### Target User Personas
670
-
671
- {{persona_descriptions}}
672
-
673
- @{example: personas}
674
-
675
- - **Power User:** Technical professionals who need advanced features and efficiency
676
- - **Casual User:** Occasional users who prioritize ease of use and clear guidance
677
- - **Administrator:** System managers who need control and oversight capabilities
678
- @{/example}
679
-
680
- ### Usability Goals
681
-
682
- {{usability_goals}}
683
-
684
- @{example: usability_goals}
685
-
686
- - Ease of learning: New users can complete core tasks within 5 minutes
687
- - Efficiency of use: Power users can complete frequent tasks with minimal clicks
688
- - Error prevention: Clear validation and confirmation for destructive actions
689
- - Memorability: Infrequent users can return without relearning
690
- @{/example}
691
-
692
- ### Design Principles
693
-
694
- {{design_principles}}
695
-
696
- @{example: design_principles}
697
-
698
- 1. **Clarity over cleverness** - Prioritize clear communication over aesthetic innovation
699
- 2. **Progressive disclosure** - Show only what's needed, when it's needed
700
- 3. **Consistent patterns** - Use familiar UI patterns throughout the application
701
- 4. **Immediate feedback** - Every action should have a clear, immediate response
702
- 5. **Accessible by default** - Design for all users from the start
703
- @{/example}
704
-
705
- ### Change Log
706
-
707
- [[LLM: Track document versions and changes]]
708
-
709
- | Date | Version | Description | Author |
710
- | :--- | :------ | :---------- | :----- |
711
-
712
- ## Information Architecture (IA)
713
-
714
- [[LLM: Collaborate with the user to create a comprehensive information architecture:
715
-
716
- 1. Build a Site Map or Screen Inventory showing all major areas
717
- 2. Define the Navigation Structure (primary, secondary, breadcrumbs)
718
- 3. Use Mermaid diagrams for visual representation
719
- 4. Consider user mental models and expected groupings
720
-
721
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
722
-
723
- ### Site Map / Screen Inventory
724
-
725
- ```mermaid
726
- {{sitemap_diagram}}
727
- ```
728
-
729
- @{example: sitemap}
730
-
731
- ```mermaid
732
- graph TD
733
- A[Homepage] --> B[Dashboard]
734
- A --> C[Products]
735
- A --> D[Account]
736
- B --> B1[Analytics]
737
- B --> B2[Recent Activity]
738
- C --> C1[Browse]
739
- C --> C2[Search]
740
- C --> C3[Product Details]
741
- D --> D1[Profile]
742
- D --> D2[Settings]
743
- D --> D3[Billing]
744
- ```
745
-
746
- @{/example}
747
-
748
- ### Navigation Structure
749
-
750
- **Primary Navigation:** {{primary_nav_description}}
751
-
752
- **Secondary Navigation:** {{secondary_nav_description}}
753
-
754
- **Breadcrumb Strategy:** {{breadcrumb_strategy}}
755
-
756
- ## User Flows
757
-
758
- [[LLM: For each critical user task identified in the PRD:
759
-
760
- 1. Define the user's goal clearly
761
- 2. Map out all steps including decision points
762
- 3. Consider edge cases and error states
763
- 4. Use Mermaid flow diagrams for clarity
764
- 5. Link to external tools (Figma/Miro) if detailed flows exist there
765
-
766
- Create subsections for each major flow. After presenting all flows, apply `tasks#advanced-elicitation` protocol]]
767
-
768
- <<REPEAT: user_flow>>
769
-
770
- ### {{flow_name}}
771
-
772
- **User Goal:** {{flow_goal}}
773
-
774
- **Entry Points:** {{entry_points}}
775
-
776
- **Success Criteria:** {{success_criteria}}
777
-
778
- #### Flow Diagram
779
-
780
- ```mermaid
781
- {{flow_diagram}}
782
- ```
783
-
784
- **Edge Cases & Error Handling:**
785
-
786
- - {{edge_case_1}}
787
- - {{edge_case_2}}
788
-
789
- **Notes:** {{flow_notes}}
790
- <</REPEAT>>
791
-
792
- @{example: user_flow}
793
-
794
- ### User Registration
795
-
796
- **User Goal:** Create a new account to access the platform
797
-
798
- **Entry Points:** Homepage CTA, Login page link, Marketing landing pages
799
-
800
- **Success Criteria:** User successfully creates account and reaches dashboard
801
-
802
- #### Flow Diagram
803
-
804
- ```mermaid
805
- graph TD
806
- Start[Landing Page] --> Click[Click Sign Up]
807
- Click --> Form[Registration Form]
808
- Form --> Fill[Fill Required Fields]
809
- Fill --> Submit[Submit Form]
810
- Submit --> Validate{Valid?}
811
- Validate -->|No| Error[Show Errors]
812
- Error --> Form
813
- Validate -->|Yes| Verify[Email Verification]
814
- Verify --> Complete[Account Created]
815
- Complete --> Dashboard[Redirect to Dashboard]
816
- ```
817
-
818
- **Edge Cases & Error Handling:**
819
-
820
- - Duplicate email: Show inline error with password recovery option
821
- - Weak password: Real-time feedback on password strength
822
- - Network error: Preserve form data and show retry option
823
- @{/example}
824
-
825
- ## Wireframes & Mockups
826
-
827
- [[LLM: Clarify where detailed visual designs will be created (Figma, Sketch, etc.) and how to reference them. If low-fidelity wireframes are needed, offer to help conceptualize layouts for key screens.
828
-
829
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
830
-
831
- **Primary Design Files:** {{design_tool_link}}
832
-
833
- ### Key Screen Layouts
834
-
835
- <<REPEAT: screen_layout>>
836
-
837
- #### {{screen_name}}
838
-
839
- **Purpose:** {{screen_purpose}}
840
-
841
- **Key Elements:**
842
-
843
- - {{element_1}}
844
- - {{element_2}}
845
- - {{element_3}}
846
-
847
- **Interaction Notes:** {{interaction_notes}}
848
-
849
- **Design File Reference:** {{specific_frame_link}}
850
- <</REPEAT>>
851
-
852
- ## Component Library / Design System
853
-
854
- [[LLM: Discuss whether to use an existing design system or create a new one. If creating new, identify foundational components and their key states. Note that detailed technical specs belong in front-end-architecture.
855
-
856
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
857
-
858
- **Design System Approach:** {{design_system_approach}}
859
-
860
- ### Core Components
861
-
862
- <<REPEAT: component>>
863
-
864
- #### {{component_name}}
865
-
866
- **Purpose:** {{component_purpose}}
867
-
868
- **Variants:** {{component_variants}}
869
-
870
- **States:** {{component_states}}
871
-
872
- **Usage Guidelines:** {{usage_guidelines}}
873
- <</REPEAT>>
874
-
875
- @{example: component}
876
-
877
- #### Button
878
-
879
- **Purpose:** Primary interaction element for user actions
880
-
881
- **Variants:** Primary, Secondary, Tertiary, Destructive
882
-
883
- **States:** Default, Hover, Active, Disabled, Loading
884
-
885
- **Usage Guidelines:**
886
-
887
- - Use Primary for main CTAs (one per view)
888
- - Secondary for supporting actions
889
- - Destructive only for permanent deletions with confirmation
890
- @{/example}
891
-
892
- ## Branding & Style Guide
893
-
894
- [[LLM: Link to existing style guide or define key brand elements. Ensure consistency with company brand guidelines if they exist.
895
-
896
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
897
-
898
- ### Visual Identity
899
-
900
- **Brand Guidelines:** {{brand_guidelines_link}}
901
-
902
- ### Color Palette
903
-
904
- | Color Type | Hex Code | Usage |
905
- | :------------ | :------------------ | :------------------------------- |
906
- | **Primary** | {{primary_color}} | {{primary_usage}} |
907
- | **Secondary** | {{secondary_color}} | {{secondary_usage}} |
908
- | **Accent** | {{accent_color}} | {{accent_usage}} |
909
- | **Success** | {{success_color}} | Positive feedback, confirmations |
910
- | **Warning** | {{warning_color}} | Cautions, important notices |
911
- | **Error** | {{error_color}} | Errors, destructive actions |
912
- | **Neutral** | {{neutral_colors}} | Text, borders, backgrounds |
913
-
914
- ### Typography
915
-
916
- **Font Families:**
917
-
918
- - **Primary:** {{primary_font}}
919
- - **Secondary:** {{secondary_font}}
920
- - **Monospace:** {{mono_font}}
921
-
922
- **Type Scale:**
923
- | Element | Size | Weight | Line Height |
924
- |:--------|:-----|:-------|:------------|
925
- | H1 | {{h1_size}} | {{h1_weight}} | {{h1_line}} |
926
- | H2 | {{h2_size}} | {{h2_weight}} | {{h2_line}} |
927
- | H3 | {{h3_size}} | {{h3_weight}} | {{h3_line}} |
928
- | Body | {{body_size}} | {{body_weight}} | {{body_line}} |
929
- | Small | {{small_size}} | {{small_weight}} | {{small_line}} |
930
-
931
- ### Iconography
932
-
933
- **Icon Library:** {{icon_library}}
934
-
935
- **Usage Guidelines:** {{icon_guidelines}}
936
-
937
- ### Spacing & Layout
938
-
939
- **Grid System:** {{grid_system}}
940
-
941
- **Spacing Scale:** {{spacing_scale}}
942
-
943
- ## Accessibility Requirements
944
-
945
- [[LLM: Define specific accessibility requirements based on target compliance level and user needs. Be comprehensive but practical.
946
-
947
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
948
-
949
- ### Compliance Target
950
-
951
- **Standard:** {{compliance_standard}}
952
-
953
- ### Key Requirements
954
-
955
- **Visual:**
956
-
957
- - Color contrast ratios: {{contrast_requirements}}
958
- - Focus indicators: {{focus_requirements}}
959
- - Text sizing: {{text_requirements}}
960
-
961
- **Interaction:**
962
-
963
- - Keyboard navigation: {{keyboard_requirements}}
964
- - Screen reader support: {{screen_reader_requirements}}
965
- - Touch targets: {{touch_requirements}}
966
-
967
- **Content:**
968
-
969
- - Alternative text: {{alt_text_requirements}}
970
- - Heading structure: {{heading_requirements}}
971
- - Form labels: {{form_requirements}}
972
-
973
- ### Testing Strategy
974
-
975
- {{accessibility_testing}}
976
-
977
- ## Responsiveness Strategy
978
-
979
- [[LLM: Define breakpoints and adaptation strategies for different device sizes. Consider both technical constraints and user contexts.
980
-
981
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
982
-
983
- ### Breakpoints
984
-
985
- | Breakpoint | Min Width | Max Width | Target Devices |
986
- | :--------- | :-------------- | :-------------- | :------------------ |
987
- | Mobile | {{mobile_min}} | {{mobile_max}} | {{mobile_devices}} |
988
- | Tablet | {{tablet_min}} | {{tablet_max}} | {{tablet_devices}} |
989
- | Desktop | {{desktop_min}} | {{desktop_max}} | {{desktop_devices}} |
990
- | Wide | {{wide_min}} | - | {{wide_devices}} |
991
-
992
- ### Adaptation Patterns
993
-
994
- **Layout Changes:** {{layout_adaptations}}
995
-
996
- **Navigation Changes:** {{nav_adaptations}}
997
-
998
- **Content Priority:** {{content_adaptations}}
999
-
1000
- **Interaction Changes:** {{interaction_adaptations}}
1001
-
1002
- ## Animation & Micro-interactions
1003
-
1004
- [[LLM: Define motion design principles and key interactions. Keep performance and accessibility in mind.
1005
-
1006
- After presenting this section, apply `tasks#advanced-elicitation` protocol]]
1007
-
1008
- ### Motion Principles
1009
-
1010
- {{motion_principles}}
1011
-
1012
- ### Key Animations
1013
-
1014
- <<REPEAT: animation>>
1015
-
1016
- - **{{animation_name}}:** {{animation_description}} (Duration: {{duration}}, Easing: {{easing}})
1017
- <</REPEAT>>
1018
-
1019
- ## Performance Considerations
1020
-
1021
- [[LLM: Define performance goals and strategies that impact UX design decisions.]]
1022
-
1023
- ### Performance Goals
1024
-
1025
- - **Page Load:** {{load_time_goal}}
1026
- - **Interaction Response:** {{interaction_goal}}
1027
- - **Animation FPS:** {{animation_goal}}
1028
-
1029
- ### Design Strategies
1030
-
1031
- {{performance_strategies}}
1032
-
1033
- ## Next Steps
1034
-
1035
- [[LLM: After completing the UI/UX specification:
1036
-
1037
- 1. Recommend review with stakeholders
1038
- 2. Suggest creating/updating visual designs in design tool
1039
- 3. Prepare for handoff to Design Architect for frontend architecture
1040
- 4. Note any open questions or decisions needed]]
1041
-
1042
- ### Immediate Actions
1043
-
1044
- 1. {{next_step_1}}
1045
- 2. {{next_step_2}}
1046
- 3. {{next_step_3}}
1047
-
1048
- ### Design Handoff Checklist
1049
-
1050
- - [ ] All user flows documented
1051
- - [ ] Component inventory complete
1052
- - [ ] Accessibility requirements defined
1053
- - [ ] Responsive strategy clear
1054
- - [ ] Brand guidelines incorporated
1055
- - [ ] Performance goals established
1056
-
1057
- ## Checklist Results
1058
-
1059
- [[LLM: If a UI/UX checklist exists, run it against this document and report results here.]]
1060
- ==================== END: templates#front-end-spec-tmpl ====================
1061
-
1062
- ==================== START: data#technical-preferences ====================
629
+ ==================== END: .bmad-core/tasks/execute-checklist.md ====================
630
+
631
+ ==================== START: .bmad-core/templates/front-end-spec-tmpl.yaml ====================
632
+ template:
633
+ id: frontend-spec-template-v2
634
+ name: UI/UX Specification
635
+ version: 2.0
636
+ output:
637
+ format: markdown
638
+ filename: docs/front-end-spec.md
639
+ title: "{{project_name}} UI/UX Specification"
640
+
641
+ workflow:
642
+ mode: interactive
643
+ elicitation: advanced-elicitation
644
+
645
+ sections:
646
+ - id: introduction
647
+ title: Introduction
648
+ instruction: |
649
+ 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.
650
+
651
+ Establish the document's purpose and scope. Keep the content below but ensure project name is properly substituted.
652
+ content: |
653
+ 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.
654
+ sections:
655
+ - id: ux-goals-principles
656
+ title: Overall UX Goals & Principles
657
+ instruction: |
658
+ Work with the user to establish and document the following. If not already defined, facilitate a discussion to determine:
659
+
660
+ 1. Target User Personas - elicit details or confirm existing ones from PRD
661
+ 2. Key Usability Goals - understand what success looks like for users
662
+ 3. Core Design Principles - establish 3-5 guiding principles
663
+ elicit: true
664
+ sections:
665
+ - id: user-personas
666
+ title: Target User Personas
667
+ template: "{{persona_descriptions}}"
668
+ examples:
669
+ - "**Power User:** Technical professionals who need advanced features and efficiency"
670
+ - "**Casual User:** Occasional users who prioritize ease of use and clear guidance"
671
+ - "**Administrator:** System managers who need control and oversight capabilities"
672
+ - id: usability-goals
673
+ title: Usability Goals
674
+ template: "{{usability_goals}}"
675
+ examples:
676
+ - "Ease of learning: New users can complete core tasks within 5 minutes"
677
+ - "Efficiency of use: Power users can complete frequent tasks with minimal clicks"
678
+ - "Error prevention: Clear validation and confirmation for destructive actions"
679
+ - "Memorability: Infrequent users can return without relearning"
680
+ - id: design-principles
681
+ title: Design Principles
682
+ template: "{{design_principles}}"
683
+ type: numbered-list
684
+ examples:
685
+ - "**Clarity over cleverness** - Prioritize clear communication over aesthetic innovation"
686
+ - "**Progressive disclosure** - Show only what's needed, when it's needed"
687
+ - "**Consistent patterns** - Use familiar UI patterns throughout the application"
688
+ - "**Immediate feedback** - Every action should have a clear, immediate response"
689
+ - "**Accessible by default** - Design for all users from the start"
690
+ - id: changelog
691
+ title: Change Log
692
+ type: table
693
+ columns: [Date, Version, Description, Author]
694
+ instruction: Track document versions and changes
695
+
696
+ - id: information-architecture
697
+ title: Information Architecture (IA)
698
+ instruction: |
699
+ Collaborate with the user to create a comprehensive information architecture:
700
+
701
+ 1. Build a Site Map or Screen Inventory showing all major areas
702
+ 2. Define the Navigation Structure (primary, secondary, breadcrumbs)
703
+ 3. Use Mermaid diagrams for visual representation
704
+ 4. Consider user mental models and expected groupings
705
+ elicit: true
706
+ sections:
707
+ - id: sitemap
708
+ title: Site Map / Screen Inventory
709
+ type: mermaid
710
+ mermaid_type: graph
711
+ template: "{{sitemap_diagram}}"
712
+ examples:
713
+ - |
714
+ graph TD
715
+ A[Homepage] --> B[Dashboard]
716
+ A --> C[Products]
717
+ A --> D[Account]
718
+ B --> B1[Analytics]
719
+ B --> B2[Recent Activity]
720
+ C --> C1[Browse]
721
+ C --> C2[Search]
722
+ C --> C3[Product Details]
723
+ D --> D1[Profile]
724
+ D --> D2[Settings]
725
+ D --> D3[Billing]
726
+ - id: navigation-structure
727
+ title: Navigation Structure
728
+ template: |
729
+ **Primary Navigation:** {{primary_nav_description}}
730
+
731
+ **Secondary Navigation:** {{secondary_nav_description}}
732
+
733
+ **Breadcrumb Strategy:** {{breadcrumb_strategy}}
734
+
735
+ - id: user-flows
736
+ title: User Flows
737
+ instruction: |
738
+ For each critical user task identified in the PRD:
739
+
740
+ 1. Define the user's goal clearly
741
+ 2. Map out all steps including decision points
742
+ 3. Consider edge cases and error states
743
+ 4. Use Mermaid flow diagrams for clarity
744
+ 5. Link to external tools (Figma/Miro) if detailed flows exist there
745
+
746
+ Create subsections for each major flow.
747
+ elicit: true
748
+ repeatable: true
749
+ sections:
750
+ - id: flow
751
+ title: "{{flow_name}}"
752
+ template: |
753
+ **User Goal:** {{flow_goal}}
754
+
755
+ **Entry Points:** {{entry_points}}
756
+
757
+ **Success Criteria:** {{success_criteria}}
758
+ sections:
759
+ - id: flow-diagram
760
+ title: Flow Diagram
761
+ type: mermaid
762
+ mermaid_type: graph
763
+ template: "{{flow_diagram}}"
764
+ - id: edge-cases
765
+ title: "Edge Cases & Error Handling:"
766
+ type: bullet-list
767
+ template: "- {{edge_case}}"
768
+ - id: notes
769
+ template: "**Notes:** {{flow_notes}}"
770
+
771
+ - id: wireframes-mockups
772
+ title: Wireframes & Mockups
773
+ instruction: |
774
+ 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.
775
+ elicit: true
776
+ sections:
777
+ - id: design-files
778
+ template: "**Primary Design Files:** {{design_tool_link}}"
779
+ - id: key-screen-layouts
780
+ title: Key Screen Layouts
781
+ repeatable: true
782
+ sections:
783
+ - id: screen
784
+ title: "{{screen_name}}"
785
+ template: |
786
+ **Purpose:** {{screen_purpose}}
787
+
788
+ **Key Elements:**
789
+ - {{element_1}}
790
+ - {{element_2}}
791
+ - {{element_3}}
792
+
793
+ **Interaction Notes:** {{interaction_notes}}
794
+
795
+ **Design File Reference:** {{specific_frame_link}}
796
+
797
+ - id: component-library
798
+ title: Component Library / Design System
799
+ instruction: |
800
+ 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.
801
+ elicit: true
802
+ sections:
803
+ - id: design-system-approach
804
+ template: "**Design System Approach:** {{design_system_approach}}"
805
+ - id: core-components
806
+ title: Core Components
807
+ repeatable: true
808
+ sections:
809
+ - id: component
810
+ title: "{{component_name}}"
811
+ template: |
812
+ **Purpose:** {{component_purpose}}
813
+
814
+ **Variants:** {{component_variants}}
815
+
816
+ **States:** {{component_states}}
817
+
818
+ **Usage Guidelines:** {{usage_guidelines}}
819
+
820
+ - id: branding-style
821
+ title: Branding & Style Guide
822
+ instruction: Link to existing style guide or define key brand elements. Ensure consistency with company brand guidelines if they exist.
823
+ elicit: true
824
+ sections:
825
+ - id: visual-identity
826
+ title: Visual Identity
827
+ template: "**Brand Guidelines:** {{brand_guidelines_link}}"
828
+ - id: color-palette
829
+ title: Color Palette
830
+ type: table
831
+ columns: ["Color Type", "Hex Code", "Usage"]
832
+ rows:
833
+ - ["Primary", "{{primary_color}}", "{{primary_usage}}"]
834
+ - ["Secondary", "{{secondary_color}}", "{{secondary_usage}}"]
835
+ - ["Accent", "{{accent_color}}", "{{accent_usage}}"]
836
+ - ["Success", "{{success_color}}", "Positive feedback, confirmations"]
837
+ - ["Warning", "{{warning_color}}", "Cautions, important notices"]
838
+ - ["Error", "{{error_color}}", "Errors, destructive actions"]
839
+ - ["Neutral", "{{neutral_colors}}", "Text, borders, backgrounds"]
840
+ - id: typography
841
+ title: Typography
842
+ sections:
843
+ - id: font-families
844
+ title: Font Families
845
+ template: |
846
+ - **Primary:** {{primary_font}}
847
+ - **Secondary:** {{secondary_font}}
848
+ - **Monospace:** {{mono_font}}
849
+ - id: type-scale
850
+ title: Type Scale
851
+ type: table
852
+ columns: ["Element", "Size", "Weight", "Line Height"]
853
+ rows:
854
+ - ["H1", "{{h1_size}}", "{{h1_weight}}", "{{h1_line}}"]
855
+ - ["H2", "{{h2_size}}", "{{h2_weight}}", "{{h2_line}}"]
856
+ - ["H3", "{{h3_size}}", "{{h3_weight}}", "{{h3_line}}"]
857
+ - ["Body", "{{body_size}}", "{{body_weight}}", "{{body_line}}"]
858
+ - ["Small", "{{small_size}}", "{{small_weight}}", "{{small_line}}"]
859
+ - id: iconography
860
+ title: Iconography
861
+ template: |
862
+ **Icon Library:** {{icon_library}}
863
+
864
+ **Usage Guidelines:** {{icon_guidelines}}
865
+ - id: spacing-layout
866
+ title: Spacing & Layout
867
+ template: |
868
+ **Grid System:** {{grid_system}}
869
+
870
+ **Spacing Scale:** {{spacing_scale}}
871
+
872
+ - id: accessibility
873
+ title: Accessibility Requirements
874
+ instruction: Define specific accessibility requirements based on target compliance level and user needs. Be comprehensive but practical.
875
+ elicit: true
876
+ sections:
877
+ - id: compliance-target
878
+ title: Compliance Target
879
+ template: "**Standard:** {{compliance_standard}}"
880
+ - id: key-requirements
881
+ title: Key Requirements
882
+ template: |
883
+ **Visual:**
884
+ - Color contrast ratios: {{contrast_requirements}}
885
+ - Focus indicators: {{focus_requirements}}
886
+ - Text sizing: {{text_requirements}}
887
+
888
+ **Interaction:**
889
+ - Keyboard navigation: {{keyboard_requirements}}
890
+ - Screen reader support: {{screen_reader_requirements}}
891
+ - Touch targets: {{touch_requirements}}
892
+
893
+ **Content:**
894
+ - Alternative text: {{alt_text_requirements}}
895
+ - Heading structure: {{heading_requirements}}
896
+ - Form labels: {{form_requirements}}
897
+ - id: testing-strategy
898
+ title: Testing Strategy
899
+ template: "{{accessibility_testing}}"
900
+
901
+ - id: responsiveness
902
+ title: Responsiveness Strategy
903
+ instruction: Define breakpoints and adaptation strategies for different device sizes. Consider both technical constraints and user contexts.
904
+ elicit: true
905
+ sections:
906
+ - id: breakpoints
907
+ title: Breakpoints
908
+ type: table
909
+ columns: ["Breakpoint", "Min Width", "Max Width", "Target Devices"]
910
+ rows:
911
+ - ["Mobile", "{{mobile_min}}", "{{mobile_max}}", "{{mobile_devices}}"]
912
+ - ["Tablet", "{{tablet_min}}", "{{tablet_max}}", "{{tablet_devices}}"]
913
+ - ["Desktop", "{{desktop_min}}", "{{desktop_max}}", "{{desktop_devices}}"]
914
+ - ["Wide", "{{wide_min}}", "-", "{{wide_devices}}"]
915
+ - id: adaptation-patterns
916
+ title: Adaptation Patterns
917
+ template: |
918
+ **Layout Changes:** {{layout_adaptations}}
919
+
920
+ **Navigation Changes:** {{nav_adaptations}}
921
+
922
+ **Content Priority:** {{content_adaptations}}
923
+
924
+ **Interaction Changes:** {{interaction_adaptations}}
925
+
926
+ - id: animation
927
+ title: Animation & Micro-interactions
928
+ instruction: Define motion design principles and key interactions. Keep performance and accessibility in mind.
929
+ elicit: true
930
+ sections:
931
+ - id: motion-principles
932
+ title: Motion Principles
933
+ template: "{{motion_principles}}"
934
+ - id: key-animations
935
+ title: Key Animations
936
+ repeatable: true
937
+ template: "- **{{animation_name}}:** {{animation_description}} (Duration: {{duration}}, Easing: {{easing}})"
938
+
939
+ - id: performance
940
+ title: Performance Considerations
941
+ instruction: Define performance goals and strategies that impact UX design decisions.
942
+ sections:
943
+ - id: performance-goals
944
+ title: Performance Goals
945
+ template: |
946
+ - **Page Load:** {{load_time_goal}}
947
+ - **Interaction Response:** {{interaction_goal}}
948
+ - **Animation FPS:** {{animation_goal}}
949
+ - id: design-strategies
950
+ title: Design Strategies
951
+ template: "{{performance_strategies}}"
952
+
953
+ - id: next-steps
954
+ title: Next Steps
955
+ instruction: |
956
+ After completing the UI/UX specification:
957
+
958
+ 1. Recommend review with stakeholders
959
+ 2. Suggest creating/updating visual designs in design tool
960
+ 3. Prepare for handoff to Design Architect for frontend architecture
961
+ 4. Note any open questions or decisions needed
962
+ sections:
963
+ - id: immediate-actions
964
+ title: Immediate Actions
965
+ type: numbered-list
966
+ template: "{{action}}"
967
+ - id: design-handoff-checklist
968
+ title: Design Handoff Checklist
969
+ type: checklist
970
+ items:
971
+ - "All user flows documented"
972
+ - "Component inventory complete"
973
+ - "Accessibility requirements defined"
974
+ - "Responsive strategy clear"
975
+ - "Brand guidelines incorporated"
976
+ - "Performance goals established"
977
+
978
+ - id: checklist-results
979
+ title: Checklist Results
980
+ instruction: If a UI/UX checklist exists, run it against this document and report results here.
981
+ ==================== END: .bmad-core/templates/front-end-spec-tmpl.yaml ====================
982
+
983
+ ==================== START: .bmad-core/data/technical-preferences.md ====================
1063
984
  # User-Defined Preferred Patterns and Preferences
1064
985
 
1065
986
  None Listed
1066
- ==================== END: data#technical-preferences ====================
1067
-
1068
- ==================== START: utils#template-format ====================
1069
- # Template Format Conventions
1070
-
1071
- Templates in the BMad method use standardized markup for AI processing. These conventions ensure consistent document generation.
1072
-
1073
- ## Template Markup Elements
1074
-
1075
- - **{{placeholders}}**: Variables to be replaced with actual content
1076
- - **[[LLM: instructions]]**: Internal processing instructions for AI agents (never shown to users)
1077
- - **REPEAT** sections: Content blocks that may be repeated as needed
1078
- - **^^CONDITION^^** blocks: Conditional content included only if criteria are met
1079
- - **@{examples}**: Example content for guidance (never output to users)
1080
-
1081
- ## Processing Rules
1082
-
1083
- - Replace all {{placeholders}} with project-specific content
1084
- - Execute all [[LLM: instructions]] internally without showing users
1085
- - Process conditional and repeat blocks as specified
1086
- - Use examples for guidance but never include them in final output
1087
- - Present only clean, formatted content to users
1088
-
1089
- ## Critical Guidelines
1090
-
1091
- - **NEVER display template markup, LLM instructions, or examples to users**
1092
- - Template elements are for AI processing only
1093
- - Focus on faithful template execution and clean output
1094
- - All template-specific instructions are embedded within templates
1095
- ==================== END: utils#template-format ====================
987
+ ==================== END: .bmad-core/data/technical-preferences.md ====================