bmad-method 4.4.2 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/.prettierignore +22 -0
  2. package/.prettierrc +23 -0
  3. package/CHANGELOG.md +18 -0
  4. package/README.md +41 -14
  5. package/bmad-core/agents/bmad-orchestrator.md +11 -11
  6. package/bmad-core/agents/sm.md +1 -1
  7. package/bmad-core/tasks/shard-doc.md +3 -5
  8. package/bmad-core/templates/architecture-tmpl.md +2 -2
  9. package/bmad-core/templates/brownfield-architecture-tmpl.md +4 -4
  10. package/bmad-core/templates/front-end-spec-tmpl.md +4 -4
  11. package/bmad-core/templates/fullstack-architecture-tmpl.md +2 -2
  12. package/bmad-core/utils/workflow-management.md +4 -4
  13. package/{bmad-core/web-bundles → dist}/agents/bmad-master.txt +0 -176
  14. package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles/teams/team-game-dev.txt → dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt} +4 -4
  15. package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +1561 -0
  16. package/dist/teams/team-all.txt +10307 -0
  17. package/dist/teams/team-fullstack.txt +9659 -0
  18. package/dist/teams/team-ide-minimal.txt +2739 -0
  19. package/dist/teams/team-no-ui.txt +8519 -0
  20. package/docs/roo-code-guide.md +2 -2
  21. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yml +12 -0
  22. package/expansion-packs/expansion-creator/README.md +8 -0
  23. package/expansion-packs/expansion-creator/agents/bmad-the-creator.md +53 -0
  24. package/expansion-packs/expansion-creator/common-tasks/create-doc.md +74 -0
  25. package/expansion-packs/expansion-creator/common-tasks/execute-checklist.md +97 -0
  26. package/expansion-packs/expansion-creator/manifest.yml +12 -0
  27. package/{creator-tools → expansion-packs/expansion-creator}/tasks/create-agent.md +4 -4
  28. package/expansion-packs/expansion-creator/tasks/generate-expansion-pack.md +1026 -0
  29. package/expansion-packs/expansion-creator/templates/agent-teams-tmpl.md +154 -0
  30. package/expansion-packs/expansion-creator/templates/agent-tmpl.md +140 -0
  31. package/expansion-packs/expansion-creator/utils/template-format.md +26 -0
  32. package/expansion-packs/expansion-creator/utils/workflow-management.md +223 -0
  33. package/package.json +3 -15
  34. package/tools/builders/web-builder.js +2 -4
  35. package/tools/cli.js +0 -15
  36. package/tools/installer/bin/bmad.js +111 -24
  37. package/tools/installer/lib/config-loader.js +5 -0
  38. package/tools/installer/lib/ide-setup.js +4 -4
  39. package/tools/installer/lib/installer.js +130 -24
  40. package/tools/installer/package.json +1 -1
  41. package/.claude/commands/analyst.md +0 -63
  42. package/.claude/commands/architect.md +0 -65
  43. package/.claude/commands/bmad-master.md +0 -103
  44. package/.claude/commands/bmad-orchestrator.md +0 -132
  45. package/.claude/commands/dev.md +0 -74
  46. package/.claude/commands/pm.md +0 -63
  47. package/.claude/commands/po.md +0 -64
  48. package/.claude/commands/qa.md +0 -56
  49. package/.claude/commands/sm.md +0 -59
  50. package/.claude/commands/ux-expert.md +0 -70
  51. package/.cursor/rules/analyst.mdc +0 -77
  52. package/.cursor/rules/architect.mdc +0 -79
  53. package/.cursor/rules/bmad-master.mdc +0 -117
  54. package/.cursor/rules/bmad-orchestrator.mdc +0 -146
  55. package/.cursor/rules/dev.mdc +0 -88
  56. package/.cursor/rules/pm.mdc +0 -77
  57. package/.cursor/rules/po.mdc +0 -78
  58. package/.cursor/rules/qa.mdc +0 -70
  59. package/.cursor/rules/sm.mdc +0 -73
  60. package/.cursor/rules/ux-expert.mdc +0 -84
  61. package/.roo/.roomodes +0 -95
  62. package/.roo/README.md +0 -27
  63. package/.windsurf/rules/analyst.md +0 -71
  64. package/.windsurf/rules/architect.md +0 -73
  65. package/.windsurf/rules/bmad-master.md +0 -111
  66. package/.windsurf/rules/bmad-orchestrator.md +0 -140
  67. package/.windsurf/rules/dev.md +0 -82
  68. package/.windsurf/rules/pm.md +0 -71
  69. package/.windsurf/rules/po.md +0 -72
  70. package/.windsurf/rules/qa.md +0 -64
  71. package/.windsurf/rules/sm.md +0 -67
  72. package/.windsurf/rules/ux-expert.md +0 -78
  73. package/bmad-core/bmad-core-config.yml +0 -60
  74. package/bmad-core/templates/agent-tmpl.md +0 -58
  75. package/bmad-core/utils/agent-switcher.ide.md +0 -112
  76. package/creator-tools/tasks/generate-expansion-pack.md +0 -427
  77. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/team-game-dev.yml +0 -12
  78. package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/team-game-dev.txt +0 -4395
  79. /package/{bmad-core/web-bundles → dist}/agents/analyst.txt +0 -0
  80. /package/{bmad-core/web-bundles → dist}/agents/architect.txt +0 -0
  81. /package/{bmad-core/web-bundles → dist}/agents/bmad-orchestrator.txt +0 -0
  82. /package/{bmad-core/web-bundles → dist}/agents/dev.txt +0 -0
  83. /package/{bmad-core/web-bundles → dist}/agents/pm.txt +0 -0
  84. /package/{bmad-core/web-bundles → dist}/agents/po.txt +0 -0
  85. /package/{bmad-core/web-bundles → dist}/agents/qa.txt +0 -0
  86. /package/{bmad-core/web-bundles → dist}/agents/sm.txt +0 -0
  87. /package/{bmad-core/web-bundles → dist}/agents/ux-expert.txt +0 -0
  88. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-designer.txt +0 -0
  89. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-developer.txt +0 -0
  90. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-sm.txt +0 -0
  91. /package/{expansion-packs/bmad-infrastructure-devops/web-bundles → dist/expansion-packs/bmad-infrastructure-devops}/agents/infra-devops-platform.txt +0 -0
  92. /package/{bmad-core → expansion-packs/expansion-creator}/templates/expansion-pack-plan-tmpl.md +0 -0
