bmad-method 4.43.0 → 4.44.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.
- package/CONTRIBUTING.md +2 -9
- package/README.md +0 -80
- package/bmad-core/tasks/validate-next-story.md +1 -1
- package/dist/agents/dev.txt +1 -1
- package/dist/agents/po.txt +1 -1
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +1 -1
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +1 -1
- package/dist/expansion-packs/bmad-godot-game-dev/agents/bmad-orchestrator.txt +1513 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-analyst.txt +3190 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-architect.txt +4499 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-designer.txt +3925 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-developer.txt +666 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-pm.txt +2381 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-po.txt +1612 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-qa.txt +1745 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-sm.txt +1208 -0
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-ux-expert.txt +958 -0
- package/dist/expansion-packs/bmad-godot-game-dev/teams/godot-game-team.txt +27721 -0
- package/dist/teams/team-all.txt +1 -1
- package/dist/teams/team-fullstack.txt +1 -1
- package/dist/teams/team-ide-minimal.txt +1 -1
- package/dist/teams/team-no-ui.txt +1 -1
- package/docs/GUIDING-PRINCIPLES.md +3 -3
- package/docs/flattener.md +91 -0
- package/docs/versions.md +1 -1
- package/docs/working-in-the-brownfield.md +15 -6
- package/expansion-packs/bmad-godot-game-dev/README.md +244 -0
- package/expansion-packs/bmad-godot-game-dev/agent-teams/godot-game-team.yaml +18 -0
- package/expansion-packs/bmad-godot-game-dev/agents/bmad-orchestrator.md +147 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-analyst.md +84 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-architect.md +146 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-designer.md +78 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-developer.md +124 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-pm.md +82 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-po.md +115 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-qa.md +160 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-sm.md +66 -0
- package/expansion-packs/bmad-godot-game-dev/agents/game-ux-expert.md +75 -0
- package/expansion-packs/bmad-godot-game-dev/checklists/game-architect-checklist.md +377 -0
- package/expansion-packs/bmad-godot-game-dev/checklists/game-change-checklist.md +250 -0
- package/expansion-packs/bmad-godot-game-dev/checklists/game-design-checklist.md +225 -0
- package/expansion-packs/bmad-godot-game-dev/checklists/game-po-checklist.md +448 -0
- package/expansion-packs/bmad-godot-game-dev/checklists/game-story-dod-checklist.md +202 -0
- package/expansion-packs/bmad-godot-game-dev/config.yaml +30 -0
- package/expansion-packs/bmad-godot-game-dev/data/bmad-kb.md +811 -0
- package/expansion-packs/bmad-godot-game-dev/data/brainstorming-techniques.md +36 -0
- package/expansion-packs/bmad-godot-game-dev/data/development-guidelines.md +893 -0
- package/expansion-packs/bmad-godot-game-dev/data/elicitation-methods.md +156 -0
- package/expansion-packs/bmad-godot-game-dev/data/technical-preferences.md +3 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/advanced-elicitation.md +110 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/apply-qa-fixes.md +224 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/brownfield-create-epic.md +162 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/brownfield-create-story.md +149 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/correct-course-game.md +159 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/create-deep-research-prompt.md +278 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/create-doc.md +103 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/create-game-story.md +202 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/document-project.md +343 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/execute-checklist.md +88 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/facilitate-brainstorming-session.md +136 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/game-brownfield-create-epic.md +160 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/game-brownfield-create-story.md +147 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/game-design-brainstorming.md +290 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/game-risk-profile.md +368 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/game-test-design.md +219 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/generate-ai-frontend-prompt.md +51 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/kb-mode-interaction.md +77 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/review-game-story.md +364 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/shard-doc.md +187 -0
- package/expansion-packs/bmad-godot-game-dev/tasks/validate-game-story.md +208 -0
- package/expansion-packs/bmad-godot-game-dev/templates/brainstorming-output-tmpl.yaml +156 -0
- package/expansion-packs/bmad-godot-game-dev/templates/brownfield-prd-tmpl.yaml +281 -0
- package/expansion-packs/bmad-godot-game-dev/templates/competitor-analysis-tmpl.yaml +306 -0
- package/expansion-packs/bmad-godot-game-dev/templates/game-architecture-tmpl.yaml +1111 -0
- package/expansion-packs/bmad-godot-game-dev/templates/game-brief-tmpl.yaml +356 -0
- package/expansion-packs/bmad-godot-game-dev/templates/game-design-doc-tmpl.yaml +724 -0
- package/expansion-packs/bmad-godot-game-dev/templates/game-prd-tmpl.yaml +209 -0
- package/expansion-packs/bmad-godot-game-dev/templates/game-qa-gate-tmpl.yaml +186 -0
- package/expansion-packs/bmad-godot-game-dev/templates/game-story-tmpl.yaml +406 -0
- package/expansion-packs/bmad-godot-game-dev/templates/game-ui-spec-tmpl.yaml +601 -0
- package/expansion-packs/bmad-godot-game-dev/templates/level-design-doc-tmpl.yaml +620 -0
- package/expansion-packs/bmad-godot-game-dev/templates/market-research-tmpl.yaml +418 -0
- package/expansion-packs/bmad-godot-game-dev/utils/bmad-doc-template.md +327 -0
- package/expansion-packs/bmad-godot-game-dev/utils/workflow-management.md +71 -0
- package/expansion-packs/bmad-godot-game-dev/workflows/game-dev-greenfield.yaml +245 -0
- package/expansion-packs/bmad-godot-game-dev/workflows/game-prototype.yaml +213 -0
- package/package.json +1 -1
- package/release_notes.md +11 -2
- package/tools/flattener/ignoreRules.js +2 -0
- package/tools/installer/bin/bmad.js +2 -1
- package/tools/installer/config/install.config.yaml +16 -7
- package/tools/installer/lib/ide-setup.js +192 -80
- package/tools/installer/package.json +1 -1
- package/tools/upgraders/v3-to-v4-upgrader.js +1 -0
- package/test.md +0 -1
- /package/{implement-fork-friendly-ci.sh → tools/implement-fork-friendly-ci.sh} +0 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
3
|
+
# game-test-design
|
|
4
|
+
|
|
5
|
+
Create comprehensive Godot game test scenarios using GUT (GDScript) or GoDotTest/GodotTestDriver (C#) with appropriate test level recommendations for game feature implementation.
|
|
6
|
+
|
|
7
|
+
## Inputs
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
required:
|
|
11
|
+
- story_id: '{epic}.{story}' # e.g., "1.3"
|
|
12
|
+
- story_path: '{devStoryLocation}/{epic}.{story}.*.md' # Path from core-config.yaml
|
|
13
|
+
- story_title: '{title}' # If missing, derive from story file H1
|
|
14
|
+
- story_slug: '{slug}' # If missing, derive from title (lowercase, hyphenated)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Purpose
|
|
18
|
+
|
|
19
|
+
Design a complete Godot game test strategy that identifies what to test, at which level (unit/integration/playtesting), and which testing framework to use (GUT for GDScript, GoDotTest/GodotTestDriver for C#). This ensures efficient test coverage for game mechanics, systems, and player experience while maintaining appropriate test boundaries.
|
|
20
|
+
|
|
21
|
+
## Dependencies
|
|
22
|
+
|
|
23
|
+
```yaml
|
|
24
|
+
data:
|
|
25
|
+
- game-test-levels-framework.md # Unit/Integration/Playtesting decision criteria
|
|
26
|
+
- game-test-priorities-matrix.md # P0/P1/P2/P3 classification for game features
|
|
27
|
+
frameworks:
|
|
28
|
+
gdscript:
|
|
29
|
+
- GUT (Godot Unit Test) # Native GDScript testing framework
|
|
30
|
+
csharp:
|
|
31
|
+
- GoDotTest # xUnit-based testing for C#
|
|
32
|
+
- GodotTestDriver # UI automation and integration testing
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Godot Testing Frameworks
|
|
36
|
+
|
|
37
|
+
### GUT (Godot Unit Test) - GDScript
|
|
38
|
+
|
|
39
|
+
- **Best for**: Game logic, state machines, inventory systems, damage calculations
|
|
40
|
+
- **Setup**: Install via AssetLib or GitHub
|
|
41
|
+
- **Test location**: `res://tests/unit/`
|
|
42
|
+
- **Example**: Testing player health system, weapon damage modifiers
|
|
43
|
+
|
|
44
|
+
### GoDotTest - C#
|
|
45
|
+
|
|
46
|
+
- **Best for**: C# game systems, complex algorithms, data structures
|
|
47
|
+
- **Setup**: NuGet package with xUnit integration
|
|
48
|
+
- **Test location**: `tests/` directory in project root
|
|
49
|
+
- **Example**: Testing procedural generation, AI decision trees
|
|
50
|
+
|
|
51
|
+
### GodotTestDriver - C#
|
|
52
|
+
|
|
53
|
+
- **Best for**: UI automation, integration testing, scene transitions
|
|
54
|
+
- **Setup**: NuGet package for UI testing
|
|
55
|
+
- **Test location**: `tests/integration/`
|
|
56
|
+
- **Example**: Testing menu navigation, save/load flows, multiplayer lobbies
|
|
57
|
+
|
|
58
|
+
## Process
|
|
59
|
+
|
|
60
|
+
### 1. Analyze Story Requirements
|
|
61
|
+
|
|
62
|
+
Break down each acceptance criterion into testable game scenarios. For each AC:
|
|
63
|
+
|
|
64
|
+
- Identify the core game mechanic or system to test
|
|
65
|
+
- Determine input variations (controls, player actions)
|
|
66
|
+
- Consider edge cases (collision boundaries, resource limits)
|
|
67
|
+
- Note platform-specific behaviors
|
|
68
|
+
- Identify performance requirements (FPS, memory)
|
|
69
|
+
|
|
70
|
+
### 2. Apply Game Test Level Framework
|
|
71
|
+
|
|
72
|
+
**Reference:** Load `game-test-levels-framework.md` for detailed criteria
|
|
73
|
+
|
|
74
|
+
Quick rules for Godot:
|
|
75
|
+
|
|
76
|
+
- **Unit Tests (GUT/GoDotTest)**: Game logic, damage calculations, inventory systems, state machines
|
|
77
|
+
- **Integration Tests (GUT/GodotTestDriver)**: Scene interactions, signal connections, save/load, physics
|
|
78
|
+
- **Playtesting**: Full gameplay loops, difficulty balance, fun factor, performance on target hardware
|
|
79
|
+
|
|
80
|
+
### 3. Assign Priorities
|
|
81
|
+
|
|
82
|
+
**Reference:** Load `test-priorities-matrix.md` for classification
|
|
83
|
+
|
|
84
|
+
Quick priority assignment for games:
|
|
85
|
+
|
|
86
|
+
- **P0**: Game-breaking bugs, save corruption, core mechanics, progression blockers
|
|
87
|
+
- **P1**: Combat systems, player movement, UI responsiveness, multiplayer sync
|
|
88
|
+
- **P2**: Visual effects, audio, achievements, secondary mechanics
|
|
89
|
+
- **P3**: Cosmetics, easter eggs, optional content
|
|
90
|
+
|
|
91
|
+
### 4. Design Test Scenarios
|
|
92
|
+
|
|
93
|
+
For each identified test need, create:
|
|
94
|
+
|
|
95
|
+
```yaml
|
|
96
|
+
test_scenario:
|
|
97
|
+
id: '{epic}.{story}-{LEVEL}-{SEQ}'
|
|
98
|
+
requirement: 'AC reference'
|
|
99
|
+
priority: P0|P1|P2|P3
|
|
100
|
+
level: unit|integration|playtest
|
|
101
|
+
framework: GUT|GoDotTest|GodotTestDriver|Manual
|
|
102
|
+
description: 'What game feature/mechanic is being tested'
|
|
103
|
+
justification: 'Why this level and framework were chosen'
|
|
104
|
+
test_scene: 'res://tests/{TestSceneName}.tscn' # For automated tests
|
|
105
|
+
mitigates_risks: ['PERF-001', 'GAME-002'] # From risk profile
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### 5. Validate Coverage
|
|
109
|
+
|
|
110
|
+
Ensure:
|
|
111
|
+
|
|
112
|
+
- Every AC has at least one test
|
|
113
|
+
- No duplicate coverage across levels
|
|
114
|
+
- Critical paths have multiple levels
|
|
115
|
+
- Risk mitigations are addressed
|
|
116
|
+
|
|
117
|
+
## Outputs
|
|
118
|
+
|
|
119
|
+
### Output 1: Test Design Document
|
|
120
|
+
|
|
121
|
+
**Save to:** `qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md`
|
|
122
|
+
|
|
123
|
+
```markdown
|
|
124
|
+
# Test Design: Story {epic}.{story}
|
|
125
|
+
|
|
126
|
+
Date: {date}
|
|
127
|
+
Designer: Quinn (Game Test Architect)
|
|
128
|
+
|
|
129
|
+
## Game Test Strategy Overview
|
|
130
|
+
|
|
131
|
+
- Total test scenarios: X
|
|
132
|
+
- Unit tests (GUT/GoDotTest): Y (A%)
|
|
133
|
+
- Integration tests (GodotTestDriver): Z (B%)
|
|
134
|
+
- Playtesting scenarios: W (C%)
|
|
135
|
+
- Framework distribution: GUT: X%, GoDotTest: Y%, Manual: Z%
|
|
136
|
+
- Priority distribution: P0: X, P1: Y, P2: Z
|
|
137
|
+
|
|
138
|
+
## Test Scenarios by Acceptance Criteria
|
|
139
|
+
|
|
140
|
+
### AC1: {description}
|
|
141
|
+
|
|
142
|
+
#### Scenarios
|
|
143
|
+
|
|
144
|
+
| ID | Level | Framework | Priority | Test | Justification |
|
|
145
|
+
| ------------ | ----------- | --------- | -------- | ----------------------------- | ---------------------------- |
|
|
146
|
+
| 1.3-UNIT-001 | Unit | GUT | P0 | Player damage calculation | Core combat logic |
|
|
147
|
+
| 1.3-INT-001 | Integration | GoDotTest | P0 | Enemy AI pathfinding | NavigationAgent2D behavior |
|
|
148
|
+
| 1.3-PLAY-001 | Playtest | Manual | P1 | Boss fight difficulty balance | Player experience validation |
|
|
149
|
+
|
|
150
|
+
[Continue for all ACs...]
|
|
151
|
+
|
|
152
|
+
## Risk Coverage
|
|
153
|
+
|
|
154
|
+
[Map test scenarios to identified risks if risk profile exists]
|
|
155
|
+
|
|
156
|
+
## Recommended Execution Order
|
|
157
|
+
|
|
158
|
+
1. P0 Unit tests (fail fast)
|
|
159
|
+
2. P0 Integration tests
|
|
160
|
+
3. P0 E2E tests
|
|
161
|
+
4. P1 tests in order
|
|
162
|
+
5. P2+ as time permits
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Output 2: Gate YAML Block
|
|
166
|
+
|
|
167
|
+
Generate for inclusion in quality gate:
|
|
168
|
+
|
|
169
|
+
```yaml
|
|
170
|
+
test_design:
|
|
171
|
+
scenarios_total: X
|
|
172
|
+
by_level:
|
|
173
|
+
unit: Y
|
|
174
|
+
integration: Z
|
|
175
|
+
playtest: W
|
|
176
|
+
by_framework:
|
|
177
|
+
gut: A
|
|
178
|
+
godottest: B
|
|
179
|
+
testdriver: C
|
|
180
|
+
manual: D
|
|
181
|
+
by_priority:
|
|
182
|
+
p0: A
|
|
183
|
+
p1: B
|
|
184
|
+
p2: C
|
|
185
|
+
coverage_gaps: [] # List any ACs without tests
|
|
186
|
+
performance_tests: [] # FPS, memory, load time tests
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Output 3: Trace References
|
|
190
|
+
|
|
191
|
+
Print for use by trace-requirements task:
|
|
192
|
+
|
|
193
|
+
```text
|
|
194
|
+
Test design matrix: qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md
|
|
195
|
+
P0 tests identified: {count}
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
## Game Testing Quality Checklist
|
|
199
|
+
|
|
200
|
+
Before finalizing, verify:
|
|
201
|
+
|
|
202
|
+
- [ ] Every AC has test coverage
|
|
203
|
+
- [ ] Test frameworks match language (GUT for GDScript, GoDotTest for C#)
|
|
204
|
+
- [ ] Physics and collision tests use proper test scenes
|
|
205
|
+
- [ ] Performance tests target minimum spec hardware
|
|
206
|
+
- [ ] Multiplayer tests cover desync scenarios
|
|
207
|
+
- [ ] Save/load tests verify data integrity
|
|
208
|
+
- [ ] Platform-specific tests for each export target
|
|
209
|
+
- [ ] Test scenes are properly organized in res://tests/
|
|
210
|
+
|
|
211
|
+
## Key Game Testing Principles
|
|
212
|
+
|
|
213
|
+
- **Shift left**: Test game logic early with GUT/GoDotTest before full integration
|
|
214
|
+
- **Performance first**: Profile early and often, test on min spec
|
|
215
|
+
- **Player experience**: Balance automated tests with human playtesting
|
|
216
|
+
- **Framework selection**: GUT for GDScript game logic, GoDotTest for C# systems, GodotTestDriver for UI
|
|
217
|
+
- **Scene isolation**: Test components in minimal scenes to reduce dependencies
|
|
218
|
+
- **Fast feedback**: Unit tests in CI/CD, integration tests nightly, playtests per sprint
|
|
219
|
+
- **Platform coverage**: Test exports on all target platforms regularly
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Create AI Frontend Prompt Task
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
To generate a masterful, comprehensive, and optimized prompt that can be used with any AI-driven frontend development tool (e.g., Vercel v0, Lovable.ai, or similar) to scaffold or generate significant portions of a frontend application.
|
|
6
|
+
|
|
7
|
+
## Inputs
|
|
8
|
+
|
|
9
|
+
- Completed UI/UX Specification (`front-end-spec.md`)
|
|
10
|
+
- Completed Frontend Architecture Document (`front-end-architecture`) or a full stack combined architecture such as `architecture.md`
|
|
11
|
+
- Main System Architecture Document (`architecture` - for API contracts and tech stack to give further context)
|
|
12
|
+
|
|
13
|
+
## Key Activities & Instructions
|
|
14
|
+
|
|
15
|
+
### 1. Core Prompting Principles
|
|
16
|
+
|
|
17
|
+
Before generating the prompt, you must understand these core principles for interacting with a generative AI for code.
|
|
18
|
+
|
|
19
|
+
- **Be Explicit and Detailed**: The AI cannot read your mind. Provide as much detail and context as possible. Vague requests lead to generic or incorrect outputs.
|
|
20
|
+
- **Iterate, Don't Expect Perfection**: Generating an entire complex application in one go is rare. The most effective method is to prompt for one component or one section at a time, then build upon the results.
|
|
21
|
+
- **Provide Context First**: Always start by providing the AI with the necessary context, such as the tech stack, existing code snippets, and overall project goals.
|
|
22
|
+
- **Mobile-First Approach**: Frame all UI generation requests with a mobile-first design mindset. Describe the mobile layout first, then provide separate instructions for how it should adapt for tablet and desktop.
|
|
23
|
+
|
|
24
|
+
### 2. The Structured Prompting Framework
|
|
25
|
+
|
|
26
|
+
To ensure the highest quality output, you MUST structure every prompt using the following four-part framework.
|
|
27
|
+
|
|
28
|
+
1. **High-Level Goal**: Start with a clear, concise summary of the overall objective. This orients the AI on the primary task.
|
|
29
|
+
- _Example: "Create a responsive user registration form with client-side validation and API integration."_
|
|
30
|
+
2. **Detailed, Step-by-Step Instructions**: Provide a granular, numbered list of actions the AI should take. Break down complex tasks into smaller, sequential steps. This is the most critical part of the prompt.
|
|
31
|
+
- _Example: "1. Create a new file named `RegistrationForm.js`. 2. Use React hooks for state management. 3. Add styled input fields for 'Name', 'Email', and 'Password'. 4. For the email field, ensure it is a valid email format. 5. On submission, call the API endpoint defined below."_
|
|
32
|
+
3. **Code Examples, Data Structures & Constraints**: Include any relevant snippets of existing code, data structures, or API contracts. This gives the AI concrete examples to work with. Crucially, you must also state what _not_ to do.
|
|
33
|
+
- _Example: "Use this API endpoint: `POST /api/register`. The expected JSON payload is `{ "name": "string", "email": "string", "password": "string" }`. Do NOT include a 'confirm password' field. Use Tailwind CSS for all styling."_
|
|
34
|
+
4. **Define a Strict Scope**: Explicitly define the boundaries of the task. Tell the AI which files it can modify and, more importantly, which files to leave untouched to prevent unintended changes across the codebase.
|
|
35
|
+
- _Example: "You should only create the `RegistrationForm.js` component and add it to the `pages/register.js` file. Do NOT alter the `Navbar.js` component or any other existing page or component."_
|
|
36
|
+
|
|
37
|
+
### 3. Assembling the Master Prompt
|
|
38
|
+
|
|
39
|
+
You will now synthesize the inputs and the above principles into a final, comprehensive prompt.
|
|
40
|
+
|
|
41
|
+
1. **Gather Foundational Context**:
|
|
42
|
+
- Start the prompt with a preamble describing the overall project purpose, the full tech stack (e.g., Next.js, TypeScript, Tailwind CSS), and the primary UI component library being used.
|
|
43
|
+
2. **Describe the Visuals**:
|
|
44
|
+
- If the user has design files (Figma, etc.), instruct them to provide links or screenshots.
|
|
45
|
+
- If not, describe the visual style: color palette, typography, spacing, and overall aesthetic (e.g., "minimalist", "corporate", "playful").
|
|
46
|
+
3. **Build the Prompt using the Structured Framework**:
|
|
47
|
+
- Follow the four-part framework from Section 2 to build out the core request, whether it's for a single component or a full page.
|
|
48
|
+
4. **Present and Refine**:
|
|
49
|
+
- Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
|
|
50
|
+
- Explain the structure of the prompt and why certain information was included, referencing the principles above.
|
|
51
|
+
- <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>
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
3
|
+
# KB Mode Interaction Task
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Provide a user-friendly interface to the BMad knowledge base without overwhelming users with information upfront.
|
|
8
|
+
|
|
9
|
+
## Instructions
|
|
10
|
+
|
|
11
|
+
When entering KB mode (\*kb-mode), follow these steps:
|
|
12
|
+
|
|
13
|
+
### 1. Welcome and Guide
|
|
14
|
+
|
|
15
|
+
Announce entering KB mode with a brief, friendly introduction.
|
|
16
|
+
|
|
17
|
+
### 2. Present Topic Areas
|
|
18
|
+
|
|
19
|
+
Offer a concise list of main topic areas the user might want to explore:
|
|
20
|
+
|
|
21
|
+
**What would you like to know more about?**
|
|
22
|
+
|
|
23
|
+
1. **Setup & Installation** - Getting started with BMad
|
|
24
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
25
|
+
3. **Web vs IDE** - When to use each environment
|
|
26
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
27
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
28
|
+
6. **Agile Process** - How BMad implements Agile methodologies
|
|
29
|
+
7. **Configuration** - Customizing BMad for your needs
|
|
30
|
+
8. **Best Practices** - Tips for effective BMad usage
|
|
31
|
+
|
|
32
|
+
Or ask me about anything else related to BMad-Method!
|
|
33
|
+
|
|
34
|
+
### 3. Respond Contextually
|
|
35
|
+
|
|
36
|
+
- Wait for user's specific question or topic selection
|
|
37
|
+
- Provide focused, relevant information from the knowledge base
|
|
38
|
+
- Offer to dive deeper or explore related topics
|
|
39
|
+
- Keep responses concise unless user asks for detailed explanations
|
|
40
|
+
|
|
41
|
+
### 4. Interactive Exploration
|
|
42
|
+
|
|
43
|
+
- After answering, suggest related topics they might find helpful
|
|
44
|
+
- Maintain conversational flow rather than data dumping
|
|
45
|
+
- Use examples when appropriate
|
|
46
|
+
- Reference specific documentation sections when relevant
|
|
47
|
+
|
|
48
|
+
### 5. Exit Gracefully
|
|
49
|
+
|
|
50
|
+
When user is done or wants to exit KB mode:
|
|
51
|
+
|
|
52
|
+
- Summarize key points discussed if helpful
|
|
53
|
+
- Remind them they can return to KB mode anytime with \*kb-mode
|
|
54
|
+
- Suggest next steps based on what was discussed
|
|
55
|
+
|
|
56
|
+
## Example Interaction
|
|
57
|
+
|
|
58
|
+
**User**: \*kb-mode
|
|
59
|
+
|
|
60
|
+
**Assistant**: I've entered KB mode and have access to the full BMad knowledge base. I can help you with detailed information about any aspect of BMad-Method.
|
|
61
|
+
|
|
62
|
+
**What would you like to know more about?**
|
|
63
|
+
|
|
64
|
+
1. **Setup & Installation** - Getting started with BMad
|
|
65
|
+
2. **Workflows** - Choosing the right workflow for your project
|
|
66
|
+
3. **Web vs IDE** - When to use each environment
|
|
67
|
+
4. **Agents** - Understanding specialized agents and their roles
|
|
68
|
+
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
69
|
+
6. **Agile Process** - How BMad implements Agile methodologies
|
|
70
|
+
7. **Configuration** - Customizing BMad for your needs
|
|
71
|
+
8. **Best Practices** - Tips for effective BMad usage
|
|
72
|
+
|
|
73
|
+
Or ask me about anything else related to BMad-Method!
|
|
74
|
+
|
|
75
|
+
**User**: Tell me about workflows
|
|
76
|
+
|
|
77
|
+
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|