bmad-method 4.27.4 → 4.27.6
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.
- package/CHANGELOG.md +14 -0
- package/CONTRIBUTING.md +2 -2
- package/bmad-core/agents/analyst.md +3 -4
- package/bmad-core/agents/architect.md +3 -4
- package/bmad-core/agents/bmad-master.md +9 -32
- package/bmad-core/agents/bmad-orchestrator.md +3 -8
- package/bmad-core/agents/dev.md +3 -4
- package/bmad-core/agents/pm.md +3 -4
- package/bmad-core/agents/po.md +3 -4
- package/bmad-core/agents/qa.md +3 -4
- package/bmad-core/agents/sm.md +3 -4
- package/bmad-core/agents/ux-expert.md +3 -4
- package/bmad-core/data/bmad-kb.md +3 -3
- package/bmad-core/tasks/create-next-story.md +0 -1
- package/bmad-core/tasks/validate-next-story.md +1 -1
- package/bmad-core/workflows/brownfield-fullstack.yaml +1 -1
- package/bmad-core/workflows/brownfield-service.yaml +1 -1
- package/bmad-core/workflows/brownfield-ui.yaml +1 -1
- package/bmad-core/workflows/greenfield-fullstack.yaml +1 -1
- package/bmad-core/workflows/greenfield-ui.yaml +1 -1
- package/dist/agents/analyst.txt +3 -3
- package/dist/agents/bmad-master.txt +7 -324
- package/dist/agents/bmad-orchestrator.txt +3 -229
- package/dist/agents/dev.txt +1 -1
- package/dist/agents/po.txt +1 -1
- package/dist/agents/sm.txt +0 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -226
- package/dist/teams/team-all.txt +9 -236
- package/dist/teams/team-fullstack.txt +9 -235
- package/dist/teams/team-ide-minimal.txt +4 -231
- package/dist/teams/team-no-ui.txt +5 -231
- package/{GUIDING-PRINCIPLES.md → docs/GUIDING-PRINCIPLES.md} +19 -13
- package/docs/template-markup-references.md +86 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +2 -3
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +2 -3
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +2 -3
- package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +2 -3
- package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +2 -3
- package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +307 -2
- package/package.json +1 -1
- package/tools/installer/bin/bmad.js +83 -0
- package/tools/installer/lib/file-manager.js +105 -2
- package/tools/installer/lib/ide-setup.js +41 -33
- package/tools/installer/lib/installer.js +62 -26
- package/tools/installer/package.json +1 -1
- package/bmad-core/utils/plan-management.md +0 -219
|
@@ -63,9 +63,6 @@ CRITICAL: Read the full YAML, start activation to alter your state of being, fol
|
|
|
63
63
|
```yaml
|
|
64
64
|
activation-instructions:
|
|
65
65
|
- Mention *help shows all available commands and options
|
|
66
|
-
- Check for active workflow plan using .bmad-core/utils/plan-management.md
|
|
67
|
-
- 'If plan exists: Show 📋 Active plan: {workflow} ({progress}% complete). Use *plan-status for details.'
|
|
68
|
-
- 'If plan exists: Suggest next action based on plan progress'
|
|
69
66
|
- Assess user goal against available agents and workflows in this bundle
|
|
70
67
|
- If clear match to an agent's expertise, suggest transformation with *agent command
|
|
71
68
|
- If project-oriented, suggest *workflow-guidance to explore options
|
|
@@ -187,7 +184,6 @@ dependencies:
|
|
|
187
184
|
- bmad-kb.md
|
|
188
185
|
- elicitation-methods.md
|
|
189
186
|
utils:
|
|
190
|
-
- plan-management.md
|
|
191
187
|
- workflow-management.md
|
|
192
188
|
```
|
|
193
189
|
==================== END: .bmad-core/agents/bmad-orchestrator.md ====================
|
|
@@ -1988,7 +1984,7 @@ For full details, see `CONTRIBUTING.md`. Key points:
|
|
|
1988
1984
|
- Atomic commits - one logical change per commit
|
|
1989
1985
|
- Must align with guiding principles
|
|
1990
1986
|
|
|
1991
|
-
**Core Principles** (from GUIDING-PRINCIPLES.md):
|
|
1987
|
+
**Core Principles** (from docs/GUIDING-PRINCIPLES.md):
|
|
1992
1988
|
|
|
1993
1989
|
- **Dev Agents Must Be Lean**: Minimize dependencies, save context for code
|
|
1994
1990
|
- **Natural Language First**: Everything in markdown, no code in core
|
|
@@ -2058,8 +2054,8 @@ Use the **expansion-creator** pack to build your own:
|
|
|
2058
2054
|
|
|
2059
2055
|
## Getting Help
|
|
2060
2056
|
|
|
2061
|
-
- **Commands**: Use
|
|
2062
|
-
- **Agent Switching**: Use
|
|
2057
|
+
- **Commands**: Use `*/*help` in any environment to see available commands
|
|
2058
|
+
- **Agent Switching**: Use `*/*switch agent-name` with orchestrator for role changes
|
|
2063
2059
|
- **Documentation**: Check `docs/` folder for project-specific context
|
|
2064
2060
|
- **Community**: Discord and GitHub resources available for support
|
|
2065
2061
|
- **Contributing**: See `CONTRIBUTING.md` for full guidelines
|
|
@@ -2202,228 +2198,6 @@ Use the **expansion-creator** pack to build your own:
|
|
|
2202
2198
|
- Prepare to continue without additional elicitation
|
|
2203
2199
|
==================== END: .bmad-core/data/elicitation-methods.md ====================
|
|
2204
2200
|
|
|
2205
|
-
==================== START: .bmad-core/utils/plan-management.md ====================
|
|
2206
|
-
# Plan Management Utility
|
|
2207
|
-
|
|
2208
|
-
## Purpose
|
|
2209
|
-
|
|
2210
|
-
Provides utilities for agents and tasks to interact with workflow plans, check progress, update status, and ensure workflow steps are executed in the appropriate sequence.
|
|
2211
|
-
|
|
2212
|
-
## Core Functions
|
|
2213
|
-
|
|
2214
|
-
### 1. Check Plan Existence
|
|
2215
|
-
|
|
2216
|
-
Check for workflow plan:
|
|
2217
|
-
|
|
2218
|
-
1. Look for docs/workflow-plan.md (default location)
|
|
2219
|
-
2. Return plan status to user (exists/not exists) - if not exists then HALT.
|
|
2220
|
-
|
|
2221
|
-
### 2. Parse Plan Status
|
|
2222
|
-
|
|
2223
|
-
[[LLM: Extract current progress from the plan document]]
|
|
2224
|
-
|
|
2225
|
-
**Plan Parsing Logic:**
|
|
2226
|
-
|
|
2227
|
-
1. **Identify Step Structure**:
|
|
2228
|
-
- Look for checkbox lines: `- [ ]` or `- [x]`
|
|
2229
|
-
- Extract step IDs from comments: `<!-- step-id: X.Y -->`
|
|
2230
|
-
- Identify agent assignments: `<!-- agent: pm -->`
|
|
2231
|
-
|
|
2232
|
-
2. **Determine Current State**:
|
|
2233
|
-
- Last completed step (highest numbered `[x]`)
|
|
2234
|
-
- Next expected step (first `[ ]` after completed steps)
|
|
2235
|
-
- Overall progress percentage
|
|
2236
|
-
|
|
2237
|
-
3. **Extract Metadata**:
|
|
2238
|
-
- Workflow type from plan header
|
|
2239
|
-
- Decision points and their status
|
|
2240
|
-
- Any deviation notes
|
|
2241
|
-
|
|
2242
|
-
### 3. Sequence Validation
|
|
2243
|
-
|
|
2244
|
-
[[LLM: Check if requested action aligns with plan sequence]]
|
|
2245
|
-
|
|
2246
|
-
**Validation Rules:**
|
|
2247
|
-
|
|
2248
|
-
1. **Strict Mode** (enforceSequence: true):
|
|
2249
|
-
- Must complete steps in exact order
|
|
2250
|
-
- Warn and block if out of sequence
|
|
2251
|
-
- Require explicit override justification
|
|
2252
|
-
|
|
2253
|
-
2. **Flexible Mode** (enforceSequence: false):
|
|
2254
|
-
- Warn about sequence deviation
|
|
2255
|
-
- Allow with confirmation
|
|
2256
|
-
- Log deviation reason
|
|
2257
|
-
|
|
2258
|
-
**Warning Templates:**
|
|
2259
|
-
|
|
2260
|
-
```text
|
|
2261
|
-
SEQUENCE WARNING:
|
|
2262
|
-
The workflow plan shows you should complete "{expected_step}" next.
|
|
2263
|
-
You're attempting to: "{requested_action}"
|
|
2264
|
-
|
|
2265
|
-
In strict mode: Block and require plan update
|
|
2266
|
-
In flexible mode: Allow with confirmation
|
|
2267
|
-
```
|
|
2268
|
-
|
|
2269
|
-
### 4. Plan Update Operations
|
|
2270
|
-
|
|
2271
|
-
[[LLM: Provide consistent way to update plan progress]]
|
|
2272
|
-
|
|
2273
|
-
**Update Actions:**
|
|
2274
|
-
|
|
2275
|
-
1. **Mark Step Complete**:
|
|
2276
|
-
- Change `- [ ]` to `- [x]`
|
|
2277
|
-
- Add completion timestamp comment
|
|
2278
|
-
- Update any status metadata
|
|
2279
|
-
|
|
2280
|
-
2. **Add Deviation Note**:
|
|
2281
|
-
- Insert note explaining why sequence changed
|
|
2282
|
-
- Reference the deviation in plan
|
|
2283
|
-
|
|
2284
|
-
3. **Update Current Step Pointer**:
|
|
2285
|
-
- Add/move `<!-- current-step -->` marker
|
|
2286
|
-
- Update last-modified timestamp
|
|
2287
|
-
|
|
2288
|
-
### 5. Integration Instructions
|
|
2289
|
-
|
|
2290
|
-
[[LLM: How agents and tasks should use this utility]]
|
|
2291
|
-
|
|
2292
|
-
**For Agents (startup sequence)**:
|
|
2293
|
-
|
|
2294
|
-
```text
|
|
2295
|
-
1. Check if plan exists using this utility
|
|
2296
|
-
2. If exists:
|
|
2297
|
-
- Parse current status
|
|
2298
|
-
- Show user: "Active workflow plan detected. Current step: {X}"
|
|
2299
|
-
- Suggest: "Next recommended action: {next_step}"
|
|
2300
|
-
3. Continue with normal startup
|
|
2301
|
-
```
|
|
2302
|
-
|
|
2303
|
-
**For Tasks (pre-execution)**:
|
|
2304
|
-
|
|
2305
|
-
```text
|
|
2306
|
-
1. Check if plan exists
|
|
2307
|
-
2. If exists:
|
|
2308
|
-
- Verify this task aligns with plan
|
|
2309
|
-
- If not aligned:
|
|
2310
|
-
- In strict mode: Show warning and stop
|
|
2311
|
-
- In flexible mode: Show warning and ask for confirmation
|
|
2312
|
-
3. After task completion:
|
|
2313
|
-
- Update plan if task was a planned step
|
|
2314
|
-
- Add note if task was unplanned
|
|
2315
|
-
```
|
|
2316
|
-
|
|
2317
|
-
### 6. Plan Status Report Format
|
|
2318
|
-
|
|
2319
|
-
[[LLM: Standard format for showing plan status]]
|
|
2320
|
-
|
|
2321
|
-
```text
|
|
2322
|
-
📋 Workflow Plan Status
|
|
2323
|
-
━━━━━━━━━━━━━━━━━━━━
|
|
2324
|
-
Workflow: {workflow_name}
|
|
2325
|
-
Progress: {X}% complete ({completed}/{total} steps)
|
|
2326
|
-
|
|
2327
|
-
✅ Completed:
|
|
2328
|
-
- {completed_step_1}
|
|
2329
|
-
- {completed_step_2}
|
|
2330
|
-
|
|
2331
|
-
🔄 Current Step:
|
|
2332
|
-
- {current_step_description}
|
|
2333
|
-
|
|
2334
|
-
📌 Upcoming:
|
|
2335
|
-
- {next_step_1}
|
|
2336
|
-
- {next_step_2}
|
|
2337
|
-
|
|
2338
|
-
⚠️ Notes:
|
|
2339
|
-
- {any_deviations_or_notes}
|
|
2340
|
-
```
|
|
2341
|
-
|
|
2342
|
-
### 7. Decision Point Handling
|
|
2343
|
-
|
|
2344
|
-
[[LLM: Special handling for workflow decision points]]
|
|
2345
|
-
|
|
2346
|
-
When encountering a decision point in the plan:
|
|
2347
|
-
|
|
2348
|
-
1. **Identify Decision Marker**: `<!-- decision: {decision_id} -->`
|
|
2349
|
-
2. **Check Decision Status**: Made/Pending
|
|
2350
|
-
3. **If Pending**:
|
|
2351
|
-
- Block progress until decision made
|
|
2352
|
-
- Show options to user
|
|
2353
|
-
- Record decision when made
|
|
2354
|
-
4. **If Made**:
|
|
2355
|
-
- Verify current path aligns with decision
|
|
2356
|
-
- Warn if attempting alternate path
|
|
2357
|
-
|
|
2358
|
-
### 8. Plan Abandonment
|
|
2359
|
-
|
|
2360
|
-
[[LLM: Graceful handling when user wants to stop following plan]]
|
|
2361
|
-
|
|
2362
|
-
If user wants to abandon plan:
|
|
2363
|
-
|
|
2364
|
-
1. Confirm abandonment intent
|
|
2365
|
-
2. Add abandonment note to plan
|
|
2366
|
-
3. Mark plan as "Abandoned" in header
|
|
2367
|
-
4. Stop plan checking for remainder of session
|
|
2368
|
-
5. Suggest creating new plan if needed
|
|
2369
|
-
|
|
2370
|
-
## Usage Examples
|
|
2371
|
-
|
|
2372
|
-
### Example 1: Agent Startup Check
|
|
2373
|
-
|
|
2374
|
-
```text
|
|
2375
|
-
BMad Master starting...
|
|
2376
|
-
|
|
2377
|
-
[Check for plan]
|
|
2378
|
-
Found active workflow plan: brownfield-fullstack
|
|
2379
|
-
Progress: 40% complete (4/10 steps)
|
|
2380
|
-
Current step: Create PRD (pm agent)
|
|
2381
|
-
|
|
2382
|
-
Suggestion: Based on your plan, you should work with the PM agent next.
|
|
2383
|
-
Use *agent pm to switch, or *plan-status to see full progress.
|
|
2384
|
-
```
|
|
2385
|
-
|
|
2386
|
-
### Example 2: Task Sequence Warning
|
|
2387
|
-
|
|
2388
|
-
```text
|
|
2389
|
-
User: *task create-next-story
|
|
2390
|
-
|
|
2391
|
-
[Plan check triggered]
|
|
2392
|
-
⚠️ SEQUENCE WARNING:
|
|
2393
|
-
Your workflow plan indicates the PRD hasn't been created yet.
|
|
2394
|
-
Creating stories before the PRD may lead to incomplete requirements.
|
|
2395
|
-
|
|
2396
|
-
Would you like to:
|
|
2397
|
-
1. Continue anyway (will note deviation in plan)
|
|
2398
|
-
2. Switch to creating PRD first (*agent pm)
|
|
2399
|
-
3. View plan status (*plan-status)
|
|
2400
|
-
```
|
|
2401
|
-
|
|
2402
|
-
### Example 3: Automatic Plan Update
|
|
2403
|
-
|
|
2404
|
-
```text
|
|
2405
|
-
[After completing create-doc task for PRD]
|
|
2406
|
-
|
|
2407
|
-
✅ Plan Updated: Marked "Create PRD" as complete
|
|
2408
|
-
📍 Next step: Create Architecture Document (architect agent)
|
|
2409
|
-
```
|
|
2410
|
-
|
|
2411
|
-
## Implementation Notes
|
|
2412
|
-
|
|
2413
|
-
- This utility should be lightweight and fast
|
|
2414
|
-
- Plan parsing should be resilient to format variations
|
|
2415
|
-
- Always preserve user agency - warnings not blocks (unless strict mode)
|
|
2416
|
-
- Plan updates should be atomic to prevent corruption
|
|
2417
|
-
- Consider plan versioning for rollback capability
|
|
2418
|
-
|
|
2419
|
-
## Error Handling
|
|
2420
|
-
|
|
2421
|
-
- Missing plan: Return null, don't error
|
|
2422
|
-
- Malformed plan: Warn but continue, treat as no plan
|
|
2423
|
-
- Update failures: Log but don't block task completion
|
|
2424
|
-
- Parse errors: Fallback to basic text search
|
|
2425
|
-
==================== END: .bmad-core/utils/plan-management.md ====================
|
|
2426
|
-
|
|
2427
2201
|
==================== START: .bmad-core/utils/workflow-management.md ====================
|
|
2428
2202
|
# Workflow Management
|
|
2429
2203
|
|
|
@@ -8574,7 +8348,7 @@ To comprehensively validate a story draft before implementation begins, ensuring
|
|
|
8574
8348
|
|
|
8575
8349
|
### 0. Load Core Configuration and Inputs
|
|
8576
8350
|
|
|
8577
|
-
- Load `.bmad-core/core-config.yaml`
|
|
8351
|
+
- Load `.bmad-core/core-config.yaml`
|
|
8578
8352
|
- If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story validation."
|
|
8579
8353
|
- Extract key configurations: `devStoryLocation`, `prd.*`, `architecture.*`
|
|
8580
8354
|
- Identify and load the following inputs:
|
|
@@ -9624,7 +9398,7 @@ workflow:
|
|
|
9624
9398
|
All stories implemented and reviewed!
|
|
9625
9399
|
Project development phase complete.
|
|
9626
9400
|
|
|
9627
|
-
Reference: data
|
|
9401
|
+
Reference: .bmad-core/data/bmad-kb.md#IDE Development Workflow
|
|
9628
9402
|
|
|
9629
9403
|
flow_diagram: |
|
|
9630
9404
|
```mermaid
|
|
@@ -15,7 +15,7 @@ The BMad Method is a natural language framework for AI-assisted software develop
|
|
|
15
15
|
|
|
16
16
|
- **Everything is markdown**: Agents, tasks, templates - all written in plain English
|
|
17
17
|
- **No code in core**: The framework itself contains no programming code, only natural language instructions
|
|
18
|
-
- **Self-contained templates**: Templates include
|
|
18
|
+
- **Self-contained templates**: Templates are defined as YAML files with structured sections that include metadata, workflow configuration, and detailed instructions for content generation
|
|
19
19
|
|
|
20
20
|
### 3. Agent and Task Design
|
|
21
21
|
|
|
@@ -60,22 +60,28 @@ See [Expansion Packs Guide](../docs/expansion-packs.md) for detailed examples an
|
|
|
60
60
|
- This keeps context overhead minimal
|
|
61
61
|
6. **Reuse common tasks** - Don't create new document creation tasks
|
|
62
62
|
- Use the existing `create-doc` task
|
|
63
|
-
- Pass the appropriate template with
|
|
63
|
+
- Pass the appropriate YAML template with structured sections
|
|
64
64
|
- This maintains consistency and reduces duplication
|
|
65
65
|
|
|
66
66
|
### Template Rules
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- `
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
Templates follow the [BMad Document Template](common/utils/bmad-doc-template.md) specification using YAML format:
|
|
69
|
+
|
|
70
|
+
1. **Structure**: Templates are defined in YAML with clear metadata, workflow configuration, and section hierarchy
|
|
71
|
+
2. **Separation of Concerns**: Instructions for LLMs are in `instruction` fields, separate from content
|
|
72
|
+
3. **Reusability**: Templates are agent-agnostic and can be used across different agents
|
|
73
|
+
4. **Key Components**:
|
|
74
|
+
- `template` block for metadata (id, name, version, output settings)
|
|
75
|
+
- `workflow` block for interaction mode configuration
|
|
76
|
+
- `sections` array defining document structure with nested subsections
|
|
77
|
+
- Each section has `id`, `title`, and `instruction` fields
|
|
78
|
+
5. **Advanced Features**:
|
|
79
|
+
- Variable substitution using `{{variable_name}}` syntax
|
|
80
|
+
- Conditional sections with `condition` field
|
|
81
|
+
- Repeatable sections with `repeatable: true`
|
|
82
|
+
- Agent permissions with `owner` and `editors` fields
|
|
83
|
+
- Examples arrays for guidance (never included in output)
|
|
84
|
+
6. **Clean Output**: YAML structure ensures all processing logic stays separate from generated content
|
|
79
85
|
|
|
80
86
|
## Remember
|
|
81
87
|
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Old Template Markup System References
|
|
2
|
+
|
|
3
|
+
This document catalogs all references to the old template markup system found in the BMAD-METHOD documentation and codebase.
|
|
4
|
+
|
|
5
|
+
## Summary of Old Markup Patterns
|
|
6
|
+
|
|
7
|
+
The old template markup system used the following patterns:
|
|
8
|
+
|
|
9
|
+
- `[[LLM: ...]]` - LLM-only processing directives
|
|
10
|
+
- `{{placeholders}}` - Variable substitution
|
|
11
|
+
- `<<REPEAT section="name">>` - Repeatable sections
|
|
12
|
+
- `^^CONDITION: condition_name^^` - Conditional blocks
|
|
13
|
+
- `@{examples}` - Example content markers
|
|
14
|
+
|
|
15
|
+
## Files Containing References
|
|
16
|
+
|
|
17
|
+
### 1. Primary Documentation Files
|
|
18
|
+
|
|
19
|
+
#### `/Users/brianmadison/dev-bmc/BMAD-METHOD/docs/user-guide.md`
|
|
20
|
+
|
|
21
|
+
- **Lines 149-155**: Describes template structure with placeholders and LLM instructions
|
|
22
|
+
- **Lines 229-230**: References advanced elicitation with embedded LLM instructions
|
|
23
|
+
- **Lines 527-549**: Shows custom template creation with LLM instructions and placeholders
|
|
24
|
+
- **Lines 590-632**: Detailed template patterns including variables, AI processing, and conditionals
|
|
25
|
+
- **Lines 619-623**: References to `@{example}` patterns and `[[LLM:]]` instructions
|
|
26
|
+
|
|
27
|
+
#### `/Users/brianmadison/dev-bmc/BMAD-METHOD/docs/core-architecture.md`
|
|
28
|
+
|
|
29
|
+
- **Lines 93-104**: Describes templates as self-contained with embedded LLM instructions
|
|
30
|
+
- **Lines 97-104**: Mentions template-format.md specification with placeholders and LLM directives
|
|
31
|
+
|
|
32
|
+
#### `/Users/brianmadison/dev-bmc/BMAD-METHOD/CLAUDE.md`
|
|
33
|
+
|
|
34
|
+
- **Lines 37, 262**: References to template instructions using `[[LLM: ...]]` markup
|
|
35
|
+
- **Line 38**: Mentions templates with embedded LLM instructions
|
|
36
|
+
|
|
37
|
+
### 2. Common Utilities
|
|
38
|
+
|
|
39
|
+
#### `/Users/brianmadison/dev-bmc/BMAD-METHOD/common/utils/bmad-doc-template.md`
|
|
40
|
+
|
|
41
|
+
- **Lines 296-324**: Migration section describes converting from legacy markdown+frontmatter templates
|
|
42
|
+
- **Lines 319-323**: Specific conversion instructions for old markup patterns
|
|
43
|
+
|
|
44
|
+
### 3. Task Files
|
|
45
|
+
|
|
46
|
+
#### `/Users/brianmadison/dev-bmc/BMAD-METHOD/bmad-core/tasks/shard-doc.md`
|
|
47
|
+
|
|
48
|
+
- **Lines 11-30**: Contains LLM instructions embedded in the task
|
|
49
|
+
- **Line 160**: References preserving template markup including `{{placeholders}}` and `[[LLM instructions]]`
|
|
50
|
+
|
|
51
|
+
#### `/Users/brianmadison/dev-bmc/BMAD-METHOD/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md`
|
|
52
|
+
|
|
53
|
+
- **Lines 10-14**: Describes template systems with LLM instruction embedding
|
|
54
|
+
- **Lines 107-118**: Template section planning with LLM instructions
|
|
55
|
+
- **Lines 229-245**: Detailed LLM instruction patterns for templates
|
|
56
|
+
- **Lines 569-593**: Advanced template design patterns
|
|
57
|
+
- **Lines 229, 573**: Specific examples of `[[LLM:]]` usage
|
|
58
|
+
- **Line 574**: References conditional content with `^^CONDITION:^^`
|
|
59
|
+
- **Line 576**: Mentions iteration controls with `<<REPEAT>>`
|
|
60
|
+
|
|
61
|
+
### 4. Agent and Template Files
|
|
62
|
+
|
|
63
|
+
Multiple agent and task files contain actual usage of the old markup system (22 files found with `[[LLM:]]` patterns), including:
|
|
64
|
+
|
|
65
|
+
- Story templates
|
|
66
|
+
- Checklists
|
|
67
|
+
- Task definitions
|
|
68
|
+
- Workflow plans
|
|
69
|
+
|
|
70
|
+
## Key Observations
|
|
71
|
+
|
|
72
|
+
1. **Documentation vs Implementation**: The documentation heavily references the old markup system, while the new YAML-based template system (`bmad-doc-template.md`) is already defined but not yet reflected in the main documentation.
|
|
73
|
+
|
|
74
|
+
2. **Migration Path**: The `bmad-doc-template.md` file includes a migration section (lines 316-324) that explicitly maps old patterns to new YAML structures.
|
|
75
|
+
|
|
76
|
+
3. **Active Usage**: Many core tasks and templates still actively use the old markup patterns, particularly `[[LLM:]]` instructions embedded within markdown files.
|
|
77
|
+
|
|
78
|
+
4. **Inconsistency**: Some files reference a `template-format.md` file that doesn't exist in the expected locations, suggesting incomplete migration or documentation updates.
|
|
79
|
+
|
|
80
|
+
## Recommendations
|
|
81
|
+
|
|
82
|
+
1. **Update User Guide**: The user guide needs significant updates to reflect the new YAML-based template system
|
|
83
|
+
2. **Update Core Architecture Docs**: Remove references to embedded LLM instructions in templates
|
|
84
|
+
3. **Create Template Migration Guide**: A comprehensive guide for converting existing templates
|
|
85
|
+
4. **Update Extension Pack Documentation**: The bmad-creator-tools expansion pack documentation needs updates
|
|
86
|
+
5. **Audit Active Templates**: Review and migrate templates that still use the old markup system
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
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:
|
|
4
4
|
|
|
5
5
|
```yaml
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), or ask for clarification if ambiguous.
|
|
6
|
+
IDE-FILE-RESOLUTION: Dependencies map to files as {root}/{type}/{name}, type=folder (tasks/templates/checklists/data/utils), name=file-name.
|
|
7
|
+
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
|
|
9
8
|
activation-instructions:
|
|
10
9
|
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
|
11
10
|
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
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:
|
|
4
4
|
|
|
5
5
|
```yaml
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), or ask for clarification if ambiguous.
|
|
6
|
+
IDE-FILE-RESOLUTION: Dependencies map to files as {root}/{type}/{name}, type=folder (tasks/templates/checklists/data/utils), name=file-name.
|
|
7
|
+
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
|
|
9
8
|
activation-instructions:
|
|
10
9
|
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
|
11
10
|
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
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:
|
|
4
4
|
|
|
5
5
|
```yaml
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), or ask for clarification if ambiguous.
|
|
6
|
+
IDE-FILE-RESOLUTION: Dependencies map to files as {root}/{type}/{name}, type=folder (tasks/templates/checklists/data/utils), name=file-name.
|
|
7
|
+
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
|
|
9
8
|
activation-instructions:
|
|
10
9
|
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
|
11
10
|
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
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:
|
|
4
4
|
|
|
5
5
|
```yaml
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), or ask for clarification if ambiguous.
|
|
6
|
+
IDE-FILE-RESOLUTION: Dependencies map to files as {root}/{type}/{name}, type=folder (tasks/templates/checklists/data/utils), name=file-name.
|
|
7
|
+
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
|
|
9
8
|
activation-instructions:
|
|
10
9
|
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
|
11
10
|
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
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:
|
|
4
4
|
|
|
5
5
|
```yaml
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), or ask for clarification if ambiguous.
|
|
6
|
+
IDE-FILE-RESOLUTION: Dependencies map to files as {root}/{type}/{name}, type=folder (tasks/templates/checklists/data/utils), name=file-name.
|
|
7
|
+
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
|
|
9
8
|
activation-instructions:
|
|
10
9
|
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
|
11
10
|
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|