@@ -0,0 +1,1026 @@
1
+ # Create Expansion Pack Task
2
+
3
+ This task helps you create a sophisticated BMAD expansion pack with advanced agent orchestration, template systems, and quality assurance patterns based on proven best practices.
4
+
5
+ ## Understanding Expansion Packs
6
+
7
+ Expansion packs extend BMAD with domain-specific capabilities using sophisticated AI agent orchestration patterns. They are self-contained packages that leverage:
8
+
9
+ - **Advanced Agent Architecture**: YAML-in-Markdown with embedded personas and character consistency
10
+ - **Template Systems**: LLM instruction embedding with conditional content and dynamic variables
11
+ - **Workflow Orchestration**: Decision trees, handoff protocols, and validation loops
12
+ - **Quality Assurance**: Multi-level validation with star ratings and comprehensive checklists
13
+ - **Knowledge Integration**: Domain-specific data organization and best practices embedding
14
+
15
+ Every expansion pack MUST include a custom BMAD orchestrator agent with sophisticated command systems and numbered options protocols.
16
+
17
+ ## CRITICAL REQUIREMENTS
18
+
19
+ 1. **Create Planning Document First**: Before any implementation, create a comprehensive plan for user approval
20
+ 2. **Agent Architecture Standards**: Use YAML-in-Markdown structure with activation instructions, personas, and command systems
21
+ 3. **Character Consistency**: Every agent must have a persistent persona with name, communication style, and numbered options protocol
22
+ 4. **Custom Themed Orchestrator**: The orchestrator should embody the domain theme (e.g., Office Manager for medical, Project Lead for tech) for better user experience
23
+ 5. **Core Utilities Required**: ALWAYS include these core files in every expansion pack:
24
+ - `tasks/create-doc.md` - Document creation from templates
25
+ - `tasks/execute-checklist.md` - Checklist validation
26
+ - `utils/template-format.md` - Template markup conventions
27
+ - `utils/workflow-management.md` - Workflow orchestration
28
+ 6. **Team and Workflow Requirements**: If pack has >1 agent, MUST include:
29
+ - At least one team configuration in `agent-teams/`
30
+ - At least one workflow in `workflows/`
31
+ 7. **Template Sophistication**: Implement LLM instruction embedding with `[[LLM: guidance]]`, conditional content, and variable systems
32
+ 8. **Workflow Orchestration**: Include decision trees, handoff protocols, and validation loops
33
+ 9. **Quality Assurance Integration**: Multi-level checklists with star ratings and ready/not-ready frameworks
34
+ 10. **Verify All References**: Any task, template, or data file referenced in an agent MUST exist in the pack
35
+ 11. **Knowledge Base Integration**: Organize domain-specific data and embed best practices
36
+ 12. **Dependency Management**: Clear manifest with file mappings and core agent dependencies
37
+
38
+ ## Process Overview
39
+
40
+ ### Phase 1: Discovery and Planning
41
+
42
+ #### 1.1 Define the Domain
43
+
44
+ Ask the user:
45
+
46
+ - **Pack Name**: Short identifier (e.g., `healthcare`, `fintech`, `gamedev`)
47
+ - **Display Name**: Full name (e.g., "Healthcare Compliance Pack")
48
+ - **Description**: What domain or industry does this serve?
49
+ - **Key Problems**: What specific challenges will this pack solve?
50
+ - **Target Users**: Who will benefit from this expansion?
51
+
52
+ #### 1.2 Gather Examples and Domain Intelligence
53
+
54
+ Request from the user:
55
+
56
+ - **Sample Documents**: Any existing documents in this domain
57
+ - **Workflow Examples**: How work currently flows in this domain
58
+ - **Compliance Needs**: Any regulatory or standards requirements
59
+ - **Output Examples**: What final deliverables look like
60
+ - **Character Personas**: What specialist roles exist (names, communication styles, expertise areas)
61
+ - **Domain Language**: Specific terminology, jargon, and communication patterns
62
+ - **Quality Standards**: Performance targets, success criteria, and validation requirements
63
+ - **Data Requirements**: What reference data files users will need to provide
64
+ - **Technology Stack**: Specific tools, frameworks, or platforms used in this domain
65
+ - **Common Pitfalls**: Frequent mistakes or challenges in this domain
66
+
67
+ #### 1.3 Create Planning Document
68
+
69
+ IMPORTANT: STOP HERE AND CREATE PLAN FIRST
70
+
71
+ Create `expansion-packs/{pack-name}/plan.md` with:
72
+
73
+ ````markdown
74
+ # {Pack Name} Expansion Pack Plan
75
+
76
+ ## Overview
77
+
78
+ - Pack Name: {name}
79
+ - Description: {description}
80
+ - Target Domain: {domain}
81
+
82
+ ## Components to Create
83
+
84
+ ### Agents (with Character Personas)
85
+
86
+ - [ ] {pack-name}-orchestrator (REQUIRED: Custom BMAD orchestrator)
87
+ - Character Name: {human-name}
88
+ - Communication Style: {style}
89
+ - Key Commands: {command-list}
90
+ - [ ] {agent-1-name}
91
+ - Character Name: {human-name}
92
+ - Expertise: {domain-expertise}
93
+ - Persona: {personality-traits}
94
+ - [ ] {agent-2-name}
95
+ - Character Name: {human-name}
96
+ - Expertise: {domain-expertise}
97
+ - Persona: {personality-traits}
98
+ - [ ] {agent-N-name}
99
+ - Character Name: {human-name}
100
+ - Expertise: {domain-expertise}
101
+ - Persona: {personality-traits}
102
+
103
+ ### Tasks
104
+
105
+ - [ ] {task-1} (referenced by: {agent})
106
+ - [ ] {task-2} (referenced by: {agent})
107
+
108
+ ### Templates (with LLM Instruction Embedding)
109
+
110
+ - [ ] {template-1} (used by: {agent/task})
111
+ - LLM Instructions: {guidance-type}
112
+ - Conditional Content: {conditions}
113
+ - Variables: {variable-list}
114
+ - [ ] {template-2} (used by: {agent/task})
115
+ - LLM Instructions: {guidance-type}
116
+ - Conditional Content: {conditions}
117
+ - Variables: {variable-list}
118
+
119
+ ### Checklists (Multi-Level Quality Assurance)
120
+
121
+ - [ ] {checklist-1}
122
+ - Validation Level: {basic/comprehensive/expert}
123
+ - Rating System: {star-ratings/binary}
124
+ - Success Criteria: {specific-requirements}
125
+ - [ ] {checklist-2}
126
+ - Validation Level: {basic/comprehensive/expert}
127
+ - Rating System: {star-ratings/binary}
128
+ - Success Criteria: {specific-requirements}
129
+
130
+ ### Data Files and Knowledge Base
131
+
132
+ **Required from User:**
133
+
134
+ - [ ] {filename}.{ext} - {description of content needed}
135
+ - [ ] {filename2}.{ext} - {description of content needed}
136
+
137
+ **Domain Knowledge to Embed:**
138
+
139
+ - [ ] {domain}-best-practices.md - {description}
140
+ - [ ] {domain}-terminology.md - {description}
141
+ - [ ] {domain}-standards.md - {description}
142
+
143
+ **Workflow Orchestration:**
144
+
145
+ - [ ] Decision trees for {workflow-name}
146
+ - [ ] Handoff protocols between agents
147
+ - [ ] Validation loops and iteration patterns
148
+
149
+ ## Approval
150
+
151
+ User approval received: [ ] Yes
152
+
153
+ ```text
154
+
155
+ Important: Wait for user approval before proceeding to Phase 2
156
+
157
+ ### Phase 2: Component Design
158
+
159
+ #### 2.1 Create Orchestrator Agent with Domain-Themed Character
160
+
161
+ **FIRST PRIORITY**: Design the custom BMAD orchestrator with domain-appropriate theme:
162
+
163
+ **Themed Character Design:**
164
+
165
+ - **Human Name**: {first-name} {last-name} (e.g., "Dr. Sarah Chen" for medical office manager)
166
+ - **Domain-Specific Role**: Match the orchestrator to the domain context:
167
+ - Medical: "Office Manager" or "Practice Coordinator"
168
+ - Legal: "Senior Partner" or "Case Manager"
169
+ - Tech Startup: "Project Lead" or "Scrum Master"
170
+ - Education: "Department Chair" or "Program Director"
171
+ - **Character Identity**: Professional background matching the domain theme
172
+ - **Communication Style**: Appropriate to the role (professional medical, formal legal, agile tech)
173
+ - **Domain Authority**: Natural leadership position in the field's hierarchy
174
+
175
+ **Command Architecture:**
176
+
177
+ - **Numbered Options Protocol**: All interactions use numbered lists for user selection
178
+ - **Domain-Specific Commands**: Specialized orchestration commands for the field
179
+ - **Help System**: Built-in command discovery and guidance
180
+ - **Handoff Protocols**: Structured transitions to specialist agents
181
+
182
+ **Technical Structure:**
183
+
184
+ - **Activation Instructions**: Embedded YAML with behavior directives
185
+ - **Startup Procedures**: Initialize without auto-execution
186
+ - **Dependencies**: Clear references to tasks, templates, and data files
187
+ - **Integration Points**: How it coordinates with core BMAD agents
188
+
189
+ #### 2.2 Design Specialist Agents with Character Personas
190
+
191
+ For each additional agent, develop comprehensive character design:
192
+
193
+ **Character Development:**
194
+
195
+ - **Human Identity**: Full name, background, professional history
196
+ - **Personality Traits**: Communication style, work approach, quirks
197
+ - **Domain Expertise**: Specific knowledge areas and experience level
198
+ - **Professional Role**: Exact job title and responsibilities
199
+ - **Interaction Style**: How they communicate with users and other agents
200
+
201
+ **Technical Architecture:**
202
+
203
+ - **YAML-in-Markdown Structure**: Embedded activation instructions
204
+ - **Command System**: Numbered options protocol implementation
205
+ - **Startup Behavior**: Prevent auto-execution, await user direction
206
+ - **Unique Value Proposition**: What specialized capabilities they provide
207
+
208
+ **Dependencies and Integration:**
209
+
210
+ - **Required Tasks**: List ALL tasks this agent references (must exist)
211
+ - **Required Templates**: List ALL templates this agent uses (must exist)
212
+ - **Required Data**: List ALL data files this agent needs (must be documented)
213
+ - **Handoff Protocols**: How they interact with orchestrator and other agents
214
+ - **Quality Integration**: Which checklists they use for validation
215
+
216
+ #### 2.3 Design Specialized Tasks
217
+
218
+ For each task:
219
+
220
+ - **Purpose**: What specific action does it enable?
221
+ - **Inputs**: What information is needed?
222
+ - **Process**: Step-by-step instructions
223
+ - **Outputs**: What gets produced?
224
+ - **Agent Usage**: Which agents will use this task?
225
+
226
+ #### 2.4 Create Advanced Document Templates with LLM Instruction Embedding
227
+
228
+ For each template, implement sophisticated AI guidance systems:
229
+
230
+ **LLM Instruction Patterns:**
231
+
232
+ - **Step-by-Step Guidance**: `[[LLM: Present this section first, get user feedback, then proceed.]]`
233
+ - **Conditional Logic**: `^^CONDITION: condition_name^^` content `^^/CONDITION: condition_name^^`
234
+ - **Variable Systems**: `{{variable_placeholder}}` for dynamic content insertion
235
+ - **Iteration Controls**: `<<REPEAT section="name" count="variable">>` for repeatable blocks
236
+ - **User Feedback Loops**: Built-in validation and refinement points
237
+
238
+ **Template Architecture:**
239
+
240
+ - **Document Type**: Specific deliverable and its purpose
241
+ - **Structure**: Logical section organization with embedded instructions
242
+ - **Elicitation Triggers**: Advanced questioning techniques for content gathering
243
+ - **Domain Standards**: Industry-specific format and compliance requirements
244
+ - **Quality Markers**: Success criteria and validation checkpoints
245
+
246
+ **Content Design:**
247
+
248
+ - **Example Content**: Sample text to guide completion
249
+ - **Required vs Optional**: Clear marking of mandatory sections
250
+ - **Domain Terminology**: Proper use of field-specific language
251
+ - **Cross-References**: Links to related templates and checklists
252
+
253
+ #### 2.5 Design Multi-Level Quality Assurance Systems
254
+
255
+ For each checklist, implement comprehensive validation frameworks:
256
+
257
+ **Quality Assessment Levels:**
258
+
259
+ - **Basic Validation**: Essential completeness checks
260
+ - **Comprehensive Review**: Detailed quality and accuracy verification
261
+ - **Expert Assessment**: Advanced domain-specific evaluation criteria
262
+
263
+ **Rating Systems:**
264
+
265
+ - **Star Ratings**: 1-5 star quality assessments for nuanced evaluation
266
+ - **Binary Decisions**: Ready/Not Ready determinations with clear criteria
267
+ - **Improvement Recommendations**: Specific guidance for addressing deficiencies
268
+ - **Next Steps**: Clear direction for proceeding or iterating
269
+
270
+ **Checklist Architecture:**
271
+
272
+ - **Purpose Definition**: Specific quality aspects being verified
273
+ - **Usage Context**: When and by whom the checklist should be applied
274
+ - **Validation Items**: Specific, measurable criteria to evaluate
275
+ - **Success Criteria**: Clear standards for pass/fail determinations
276
+ - **Domain Standards**: Industry-specific requirements and best practices
277
+ - **Integration Points**: How checklists connect to agents and workflows
278
+
279
+ ### Phase 3: Implementation
280
+
281
+ IMPORTANT: Only proceed after plan.md is approved
282
+
283
+ #### 3.1 Create Directory Structure
284
+ ```
285
+ ````
286
+
287
+ expansion-packs/
288
+ └── {pack-name}/
289
+ ├── plan.md (ALREADY CREATED)
290
+ ├── manifest.yml
291
+ ├── README.md
292
+ ├── agents/
293
+ │ ├── {pack-name}-orchestrator.md (REQUIRED - Custom themed orchestrator)
294
+ │ └── {agent-id}.md (YAML-in-Markdown with persona)
295
+ ├── data/
296
+ │ ├── {domain}-best-practices.md
297
+ │ ├── {domain}-terminology.md
298
+ │ └── {domain}-standards.md
299
+ ├── tasks/
300
+ │ ├── create-doc.md (REQUIRED - Core utility)
301
+ │ ├── execute-checklist.md (REQUIRED - Core utility)
302
+ │ └── {task-name}.md (Domain-specific tasks)
303
+ ├── utils/
304
+ │ ├── template-format.md (REQUIRED - Core utility)
305
+ │ └── workflow-management.md (REQUIRED - Core utility)
306
+ ├── templates/
307
+ │ └── {template-name}.md
308
+ ├── checklists/
309
+ │ └── {checklist-name}.md
310
+ ├── workflows/
311
+ │ └── {domain}-workflow.md (REQUIRED if multiple agents)
312
+ └── agent-teams/
313
+ └── {domain}-team.yml (REQUIRED if multiple agents)
314
+
315
+ ````text
316
+
317
+ #### 3.2 Create Manifest
318
+
319
+ Create `manifest.yml`:
320
+
321
+ ```yaml
322
+ name: {pack-name}
323
+ version: 1.0.0
324
+ description: >-
325
+ {Detailed description of the expansion pack}
326
+ author: {Your name or organization}
327
+ bmad_version: "4.0.0"
328
+
329
+ # Files to create in the expansion pack
330
+ files:
331
+ agents:
332
+ - {pack-name}-orchestrator.md # Domain-themed orchestrator (e.g., Office Manager)
333
+ - {agent-name}.md # YAML-in-Markdown with character persona
334
+
335
+ data:
336
+ - {domain}-best-practices.md # Domain knowledge and standards
337
+ - {domain}-terminology.md # Field-specific language and concepts
338
+ - {domain}-standards.md # Quality and compliance requirements
339
+
340
+ tasks:
341
+ # Core utilities (REQUIRED - copy from bmad-core)
342
+ - create-doc.md # Document creation from templates
343
+ - execute-checklist.md # Checklist validation system
344
+ # Domain-specific tasks
345
+ - {task-name}.md # Custom procedures with quality integration
346
+
347
+ utils:
348
+ # Core utilities (REQUIRED - copy from bmad-core)
349
+ - template-format.md # Template markup conventions
350
+ - workflow-management.md # Workflow orchestration system
351
+
352
+ templates:
353
+ - {template-name}.md # LLM instruction embedding with conditionals
354
+
355
+ checklists:
356
+ - {checklist-name}.md # Multi-level quality assurance systems
357
+
358
+ workflows:
359
+ - {domain}-workflow.md # REQUIRED if multiple agents - decision trees
360
+
361
+ agent-teams:
362
+ - {domain}-team.yml # REQUIRED if multiple agents - team config
363
+
364
+ # Data files users must provide (in their bmad-core/data/ directory)
365
+ required_user_data:
366
+ - filename: {data-file}.{ext}
367
+ description: {What this file should contain}
368
+ format: {specific format requirements}
369
+ example: {sample content or structure}
370
+ validation: {how to verify correctness}
371
+
372
+ # Knowledge base files embedded in expansion pack
373
+ embedded_knowledge:
374
+ - {domain}-best-practices.md
375
+ - {domain}-terminology.md
376
+ - {domain}-standards.md
377
+
378
+ # Dependencies on core BMAD components
379
+ core_dependencies:
380
+ agents:
381
+ - architect # For system design
382
+ - developer # For implementation
383
+ - qa-specialist # For quality assurance
384
+ tasks:
385
+ - {core-task-name}
386
+ workflows:
387
+ - {core-workflow-name}
388
+
389
+ # Agent interaction patterns
390
+ agent_coordination:
391
+ orchestrator: {pack-name}-orchestrator
392
+ handoff_protocols: true
393
+ numbered_options: true
394
+ quality_integration: comprehensive
395
+
396
+ # Post-install message
397
+ post_install_message: |
398
+ {Pack Name} expansion pack ready!
399
+
400
+ 🎯 ORCHESTRATOR: {Character Name} ({pack-name}-orchestrator)
401
+ 📋 AGENTS: {agent-count} specialized domain experts
402
+ 📝 TEMPLATES: {template-count} with LLM instruction embedding
403
+ ✅ QUALITY: Multi-level validation with star ratings
404
+
405
+ REQUIRED USER DATA FILES (place in bmad-core/data/):
406
+ - {data-file}.{ext}: {description and format}
407
+ - {data-file-2}.{ext}: {description and format}
408
+
409
+ QUICK START:
410
+ 1. Add required data files to bmad-core/data/
411
+ 2. Run: npm run agent {pack-name}-orchestrator
412
+ 3. Follow {Character Name}'s numbered options
413
+
414
+ EMBEDDED KNOWLEDGE:
415
+ - Domain best practices and terminology
416
+ - Quality standards and validation criteria
417
+ - Workflow orchestration with handoff protocols
418
+ ````
419
+
420
+ ### Phase 4: Content Creation
421
+
422
+ IMPORTANT: Work through plan.md checklist systematically!
423
+
424
+ #### 4.1 Create Orchestrator First with Domain-Themed Character
425
+
426
+ **Step 1: Domain-Themed Character Design**
427
+
428
+ 1. Define character persona matching the domain context:
429
+ - Medical: "Dr. Emily Rodriguez, Practice Manager"
430
+ - Legal: "Robert Sterling, Senior Partner"
431
+ - Tech: "Alex Chen, Agile Project Lead"
432
+ - Education: "Professor Maria Santos, Department Chair"
433
+ 2. Make the orchestrator feel like a natural leader in that domain
434
+ 3. Establish communication style matching professional norms
435
+ 4. Design numbered options protocol themed to the domain
436
+ 5. Create command system with domain-specific terminology
437
+
438
+ **Step 2: Copy Core Utilities**
439
+
440
+ Before proceeding, copy these essential files from bmad-core:
441
+
442
+ ````bash
443
+ # Copy core task utilities
444
+ cp bmad-core/tasks/create-doc.md expansion-packs/{pack-name}/tasks/
445
+ cp bmad-core/tasks/execute-checklist.md expansion-packs/{pack-name}/tasks/
446
+
447
+ # Copy core utility files
448
+ mkdir -p expansion-packs/{pack-name}/utils
449
+ cp bmad-core/utils/template-format.md expansion-packs/{pack-name}/utils/
450
+ cp bmad-core/utils/workflow-management.md expansion-packs/{pack-name}/utils/
451
+ ```text
452
+
453
+ **Step 3: Technical Implementation**
454
+
455
+ 1. Create `agents/{pack-name}-orchestrator.md` with YAML-in-Markdown structure:
456
+
457
+ ```yaml
458
+ activation-instructions:
459
+ - Follow all instructions in this file
460
+ - Stay in character as {Character Name} until exit
461
+ - Use numbered options protocol for all interactions
462
+
463
+ agent:
464
+ name: {Character Name}
465
+ id: {pack-name}-orchestrator
466
+ title: {Professional Title}
467
+ icon: {emoji}
468
+ whenToUse: {clear usage guidance}
469
+
470
+ persona:
471
+ role: {specific professional role}
472
+ style: {communication approach}
473
+ identity: {character background}
474
+ focus: {primary expertise area}
475
+
476
+ core_principles:
477
+ - {principle 1}
478
+ - {principle 2}
479
+
480
+ startup:
481
+ - {initialization steps}
482
+ - CRITICAL: Do NOT auto-execute
483
+
484
+ commands:
485
+ - {command descriptions with numbers}
486
+
487
+ dependencies:
488
+ tasks: {required task list}
489
+ templates: {required template list}
490
+ checklists: {quality checklist list}
491
+ ````
492
+
493
+ **Step 4: Workflow and Team Integration**
494
+
495
+ 1. Design decision trees for workflow branching
496
+ 2. Create handoff protocols to specialist agents
497
+ 3. Implement validation loops and quality checkpoints
498
+ 4. **If multiple agents**: Create team configuration in `agent-teams/{domain}-team.yml`
499
+ 5. **If multiple agents**: Create workflow in `workflows/{domain}-workflow.md`
500
+ 6. Ensure orchestrator references workflow-management utility
501
+ 7. Verify ALL referenced tasks exist (including core utilities)
502
+ 8. Verify ALL referenced templates exist
503
+ 9. Document data file requirements
504
+
505
+ #### 4.2 Specialist Agent Creation with Character Development
506
+
507
+ For each additional agent, follow comprehensive character development:
508
+
509
+ **Character Architecture:**
510
+
511
+ 1. Design complete persona with human name, background, and personality
512
+ 2. Define communication style and professional quirks
513
+ 3. Establish domain expertise and unique value proposition
514
+ 4. Create numbered options protocol for interactions
515
+
516
+ **Technical Implementation:**
517
+
518
+ 1. Create `agents/{agent-id}.md` with YAML-in-Markdown structure
519
+ 2. Embed activation instructions and startup procedures
520
+ 3. Define command system with domain-specific options
521
+ 4. Document dependencies on tasks, templates, and data
522
+
523
+ **Quality Assurance:**
524
+
525
+ 1. **STOP** - Verify all referenced tasks/templates exist
526
+ 2. Create any missing tasks/templates immediately
527
+ 3. Test handoff protocols with orchestrator
528
+ 4. Validate checklist integration
529
+ 5. Mark agent as complete in plan.md
530
+
531
+ **Agent Interaction Design:**
532
+
533
+ 1. Define how agent receives handoffs from orchestrator
534
+ 2. Specify how agent communicates progress and results
535
+ 3. Design transition protocols to other agents or back to orchestrator
536
+ 4. Implement quality validation before handoff completion
537
+
538
+ #### 4.3 Advanced Task Creation with Quality Integration
539
+
540
+ Each task should implement sophisticated procedure design:
541
+
542
+ **Core Structure:**
543
+
544
+ 1. Clear, single purpose with measurable outcomes
545
+ 2. Step-by-step instructions with decision points
546
+ 3. Prerequisites and validation requirements
547
+ 4. Quality assurance integration points
548
+ 5. Success criteria and completion validation
549
+
550
+ **Content Design:**
551
+
552
+ 1. Domain-specific procedures and best practices
553
+ 2. Risk mitigation strategies and common pitfalls
554
+ 3. Integration with checklists and quality systems
555
+ 4. Handoff protocols and communication templates
556
+ 5. Examples and sample outputs
557
+
558
+ **Reusability Patterns:**
559
+
560
+ 1. Modular design for use across multiple agents
561
+ 2. Parameterized procedures for different contexts
562
+ 3. Clear dependency documentation
563
+ 4. Cross-reference to related tasks and templates
564
+ 5. Version control and update procedures
565
+
566
+ #### 4.4 Advanced Template Design with LLM Instruction Embedding
567
+
568
+ Templates should implement sophisticated AI guidance systems:
569
+
570
+ **LLM Instruction Patterns:**
571
+
572
+ 1. **Step-by-Step Guidance**: `[[LLM: Present this section first, gather user input, then proceed to next section.]]`
573
+ 2. **Conditional Content**: `^^CONDITION: project_type == "complex"^^` advanced content `^^/CONDITION: project_type^^`
574
+ 3. **Dynamic Variables**: `{{project_name}}`, `{{stakeholder_list}}`, `{{technical_requirements}}`
575
+ 4. **Iteration Controls**: `<<REPEAT section="stakeholder" count="{{stakeholder_count}}">>` repeatable blocks `<</REPEAT>>`
576
+ 5. **User Feedback Loops**: Built-in validation and refinement prompts
577
+
578
+ **Content Architecture:**
579
+
580
+ 1. Progressive disclosure with guided completion
581
+ 2. Domain-specific terminology and standards
582
+ 3. Quality markers and success criteria
583
+ 4. Cross-references to checklists and validation tools
584
+ 5. Advanced elicitation techniques for comprehensive content gathering
585
+
586
+ **Template Intelligence:**
587
+
588
+ 1. Adaptive content based on project complexity or type
589
+ 2. Intelligent placeholder replacement with context awareness
590
+ 3. Validation triggers for completeness and quality
591
+ 4. Integration with quality assurance checklists
592
+ 5. Export and formatting options for different use cases
593
+
594
+ ### Phase 5: Workflow Orchestration and Quality Systems
595
+
596
+ #### 5.1 Create Workflow Orchestration
597
+
598
+ **Decision Tree Design:**
599
+
600
+ 1. Map primary workflow paths and decision points
601
+ 2. Create branching logic for different project types or complexity levels
602
+ 3. Design conditional workflow sections using `^^CONDITION:^^` syntax
603
+ 4. Include visual flowcharts using Mermaid diagrams
604
+
605
+ **Handoff Protocol Implementation:**
606
+
607
+ 1. Define explicit handoff prompts between agents
608
+ 2. Create success criteria for each workflow phase
609
+ 3. Implement validation loops and iteration patterns
610
+ 4. Design story development guidance for complex implementations
611
+
612
+ **Workflow File Structure:**
613
+
614
+ ```markdown
615
+ # {Domain} Primary Workflow
616
+
617
+ ## Decision Tree
618
+
619
+ [Mermaid flowchart]
620
+
621
+ ## Workflow Paths
622
+
623
+ ### Path 1: {scenario-name}
624
+
625
+ ^^CONDITION: condition_name^^
626
+ [Workflow steps with agent handoffs]
627
+ ^^/CONDITION: condition_name^^
628
+
629
+ ### Path 2: {scenario-name}
630
+
631
+ [Alternative workflow steps]
632
+
633
+ ## Quality Gates
634
+
635
+ [Validation checkpoints throughout workflow]
636
+ ```
637
+
638
+ ### Phase 6: Verification and Documentation
639
+
640
+ #### 6.1 Comprehensive Verification System
641
+
642
+ Before declaring complete:
643
+
644
+ **Character and Persona Validation:**
645
+
646
+ 1. [ ] All agents have complete character personas with names and backgrounds
647
+ 2. [ ] Communication styles are consistent and domain-appropriate
648
+ 3. [ ] Numbered options protocol implemented across all agents
649
+ 4. [ ] Command systems are comprehensive with help functionality
650
+
651
+ **Technical Architecture Validation:**
652
+
653
+ 1. [ ] All agents use YAML-in-Markdown structure with activation instructions
654
+ 2. [ ] Startup procedures prevent auto-execution
655
+ 3. [ ] All agent references validated (tasks, templates, data)
656
+ 4. [ ] Handoff protocols tested between agents
657
+
658
+ **Template and Quality System Validation:**
659
+
660
+ 1. [ ] Templates include LLM instruction embedding
661
+ 2. [ ] Conditional content and variable systems implemented
662
+ 3. [ ] Multi-level quality assurance checklists created
663
+ 4. [ ] Star rating and ready/not-ready systems functional
664
+
665
+ **Workflow and Integration Validation:**
666
+
667
+ 1. [ ] Decision trees and workflow orchestration complete
668
+ 2. [ ] Knowledge base files embedded (best practices, terminology, standards)
669
+ 3. [ ] Manifest.yml reflects all components and dependencies
670
+ 4. [ ] All items in plan.md marked complete
671
+ 5. [ ] No orphaned tasks or templates
672
+
673
+ #### 6.2 Create Comprehensive Documentation
674
+
675
+ **README Structure with Character Introduction:**
676
+
677
+ ````markdown
678
+ # {Pack Name} Expansion Pack
679
+
680
+ ## Meet Your {Domain} Team
681
+
682
+ ### 🎯 {Character Name} - {Pack Name} Orchestrator
683
+
684
+ _{Professional background and expertise}_
685
+
686
+ {Character Name} is your {domain} project coordinator who will guide you through the complete {domain} development process using numbered options and structured workflows.
687
+
688
+ ### 💼 Specialist Agents
689
+
690
+ - **{Agent 1 Name}** - {Role and expertise}
691
+ - **{Agent 2 Name}** - {Role and expertise}
692
+
693
+ ## Quick Start
694
+
695
+ 1. **Prepare Data Files** (place in `bmad-core/data/`):
696
+
697
+ - `{file1}.{ext}` - {description}
698
+ - `{file2}.{ext}` - {description}
699
+
700
+ 2. **Launch Orchestrator**:
701
+ ```bash
702
+ npm run agent {pack-name}-orchestrator
703
+ ```
704
+ ````
705
+
706
+ 3. **Follow Numbered Options**: {Character Name} will present numbered choices for each decision
707
+
708
+ 4. **Quality Assurance**: Multi-level validation with star ratings ensures excellence
709
+
710
+ ## Advanced Features
711
+
712
+ - **LLM Template System**: Intelligent document generation with conditional content
713
+ - **Workflow Orchestration**: Decision trees and handoff protocols
714
+ - **Character Consistency**: Persistent personas across all interactions
715
+ - **Quality Integration**: Comprehensive validation at every step
716
+
717
+ ## Components
718
+
719
+ ### Agents ({agent-count})
720
+
721
+ [List with character names and roles]
722
+
723
+ ### Templates ({template-count})
724
+
725
+ [List with LLM instruction features]
726
+
727
+ ### Quality Systems
728
+
729
+ [List checklists and validation tools]
730
+
731
+ ### Knowledge Base
732
+
733
+ [Embedded domain expertise]
734
+
735
+ ````
736
+
737
+ #### 6.3 Advanced Data File Documentation with Validation
738
+
739
+ For each required data file, provide comprehensive guidance:
740
+
741
+ ```markdown
742
+ ## Required User Data Files
743
+
744
+ ### {filename}.{ext}
745
+
746
+ - **Purpose**: {why this file is needed by which agents}
747
+ - **Format**: {specific file format and structure requirements}
748
+ - **Location**: Place in `bmad-core/data/`
749
+ - **Validation**: {how agents will verify the file is correct}
750
+ - **Example Structure**:
751
+ ````
752
+
753
+ {sample content showing exact format}
754
+
755
+ ```text
756
+ - **Common Mistakes**: {frequent errors and how to avoid them}
757
+ - **Quality Criteria**: {what makes this file high-quality}
758
+
759
+ ### Integration Notes
760
+ - **Used By**: {list of agents that reference this file}
761
+ - **Frequency**: {how often the file is accessed}
762
+ - **Updates**: {when and how to update the file}
763
+ - **Validation Commands**: {any CLI commands to verify file correctness}
764
+ ```
765
+
766
+ ## Embedded Knowledge Base
767
+
768
+ The expansion pack includes comprehensive domain knowledge:
769
+
770
+ - **{domain}-best-practices.md**: Industry standards and proven methodologies
771
+ - **{domain}-terminology.md**: Field-specific language and concept definitions
772
+ - **{domain}-standards.md**: Quality criteria and compliance requirements
773
+
774
+ These files are automatically available to all agents and don't require user setup.
775
+
776
+ ## Example: Healthcare Expansion Pack with Advanced Architecture
777
+
778
+ ```text
779
+ healthcare/
780
+ ├── plan.md (Created first for approval)
781
+ ├── manifest.yml (with dependency mapping and character descriptions)
782
+ ├── README.md (featuring character introductions and numbered options)
783
+ ├── agents/
784
+ │ ├── healthcare-orchestrator.md (Dr. Sarah Chen - YAML-in-Markdown)
785
+ │ ├── clinical-analyst.md (Marcus Rivera - Research Specialist)
786
+ │ └── compliance-officer.md (Jennifer Walsh - Regulatory Expert)
787
+ ├── data/
788
+ │ ├── healthcare-best-practices.md (embedded domain knowledge)
789
+ │ ├── healthcare-terminology.md (medical language and concepts)
790
+ │ └── healthcare-standards.md (HIPAA, FDA, clinical trial requirements)
791
+ ├── tasks/
792
+ │ ├── hipaa-assessment.md (with quality integration and checklists)
793
+ │ ├── clinical-protocol-review.md (multi-step validation process)
794
+ │ └── patient-data-analysis.md (statistical analysis with safety checks)
795
+ ├── templates/
796
+ │ ├── clinical-trial-protocol.md (LLM instructions with conditionals)
797
+ │ ├── hipaa-compliance-report.md ({{variables}} and validation triggers)
798
+ │ └── patient-outcome-report.md (star rating system integration)
799
+ ├── checklists/
800
+ │ ├── hipaa-checklist.md (multi-level: basic/comprehensive/expert)
801
+ │ ├── clinical-data-quality.md (star ratings with improvement recommendations)
802
+ │ └── regulatory-compliance.md (ready/not-ready with next steps)
803
+ ├── workflows/
804
+ │ ├── clinical-trial-workflow.md (decision trees with Mermaid diagrams)
805
+ │ └── compliance-audit-workflow.md (handoff protocols and quality gates)
806
+ └── agent-teams/
807
+ └── healthcare-team.yml (coordinated team configurations)
808
+
809
+ Required user data files (bmad-core/data/):
810
+ - medical-terminology.md (institution-specific terms and abbreviations)
811
+ - hipaa-requirements.md (organization's specific compliance requirements)
812
+ - clinical-protocols.md (standard operating procedures and guidelines)
813
+
814
+ Embedded knowledge (automatic):
815
+ - Healthcare best practices and proven methodologies
816
+ - Medical terminology and concept definitions
817
+ - Regulatory standards (HIPAA, FDA, GCP) and compliance requirements
818
+ ```
819
+
820
+ ### Character Examples from Healthcare Pack
821
+
822
+ **Dr. Sarah Chen** - Healthcare Practice Manager (Orchestrator)
823
+
824
+ - _Domain Role_: Medical Office Manager with clinical background
825
+ - _Background_: 15 years clinical research, MD/PhD, practice management expertise
826
+ - _Style_: Professional medical demeanor, uses numbered options, explains workflows clearly
827
+ - _Commands_: Patient flow management, clinical trial coordination, staff scheduling, compliance oversight
828
+ - _Theme Integration_: Acts as the central coordinator a patient would expect in a medical practice
829
+
830
+ **Marcus Rivera** - Clinical Data Analyst
831
+
832
+ - _Background_: Biostatistician, clinical trials methodology, data integrity specialist
833
+ - _Style_: Detail-oriented, methodical, uses statistical terminology appropriately
834
+ - _Commands_: Statistical analysis, data validation, outcome measurement, safety monitoring
835
+
836
+ **Jennifer Walsh** - Regulatory Compliance Officer
837
+
838
+ - _Background_: Former FDA reviewer, 20 years regulatory affairs, compliance auditing
839
+ - _Style_: Thorough, systematic, risk-focused, uses regulatory language precisely
840
+ - _Commands_: Compliance audit, regulatory filing, risk assessment, documentation review
841
+
842
+ ## Advanced Interactive Questions Flow
843
+
844
+ ### Initial Discovery and Character Development
845
+
846
+ 1. "What domain or industry will this expansion pack serve?"
847
+ 2. "What are the main challenges or workflows in this domain?"
848
+ 3. "Do you have any example documents or outputs? (Please share)"
849
+ 4. "What specialized roles/experts exist in this domain? (I need to create character personas for each)"
850
+ 5. "For each specialist role, what would be an appropriate professional name and background?"
851
+ 6. "What communication style would each character use? (formal, casual, technical, etc.)"
852
+ 7. "What reference data will users need to provide?"
853
+ 8. "What domain-specific knowledge should be embedded in the expansion pack?"
854
+ 9. "What quality standards or compliance requirements exist in this field?"
855
+ 10. "What are the typical workflow decision points where users need guidance?"
856
+
857
+ ### Planning Phase
858
+
859
+ 1. "Here's the proposed plan. Please review and approve before we continue."
860
+
861
+ ### Orchestrator Character and Command Design
862
+
863
+ 1. "What natural leadership role exists in {domain}? (e.g., Office Manager, Project Lead, Department Head)"
864
+ 2. "What should the orchestrator character's name and professional background be to match this role?"
865
+ 3. "What communication style fits this domain role? (medical professional, legal formal, tech agile)"
866
+ 4. "What domain-specific commands should the orchestrator support using numbered options?"
867
+ 5. "How many specialist agents will this pack include? (determines if team/workflow required)"
868
+ 6. "What's the typical workflow from start to finish, including decision points?"
869
+ 7. "Where in the workflow should users choose between different paths?"
870
+ 8. "How should the orchestrator hand off to specialist agents?"
871
+ 9. "What quality gates should be built into the workflow?"
872
+ 10. "How should it integrate with core BMAD agents?"
873
+
874
+ ### Agent Planning
875
+
876
+ 1. "For agent '{name}', what is their specific expertise?"
877
+ 2. "What tasks will this agent reference? (I'll create them)"
878
+ 3. "What templates will this agent use? (I'll create them)"
879
+ 4. "What data files will this agent need? (You'll provide these)"
880
+
881
+ ### Task Design
882
+
883
+ 1. "Describe the '{task}' process step-by-step"
884
+ 2. "What information is needed to complete this task?"
885
+ 3. "What should the output look like?"
886
+
887
+ ### Template Creation
888
+
889
+ 1. "What sections should the '{template}' document have?"
890
+ 2. "Are there any required formats or standards?"
891
+ 3. "Can you provide an example of a completed document?"
892
+
893
+ ### Data Requirements
894
+
895
+ 1. "For {data-file}, what information should it contain?"
896
+ 2. "What format should this data be in?"
897
+ 3. "Can you provide a sample?"
898
+
899
+ ## Critical Advanced Considerations
900
+
901
+ **Character and Persona Architecture:**
902
+
903
+ - **Character Consistency**: Every agent needs a persistent human persona with name, background, and communication style
904
+ - **Numbered Options Protocol**: ALL agent interactions must use numbered lists for user selections
905
+ - **Professional Authenticity**: Characters should reflect realistic expertise and communication patterns for their domain
906
+
907
+ **Technical Architecture Requirements:**
908
+
909
+ - **YAML-in-Markdown Structure**: All agents must use embedded activation instructions and configuration
910
+ - **LLM Template Intelligence**: Templates need instruction embedding with conditionals and variables
911
+ - **Quality Integration**: Multi-level validation systems with star ratings and ready/not-ready frameworks
912
+
913
+ **Workflow and Orchestration:**
914
+
915
+ - **Decision Trees**: Workflows must include branching logic and conditional paths
916
+ - **Handoff Protocols**: Explicit procedures for agent-to-agent transitions
917
+ - **Knowledge Base Embedding**: Domain expertise must be built into the pack, not just referenced
918
+
919
+ **Quality and Validation:**
920
+
921
+ - **Plan First**: ALWAYS create and get approval for plan.md before implementing
922
+ - **Orchestrator Required**: Every pack MUST have a custom BMAD orchestrator with sophisticated command system
923
+ - **Verify References**: ALL referenced tasks/templates MUST exist and be tested
924
+ - **Multi-Level Validation**: Quality systems must provide basic, comprehensive, and expert-level assessment
925
+ - **Domain Expertise**: Ensure accuracy in specialized fields with embedded best practices
926
+ - **Compliance Integration**: Include necessary regulatory requirements as embedded knowledge
927
+
928
+ ## Advanced Success Strategies
929
+
930
+ **Character Development Excellence:**
931
+
932
+ 1. **Create Believable Personas**: Each agent should feel like a real professional with authentic expertise
933
+ 2. **Maintain Communication Consistency**: Character voices should remain consistent across all interactions
934
+ 3. **Design Professional Relationships**: Show how characters work together and hand off responsibilities
935
+
936
+ **Technical Implementation Excellence:**
937
+
938
+ 1. **Plan Thoroughly**: The plan.md prevents missing components and ensures character consistency
939
+ 2. **Build Orchestrator First**: It defines the overall workflow and establishes the primary character voice
940
+ 3. **Implement Template Intelligence**: Use LLM instruction embedding for sophisticated document generation
941
+ 4. **Create Quality Integration**: Every task should connect to validation checklists and quality systems
942
+
943
+ **Workflow and Quality Excellence:**
944
+
945
+ 1. **Design Decision Trees**: Map out all workflow branching points and conditional paths
946
+ 2. **Test Handoff Protocols**: Ensure smooth transitions between agents with clear success criteria
947
+ 3. **Embed Domain Knowledge**: Include best practices, terminology, and standards as built-in knowledge
948
+ 4. **Validate Continuously**: Check off items in plan.md and test all references throughout development
949
+ 5. **Document Comprehensively**: Users need clear instructions for data files, character introductions, and quality expectations
950
+
951
+ ## Advanced Mistakes to Avoid
952
+
953
+ **Character and Persona Mistakes:**
954
+
955
+ 1. **Generic Orchestrator**: Creating a bland orchestrator instead of domain-themed character (e.g., "Orchestrator" vs "Office Manager")
956
+ 2. **Generic Characters**: Creating agents without distinct personalities, names, or communication styles
957
+ 3. **Inconsistent Voices**: Characters that sound the same or change personality mid-conversation
958
+ 4. **Missing Professional Context**: Agents without believable expertise or domain authority
959
+ 5. **No Numbered Options**: Failing to implement the numbered selection protocol
960
+
961
+ **Technical Architecture Mistakes:**
962
+
963
+ 1. **Missing Core Utilities**: Not including create-doc.md, execute-checklist.md, template-format.md, workflow-management.md
964
+ 2. **Simple Agent Structure**: Using basic YAML instead of YAML-in-Markdown with embedded instructions
965
+ 3. **Basic Templates**: Creating simple templates without LLM instruction embedding or conditional content
966
+ 4. **Missing Quality Integration**: Templates and tasks that don't connect to validation systems
967
+ 5. **Weak Command Systems**: Orchestrators without sophisticated command interfaces and help systems
968
+ 6. **Missing Team/Workflow**: Not creating team and workflow files when pack has multiple agents
969
+
970
+ **Workflow and Content Mistakes:**
971
+
972
+ 1. **Linear Workflows**: Creating workflows without decision trees or branching logic
973
+ 2. **Missing Handoff Protocols**: Agents that don't properly transition work to each other
974
+ 3. **External Dependencies**: Requiring users to provide knowledge that should be embedded in the pack
975
+ 4. **Orphaned References**: Agent references task that doesn't exist
976
+ 5. **Unclear Data Needs**: Not specifying required user data files with validation criteria
977
+ 6. **Skipping Plan**: Going straight to implementation without comprehensive planning
978
+ 7. **Generic Orchestrator**: Not making the orchestrator domain-specific with appropriate character and commands
979
+
980
+ ## Advanced Completion Checklist
981
+
982
+ **Character and Persona Completion:**
983
+
984
+ - [ ] All agents have complete character development (names, backgrounds, communication styles)
985
+ - [ ] Numbered options protocol implemented across all agent interactions
986
+ - [ ] Character consistency maintained throughout all content
987
+ - [ ] Professional authenticity verified for domain expertise
988
+
989
+ **Technical Architecture Completion:**
990
+
991
+ - [ ] All agents use YAML-in-Markdown structure with activation instructions
992
+ - [ ] Orchestrator has domain-themed character (not generic)
993
+ - [ ] Core utilities copied: create-doc.md, execute-checklist.md, template-format.md, workflow-management.md
994
+ - [ ] Templates include LLM instruction embedding with conditionals and variables
995
+ - [ ] Multi-level quality assurance systems implemented (basic/comprehensive/expert)
996
+ - [ ] Command systems include help functionality and domain-specific options
997
+ - [ ] Team configuration created if multiple agents
998
+ - [ ] Workflow created if multiple agents
999
+
1000
+ **Workflow and Quality Completion:**
1001
+
1002
+ - [ ] Decision trees and workflow branching implemented
1003
+ - [ ] Workflow file created if pack has multiple agents
1004
+ - [ ] Team configuration created if pack has multiple agents
1005
+ - [ ] Handoff protocols tested between all agents
1006
+ - [ ] Knowledge base embedded (best practices, terminology, standards)
1007
+ - [ ] Quality integration connects tasks to checklists and validation
1008
+ - [ ] Core utilities properly referenced in agent dependencies
1009
+
1010
+ **Standard Completion Verification:**
1011
+
1012
+ - [ ] plan.md created and approved with character details
1013
+ - [ ] All plan.md items checked off including persona development
1014
+ - [ ] Orchestrator agent created with sophisticated character and command system
1015
+ - [ ] All agent references verified (tasks, templates, data, checklists)
1016
+ - [ ] Data requirements documented with validation criteria and examples
1017
+ - [ ] README includes character introductions and numbered options explanation
1018
+ - [ ] manifest.yml reflects actual files with dependency mapping and character descriptions
1019
+
1020
+ **Advanced Quality Gates:**
1021
+
1022
+ - [ ] Star rating systems functional in quality checklists
1023
+ - [ ] Ready/not-ready decision frameworks implemented
1024
+ - [ ] Template conditional content tested with different scenarios
1025
+ - [ ] Workflow decision trees validated with sample use cases
1026
+ - [ ] Character interactions tested for consistency and professional authenticity