bmad-method 6.0.4 → 6.0.5-next.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/.augment/code_review_guidelines.yaml +2 -42
- package/.claude/skills/bmad-os-findings-triage/SKILL.md +6 -0
- package/.claude/skills/bmad-os-findings-triage/prompts/agent-prompt.md +104 -0
- package/.claude/skills/bmad-os-findings-triage/prompts/instructions.md +286 -0
- package/.claude/skills/bmad-os-review-pr/SKILL.md +1 -1
- package/.claude/skills/bmad-os-review-pr/prompts/instructions.md +63 -6
- package/.claude/skills/bmad-os-review-prompt/SKILL.md +177 -0
- package/.github/workflows/publish.yaml +243 -0
- package/CONTRIBUTING.md +1 -1
- package/README_CN.md +121 -0
- package/docs/_STYLE_GUIDE.md +10 -10
- package/docs/explanation/brainstorming.md +1 -1
- package/docs/explanation/party-mode.md +1 -1
- package/docs/explanation/preventing-agent-conflicts.md +1 -1
- package/docs/explanation/project-context.md +15 -15
- package/docs/explanation/quick-flow.md +9 -9
- package/docs/how-to/established-projects.md +7 -7
- package/docs/how-to/get-answers-about-bmad.md +2 -2
- package/docs/how-to/install-bmad.md +16 -6
- package/docs/how-to/project-context.md +2 -2
- package/docs/how-to/quick-fixes.md +5 -5
- package/docs/how-to/shard-large-documents.md +1 -1
- package/docs/how-to/upgrade-to-v6.md +8 -5
- package/docs/index.md +1 -1
- package/docs/reference/agents.md +14 -14
- package/docs/reference/commands.md +64 -70
- package/docs/reference/testing.md +1 -1
- package/docs/reference/workflow-map.md +19 -19
- package/docs/tutorials/getting-started.md +34 -34
- package/docs/zh-cn/404.md +9 -0
- package/docs/zh-cn/_STYLE_GUIDE.md +370 -0
- package/docs/zh-cn/explanation/advanced-elicitation.md +62 -0
- package/docs/zh-cn/explanation/adversarial-review.md +71 -0
- package/docs/zh-cn/explanation/brainstorming.md +43 -0
- package/docs/zh-cn/explanation/established-projects-faq.md +60 -0
- package/docs/zh-cn/explanation/party-mode.md +79 -0
- package/docs/zh-cn/explanation/preventing-agent-conflicts.md +137 -0
- package/docs/zh-cn/explanation/project-context.md +176 -0
- package/docs/zh-cn/explanation/quick-flow.md +93 -0
- package/docs/zh-cn/explanation/why-solutioning-matters.md +90 -0
- package/docs/zh-cn/how-to/customize-bmad.md +182 -0
- package/docs/zh-cn/how-to/established-projects.md +134 -0
- package/docs/zh-cn/how-to/get-answers-about-bmad.md +144 -0
- package/docs/zh-cn/how-to/install-bmad.md +105 -0
- package/docs/zh-cn/how-to/non-interactive-installation.md +181 -0
- package/docs/zh-cn/how-to/project-context.md +152 -0
- package/docs/zh-cn/how-to/quick-fixes.md +140 -0
- package/docs/zh-cn/how-to/shard-large-documents.md +86 -0
- package/docs/zh-cn/how-to/upgrade-to-v6.md +120 -0
- package/docs/zh-cn/index.md +69 -0
- package/docs/zh-cn/reference/agents.md +41 -0
- package/docs/zh-cn/reference/commands.md +166 -0
- package/docs/zh-cn/reference/modules.md +94 -0
- package/docs/zh-cn/reference/testing.md +122 -0
- package/docs/zh-cn/reference/workflow-map.md +104 -0
- package/docs/zh-cn/roadmap.mdx +152 -0
- package/docs/zh-cn/tutorials/getting-started.md +300 -0
- package/package.json +1 -1
- package/src/bmm/agents/analyst.agent.yaml +1 -1
- package/src/bmm/agents/bmad-skill-manifest.yaml +39 -0
- package/src/bmm/agents/dev.agent.yaml +2 -2
- package/src/bmm/agents/pm.agent.yaml +1 -1
- package/src/bmm/agents/qa.agent.yaml +1 -1
- package/src/bmm/agents/quick-flow-solo-dev.agent.yaml +6 -2
- package/src/bmm/agents/sm.agent.yaml +4 -4
- package/src/bmm/agents/tech-writer/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/agents/tech-writer/tech-writer.agent.yaml +1 -1
- package/src/bmm/module-help.csv +11 -10
- package/src/bmm/workflows/1-analysis/create-product-brief/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +1 -1
- package/src/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +1 -1
- package/src/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +1 -1
- package/src/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +1 -1
- package/src/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +1 -1
- package/src/bmm/workflows/1-analysis/research/bmad-skill-manifest.yaml +14 -0
- package/src/bmm/workflows/2-plan-workflows/create-prd/bmad-skill-manifest.yaml +14 -0
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02-discovery.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02b-vision.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02c-executive-summary.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-03-success.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-04-journeys.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-05-domain.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-06-innovation.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-07-project-type.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-08-scoping.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-09-functional.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-10-nonfunctional.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01-discovery.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-02-review.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +1 -1
- package/src/bmm/workflows/3-solutioning/check-implementation-readiness/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +1 -1
- package/src/bmm/workflows/3-solutioning/create-architecture/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +2 -2
- package/src/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +2 -2
- package/src/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +2 -2
- package/src/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +2 -2
- package/src/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +2 -2
- package/src/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +2 -2
- package/src/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +1 -1
- package/src/bmm/workflows/3-solutioning/create-epics-and-stories/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +1 -1
- package/src/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +1 -1
- package/src/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +1 -1
- package/src/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +2 -2
- package/src/bmm/workflows/4-implementation/code-review/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/4-implementation/code-review/discover-inputs.md +88 -0
- package/src/bmm/workflows/4-implementation/code-review/workflow.md +271 -0
- package/src/bmm/workflows/4-implementation/correct-course/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
- package/src/bmm/workflows/4-implementation/correct-course/{instructions.md → workflow.md} +79 -12
- package/src/bmm/workflows/4-implementation/create-story/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/4-implementation/create-story/checklist.md +9 -10
- package/src/bmm/workflows/4-implementation/create-story/discover-inputs.md +88 -0
- package/src/bmm/workflows/4-implementation/create-story/workflow.md +388 -0
- package/src/bmm/workflows/4-implementation/dev-story/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/4-implementation/dev-story/{instructions.xml → workflow.md} +49 -2
- package/src/bmm/workflows/4-implementation/retrospective/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/4-implementation/retrospective/{instructions.md → workflow.md} +64 -23
- package/src/bmm/workflows/4-implementation/sprint-planning/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +1 -0
- package/src/bmm/workflows/4-implementation/sprint-planning/{instructions.md → workflow.md} +55 -10
- package/src/bmm/workflows/4-implementation/sprint-status/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/4-implementation/sprint-status/{instructions.md → workflow.md} +45 -8
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/SKILL.md +6 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/bmad-skill-manifest.yaml +1 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-01-clarify-and-route.md +54 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-02-plan.md +39 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md +35 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md +55 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md +19 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/tech-spec-template.md +90 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/workflow.md +84 -0
- package/src/bmm/workflows/bmad-quick-flow/quick-dev/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +8 -14
- package/src/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +1 -1
- package/src/bmm/workflows/bmad-quick-flow/quick-spec/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +4 -6
- package/src/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +1 -1
- package/src/bmm/workflows/document-project/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/document-project/instructions.md +5 -7
- package/src/bmm/workflows/document-project/workflow.md +39 -0
- package/src/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -1
- package/src/bmm/workflows/document-project/workflows/deep-dive-workflow.md +42 -0
- package/src/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1
- package/src/bmm/workflows/document-project/workflows/full-scan-workflow.md +42 -0
- package/src/bmm/workflows/generate-project-context/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/generate-project-context/steps/step-02-generate.md +2 -2
- package/src/bmm/workflows/qa-generate-e2e-tests/bmad-skill-manifest.yaml +3 -0
- package/src/bmm/workflows/qa-generate-e2e-tests/checklist.md +1 -1
- package/src/bmm/workflows/qa-generate-e2e-tests/{instructions.md → workflow.md} +40 -7
- package/src/core/agents/bmad-master.agent.yaml +1 -1
- package/src/core/agents/bmad-skill-manifest.yaml +3 -0
- package/src/core/module-help.csv +3 -3
- package/src/core/module.yaml +1 -1
- package/src/core/tasks/bmad-help/SKILL.md +6 -0
- package/src/core/tasks/bmad-help/bmad-skill-manifest.yaml +1 -0
- package/src/core/tasks/{help.md → bmad-help/workflow.md} +6 -4
- package/src/core/tasks/bmad-review-adversarial-general/SKILL.md +6 -0
- package/src/core/tasks/bmad-review-adversarial-general/bmad-skill-manifest.yaml +1 -0
- package/src/core/tasks/bmad-review-adversarial-general/workflow.md +32 -0
- package/src/core/tasks/bmad-review-edge-case-hunter/SKILL.md +6 -0
- package/src/core/tasks/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml +1 -0
- package/src/core/tasks/bmad-review-edge-case-hunter/workflow.md +62 -0
- package/src/core/tasks/bmad-skill-manifest.yaml +19 -0
- package/src/core/workflows/advanced-elicitation/bmad-skill-manifest.yaml +3 -0
- package/src/core/workflows/advanced-elicitation/workflow.md +138 -0
- package/src/core/workflows/brainstorming/bmad-skill-manifest.yaml +3 -0
- package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +1 -1
- package/src/core/workflows/brainstorming/workflow.md +1 -1
- package/src/core/workflows/party-mode/bmad-skill-manifest.yaml +3 -0
- package/src/utility/agent-components/activation-steps.txt +2 -2
- package/src/utility/agent-components/handler-multi.txt +1 -2
- package/test/adversarial-review-tests/README.md +3 -3
- package/test/adversarial-review-tests/test-cases.yaml +2 -2
- package/test/fixtures/agent-schema/valid/menu/multiple-menu-items.agent.yaml +1 -1
- package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -1
- package/test/fixtures/agent-schema/valid/menu-commands/multiple-commands.agent.yaml +1 -2
- package/test/fixtures/file-refs-csv/valid/bmm-style.csv +1 -1
- package/test/test-file-refs-csv.js +1 -1
- package/test/test-install-to-bmad.js +154 -0
- package/test/test-installation-components.js +1586 -2
- package/test/test-workflow-path-regex.js +88 -0
- package/tools/cli/installers/lib/core/installer.js +34 -1
- package/tools/cli/installers/lib/core/manifest-generator.js +328 -35
- package/tools/cli/installers/lib/ide/_base-ide.js +24 -15
- package/tools/cli/installers/lib/ide/_config-driven.js +472 -53
- package/tools/cli/installers/lib/ide/manager.js +23 -61
- package/tools/cli/installers/lib/ide/platform-codes.yaml +108 -30
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +1 -0
- package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +7 -0
- package/tools/cli/installers/lib/ide/shared/path-utils.js +68 -3
- package/tools/cli/installers/lib/ide/shared/skill-manifest.js +90 -0
- package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +2 -0
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +6 -145
- package/tools/cli/installers/lib/modules/manager.js +9 -132
- package/tools/cli/lib/agent/compiler.js +1 -10
- package/tools/cli/lib/agent-analyzer.js +2 -14
- package/tools/cli/lib/yaml-xml-builder.js +1 -18
- package/tools/docs/native-skills-migration-checklist.md +281 -0
- package/tools/platform-codes.yaml +1 -1
- package/tools/schema/agent.js +1 -3
- package/tools/validate-file-refs.js +2 -0
- package/website/astro.config.mjs +24 -3
- package/website/src/content/config.ts +2 -1
- package/website/src/content/i18n/zh-CN.json +28 -0
- package/src/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
- package/src/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -43
- package/src/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -53
- package/src/bmm/workflows/4-implementation/create-story/instructions.xml +0 -346
- package/src/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -52
- package/src/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -20
- package/src/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -52
- package/src/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
- package/src/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -25
- package/src/bmm/workflows/document-project/workflow.yaml +0 -22
- package/src/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
- package/src/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
- package/src/bmm/workflows/qa-generate-e2e-tests/workflow.yaml +0 -42
- package/src/core/tasks/review-adversarial-general.xml +0 -49
- package/src/core/tasks/review-edge-case-hunter.xml +0 -63
- package/src/core/tasks/workflow.xml +0 -235
- package/src/core/workflows/advanced-elicitation/workflow.xml +0 -118
- package/src/utility/agent-components/handler-validate-workflow.txt +0 -7
- package/src/utility/agent-components/handler-workflow.txt +0 -10
- package/tools/cli/installers/lib/ide/codex.js +0 -440
- package/tools/cli/installers/lib/ide/github-copilot.js +0 -699
- package/tools/cli/installers/lib/ide/kilo.js +0 -269
- package/tools/cli/installers/lib/ide/rovodev.js +0 -257
- package/tools/cli/installers/lib/ide/templates/combined/default-workflow-yaml.md +0 -14
- package/tools/cli/installers/lib/ide/templates/combined/kiro-workflow-yaml.md +0 -15
- package/tools/cli/installers/lib/ide/templates/workflow-command-template.md +0 -13
- package/tools/cli/installers/lib/ide/templates/workflow-commander.md +0 -5
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: '{title}'
|
|
3
|
+
type: 'feature' # feature | bugfix | refactor | chore
|
|
4
|
+
created: '{date}'
|
|
5
|
+
status: 'draft' # draft | ready-for-dev | in-progress | in-review | done
|
|
6
|
+
context: [] # optional: max 3 project-wide standards/docs. NO source code files.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Target: 900–1300 tokens. Above 1600 = high risk of context rot.
|
|
10
|
+
Never over-specify "how" — use boundaries + examples instead.
|
|
11
|
+
Cohesive cross-layer stories (DB+BE+UI) stay in ONE file.
|
|
12
|
+
IMPORTANT: Remove all HTML comments when filling this template. -->
|
|
13
|
+
|
|
14
|
+
# {title}
|
|
15
|
+
|
|
16
|
+
<frozen-after-approval reason="human-owned intent — do not modify unless human renegotiates">
|
|
17
|
+
|
|
18
|
+
## Intent
|
|
19
|
+
|
|
20
|
+
<!-- What is broken or missing, and why it matters. Then the high-level approach — the "what", not the "how". -->
|
|
21
|
+
|
|
22
|
+
**Problem:** ONE_TO_TWO_SENTENCES
|
|
23
|
+
|
|
24
|
+
**Approach:** ONE_TO_TWO_SENTENCES
|
|
25
|
+
|
|
26
|
+
## Boundaries & Constraints
|
|
27
|
+
|
|
28
|
+
<!-- Three tiers: Always = invariant rules. Ask First = human-gated decisions. Never = out of scope + forbidden approaches. -->
|
|
29
|
+
|
|
30
|
+
**Always:** INVARIANT_RULES
|
|
31
|
+
|
|
32
|
+
**Ask First:** DECISIONS_REQUIRING_HUMAN_APPROVAL
|
|
33
|
+
<!-- Agent: if any of these trigger during execution, HALT and ask the user before proceeding. -->
|
|
34
|
+
|
|
35
|
+
**Never:** NON_GOALS_AND_FORBIDDEN_APPROACHES
|
|
36
|
+
|
|
37
|
+
## I/O & Edge-Case Matrix
|
|
38
|
+
|
|
39
|
+
<!-- If no meaningful I/O scenarios exist, DELETE THIS ENTIRE SECTION. Do not write "N/A" or "None". -->
|
|
40
|
+
|
|
41
|
+
| Scenario | Input / State | Expected Output / Behavior | Error Handling |
|
|
42
|
+
|----------|--------------|---------------------------|----------------|
|
|
43
|
+
| HAPPY_PATH | INPUT | OUTCOME | N/A |
|
|
44
|
+
| ERROR_CASE | INPUT | OUTCOME | ERROR_HANDLING |
|
|
45
|
+
|
|
46
|
+
</frozen-after-approval>
|
|
47
|
+
|
|
48
|
+
## Code Map
|
|
49
|
+
|
|
50
|
+
<!-- Agent-populated during planning. Annotated paths prevent blind codebase searching. -->
|
|
51
|
+
|
|
52
|
+
- `FILE` -- ROLE_OR_RELEVANCE
|
|
53
|
+
- `FILE` -- ROLE_OR_RELEVANCE
|
|
54
|
+
|
|
55
|
+
## Tasks & Acceptance
|
|
56
|
+
|
|
57
|
+
<!-- Tasks: backtick-quoted file path -- action -- rationale. Prefer one task per file; group tightly-coupled changes when splitting would be artificial. -->
|
|
58
|
+
<!-- If an I/O Matrix is present, include a task to unit-test its edge cases. -->
|
|
59
|
+
<!-- AC covers system-level behaviors not captured by the I/O Matrix. Do not duplicate I/O scenarios here. -->
|
|
60
|
+
|
|
61
|
+
**Execution:**
|
|
62
|
+
- [ ] `FILE` -- ACTION -- RATIONALE
|
|
63
|
+
|
|
64
|
+
**Acceptance Criteria:**
|
|
65
|
+
- Given PRECONDITION, when ACTION, then EXPECTED_RESULT
|
|
66
|
+
|
|
67
|
+
## Spec Change Log
|
|
68
|
+
|
|
69
|
+
<!-- Append-only. Populated by step-04 during review loops. Do not modify or delete existing entries.
|
|
70
|
+
Each entry records: what finding triggered the change, what was amended, what known-bad state
|
|
71
|
+
the amendment avoids, and any KEEP instructions (what worked well and must survive re-derivation).
|
|
72
|
+
Empty until the first bad_spec loopback. -->
|
|
73
|
+
|
|
74
|
+
## Design Notes
|
|
75
|
+
|
|
76
|
+
<!-- If the approach is straightforward, DELETE THIS ENTIRE SECTION. Do not write "N/A" or "None". -->
|
|
77
|
+
<!-- Design rationale and golden examples only when non-obvious. Keep examples to 5–10 lines. -->
|
|
78
|
+
|
|
79
|
+
DESIGN_RATIONALE_AND_EXAMPLES
|
|
80
|
+
|
|
81
|
+
## Verification
|
|
82
|
+
|
|
83
|
+
<!-- If no build, test, or lint commands apply, DELETE THIS ENTIRE SECTION. Do not write "N/A" or "None". -->
|
|
84
|
+
<!-- How the agent confirms its own work. Prefer CLI commands. When no CLI check applies, state what to inspect manually. -->
|
|
85
|
+
|
|
86
|
+
**Commands:**
|
|
87
|
+
- `COMMAND` -- expected: SUCCESS_CRITERIA
|
|
88
|
+
|
|
89
|
+
**Manual checks (if no CLI):**
|
|
90
|
+
- WHAT_TO_INSPECT_AND_EXPECTED_STATE
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
main_config: '{project-root}/_bmad/bmm/config.yaml'
|
|
3
|
+
|
|
4
|
+
# Related workflows
|
|
5
|
+
advanced_elicitation: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md'
|
|
6
|
+
party_mode_exec: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Quick Dev New Preview Workflow
|
|
10
|
+
|
|
11
|
+
**Goal:** Take a user request from intent through implementation, adversarial review, and PR creation in a single unified flow.
|
|
12
|
+
|
|
13
|
+
**Your Role:** You are an elite developer. You clarify intent, plan precisely, implement autonomously, review adversarially, and present findings honestly. Minimum ceremony, maximum signal.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## READY FOR DEVELOPMENT STANDARD
|
|
17
|
+
|
|
18
|
+
A specification is "Ready for Development" when:
|
|
19
|
+
|
|
20
|
+
- **Actionable**: Every task has a file path and specific action.
|
|
21
|
+
- **Logical**: Tasks ordered by dependency.
|
|
22
|
+
- **Testable**: All ACs use Given/When/Then.
|
|
23
|
+
- **Complete**: No placeholders or TBDs.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## SCOPE STANDARD
|
|
27
|
+
|
|
28
|
+
A specification should target a **single user-facing goal** within **900–1600 tokens**:
|
|
29
|
+
|
|
30
|
+
- **Single goal**: One cohesive feature, even if it spans multiple layers/files. Multi-goal means >=2 **top-level independent shippable deliverables** — each could be reviewed, tested, and merged as a separate PR without breaking the others. Never count surface verbs, "and" conjunctions, or noun phrases. Never split cross-layer implementation details inside one user goal.
|
|
31
|
+
- Split: "add dark mode toggle AND refactor auth to JWT AND build admin dashboard"
|
|
32
|
+
- Don't split: "add validation and display errors" / "support drag-and-drop AND paste AND retry"
|
|
33
|
+
- **900–1600 tokens**: Optimal range for LLM consumption. Below 900 risks ambiguity; above 1600 risks context-rot in implementation agents.
|
|
34
|
+
- **Neither limit is a gate.** Both are proposals with user override.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## WORKFLOW ARCHITECTURE
|
|
38
|
+
|
|
39
|
+
This uses **step-file architecture** for disciplined execution:
|
|
40
|
+
|
|
41
|
+
- **Micro-file Design**: Each step is self-contained and followed exactly
|
|
42
|
+
- **Just-In-Time Loading**: Only load the current step file
|
|
43
|
+
- **Sequential Enforcement**: Complete steps in order, no skipping
|
|
44
|
+
- **State Tracking**: Persist progress via spec frontmatter and in-memory variables
|
|
45
|
+
- **Append-Only Building**: Build artifacts incrementally
|
|
46
|
+
|
|
47
|
+
### Step Processing Rules
|
|
48
|
+
|
|
49
|
+
1. **READ COMPLETELY**: Read the entire step file before acting
|
|
50
|
+
2. **FOLLOW SEQUENCE**: Execute sections in order
|
|
51
|
+
3. **WAIT FOR INPUT**: Halt at checkpoints and wait for human
|
|
52
|
+
4. **LOAD NEXT**: When directed, read fully and follow the next step file
|
|
53
|
+
|
|
54
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
55
|
+
|
|
56
|
+
- **NEVER** load multiple step files simultaneously
|
|
57
|
+
- **ALWAYS** read entire step file before execution
|
|
58
|
+
- **NEVER** skip steps or optimize the sequence
|
|
59
|
+
- **ALWAYS** follow the exact instructions in the step file
|
|
60
|
+
- **ALWAYS** halt at checkpoints and wait for human input
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## INITIALIZATION SEQUENCE
|
|
64
|
+
|
|
65
|
+
### 1. Configuration Loading
|
|
66
|
+
|
|
67
|
+
Load and read full config from `{main_config}` and resolve:
|
|
68
|
+
|
|
69
|
+
- `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name`
|
|
70
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
71
|
+
- `date` as system-generated current datetime
|
|
72
|
+
- `project_context` = `**/project-context.md` (load if exists)
|
|
73
|
+
- CLAUDE.md / memory files (load if exist)
|
|
74
|
+
|
|
75
|
+
YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`.
|
|
76
|
+
|
|
77
|
+
### 2. Paths
|
|
78
|
+
|
|
79
|
+
- `templateFile` = `./tech-spec-template.md`
|
|
80
|
+
- `wipFile` = `{implementation_artifacts}/tech-spec-wip.md`
|
|
81
|
+
|
|
82
|
+
### 3. First Step Execution
|
|
83
|
+
|
|
84
|
+
Read fully and follow: `./steps/step-01-clarify-and-route.md` to begin the workflow.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 'step-05-adversarial-review'
|
|
3
|
-
description: 'Construct diff and invoke adversarial review
|
|
3
|
+
description: 'Construct diff and invoke adversarial review skill'
|
|
4
4
|
|
|
5
5
|
nextStepFile: './step-06-resolve-findings.md'
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Step 5: Adversarial Code Review
|
|
9
9
|
|
|
10
|
-
**Goal:** Construct diff of all changes, invoke adversarial review
|
|
10
|
+
**Goal:** Construct diff of all changes, invoke adversarial review skill, present findings.
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -57,21 +57,15 @@ Merge all changes into `{diff_output}`.
|
|
|
57
57
|
|
|
58
58
|
### 2. Invoke Adversarial Review
|
|
59
59
|
|
|
60
|
-
With `{diff_output}` constructed,
|
|
60
|
+
With `{diff_output}` constructed, invoke the `bmad-review-adversarial-general` skill. If possible, use information asymmetry: invoke the skill in a separate subagent or process with read access to the project, but no context except the `{diff_output}`.
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
<invoke-task>Review {diff_output} using {project-root}/_bmad/core/tasks/review-adversarial-general.xml</invoke-task>
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
**Platform fallback:** If task invocation not available, load the task file and follow its instructions inline, passing `{diff_output}` as the content.
|
|
67
|
-
|
|
68
|
-
The task should: review `{diff_output}` and return a list of findings.
|
|
62
|
+
Pass `{diff_output}` as the content to review. The skill should return a list of findings.
|
|
69
63
|
|
|
70
64
|
---
|
|
71
65
|
|
|
72
66
|
### 3. Process Findings
|
|
73
67
|
|
|
74
|
-
Capture the findings from the
|
|
68
|
+
Capture the findings from the skill output.
|
|
75
69
|
**If zero findings:** HALT - this is suspicious. Re-analyze or request user guidance.
|
|
76
70
|
Evaluate severity (Critical, High, Medium, Low) and validity (real, noise, undecided).
|
|
77
71
|
DO NOT exclude findings based on severity or validity unless explicitly asked to do so.
|
|
@@ -91,7 +85,7 @@ With findings in hand, read fully and follow: `{project-root}/_bmad/bmm/workflow
|
|
|
91
85
|
|
|
92
86
|
- Diff constructed from baseline_commit
|
|
93
87
|
- New files included in diff
|
|
94
|
-
-
|
|
88
|
+
- Skill invoked with diff as input
|
|
95
89
|
- Findings received
|
|
96
90
|
- Findings processed into TODOs or table and presented to user
|
|
97
91
|
|
|
@@ -99,6 +93,6 @@ With findings in hand, read fully and follow: `{project-root}/_bmad/bmm/workflow
|
|
|
99
93
|
|
|
100
94
|
- Missing baseline_commit (can't construct accurate diff)
|
|
101
95
|
- Not including new untracked files in diff
|
|
102
|
-
- Invoking
|
|
96
|
+
- Invoking skill without providing diff input
|
|
103
97
|
- Accepting zero findings without questioning
|
|
104
|
-
- Presenting fewer findings than the review
|
|
98
|
+
- Presenting fewer findings than the review skill returned without explicit instruction to do so
|
|
@@ -41,7 +41,7 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
|
41
41
|
|
|
42
42
|
- `quick_spec_workflow` = `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md`
|
|
43
43
|
- `party_mode_exec` = `{project-root}/_bmad/core/workflows/party-mode/workflow.md`
|
|
44
|
-
- `advanced_elicitation` = `{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.
|
|
44
|
+
- `advanced_elicitation` = `{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md`
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
@@ -151,14 +151,12 @@ b) **HALT and wait for user selection.**
|
|
|
151
151
|
|
|
152
152
|
#### Adversarial Review [R] Process:
|
|
153
153
|
|
|
154
|
-
1. **Invoke Adversarial Review
|
|
155
|
-
> With `{finalFile}` constructed,
|
|
156
|
-
|
|
157
|
-
> **Platform fallback:** If task invocation not available, load the task file and follow its instructions inline, passing `{finalFile}` as the content.
|
|
158
|
-
> The task should: review `{finalFile}` and return a list of findings.
|
|
154
|
+
1. **Invoke Adversarial Review Skill**:
|
|
155
|
+
> With `{finalFile}` constructed, invoke the `bmad-review-adversarial-general` skill. If possible, use information asymmetry: invoke the skill in a separate subagent or process with read access to the project, but no context except the `{finalFile}`.
|
|
156
|
+
> Pass `{finalFile}` as the content to review. The skill should return a list of findings.
|
|
159
157
|
|
|
160
158
|
2. **Process Findings**:
|
|
161
|
-
> Capture the findings from the
|
|
159
|
+
> Capture the findings from the skill output.
|
|
162
160
|
> **If zero findings:** HALT - this is suspicious. Re-analyze or request user guidance.
|
|
163
161
|
> Evaluate severity (Critical, High, Medium, Low) and validity (real, noise, undecided).
|
|
164
162
|
> DO NOT exclude findings based on severity or validity unless explicitly asked to do so.
|
|
@@ -4,7 +4,7 @@ description: 'Very quick process to create implementation-ready quick specs for
|
|
|
4
4
|
main_config: '{project-root}/_bmad/bmm/config.yaml'
|
|
5
5
|
|
|
6
6
|
# Checkpoint handler paths
|
|
7
|
-
advanced_elicitation: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.
|
|
7
|
+
advanced_elicitation: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md'
|
|
8
8
|
party_mode_exec: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
9
9
|
quick_dev_workflow: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md'
|
|
10
10
|
---
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# Document Project Workflow Router
|
|
2
2
|
|
|
3
|
-
<critical>The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml</critical>
|
|
4
|
-
<critical>You MUST have already loaded and processed: {project-root}/_bmad/bmm/workflows/document-project/workflow.yaml</critical>
|
|
5
3
|
<critical>Communicate all responses in {communication_language}</critical>
|
|
6
4
|
|
|
7
5
|
<workflow>
|
|
@@ -49,11 +47,11 @@
|
|
|
49
47
|
<action>Display: "Resuming {{workflow_mode}} from {{current_step}} with cached project type(s): {{cached_project_types}}"</action>
|
|
50
48
|
|
|
51
49
|
<check if="workflow_mode == deep_dive">
|
|
52
|
-
<action>Read fully and follow: {installed_path}/workflows/deep-dive-
|
|
50
|
+
<action>Read fully and follow: {installed_path}/workflows/deep-dive-workflow.md with resume context</action>
|
|
53
51
|
</check>
|
|
54
52
|
|
|
55
53
|
<check if="workflow_mode == initial_scan OR workflow_mode == full_rescan">
|
|
56
|
-
<action>Read fully and follow: {installed_path}/workflows/full-scan-
|
|
54
|
+
<action>Read fully and follow: {installed_path}/workflows/full-scan-workflow.md with resume context</action>
|
|
57
55
|
</check>
|
|
58
56
|
|
|
59
57
|
</check>
|
|
@@ -100,7 +98,7 @@ Your choice [1/2/3]:
|
|
|
100
98
|
<check if="user selects 1">
|
|
101
99
|
<action>Set workflow_mode = "full_rescan"</action>
|
|
102
100
|
<action>Display: "Starting full project rescan..."</action>
|
|
103
|
-
<action>Read fully and follow: {installed_path}/workflows/full-scan-
|
|
101
|
+
<action>Read fully and follow: {installed_path}/workflows/full-scan-workflow.md</action>
|
|
104
102
|
<action>After sub-workflow completes, continue to Step 4</action>
|
|
105
103
|
</check>
|
|
106
104
|
|
|
@@ -108,7 +106,7 @@ Your choice [1/2/3]:
|
|
|
108
106
|
<action>Set workflow_mode = "deep_dive"</action>
|
|
109
107
|
<action>Set scan_level = "exhaustive"</action>
|
|
110
108
|
<action>Display: "Starting deep-dive documentation mode..."</action>
|
|
111
|
-
<action>Read fully and follow: {installed_path}/workflows/deep-dive-
|
|
109
|
+
<action>Read fully and follow: {installed_path}/workflows/deep-dive-workflow.md</action>
|
|
112
110
|
<action>After sub-workflow completes, continue to Step 4</action>
|
|
113
111
|
</check>
|
|
114
112
|
|
|
@@ -121,7 +119,7 @@ Your choice [1/2/3]:
|
|
|
121
119
|
<check if="index.md does not exist">
|
|
122
120
|
<action>Set workflow_mode = "initial_scan"</action>
|
|
123
121
|
<action>Display: "No existing documentation found. Starting initial project scan..."</action>
|
|
124
|
-
<action>Read fully and follow: {installed_path}/workflows/full-scan-
|
|
122
|
+
<action>Read fully and follow: {installed_path}/workflows/full-scan-workflow.md</action>
|
|
125
123
|
<action>After sub-workflow completes, continue to Step 4</action>
|
|
126
124
|
</check>
|
|
127
125
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: document-project
|
|
3
|
+
description: 'Document brownfield projects for AI context. Use when the user says "document this project" or "generate project docs"'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Document Project Workflow
|
|
7
|
+
|
|
8
|
+
**Goal:** Document brownfield projects for AI context.
|
|
9
|
+
|
|
10
|
+
**Your Role:** Project documentation specialist.
|
|
11
|
+
- Communicate all responses in {communication_language}
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## INITIALIZATION
|
|
16
|
+
|
|
17
|
+
### Configuration Loading
|
|
18
|
+
|
|
19
|
+
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
20
|
+
|
|
21
|
+
- `project_knowledge`
|
|
22
|
+
- `user_name`
|
|
23
|
+
- `communication_language`
|
|
24
|
+
- `document_output_language`
|
|
25
|
+
- `user_skill_level`
|
|
26
|
+
- `date` as system-generated current datetime
|
|
27
|
+
|
|
28
|
+
### Paths
|
|
29
|
+
|
|
30
|
+
- `installed_path` = `{project-root}/_bmad/bmm/workflows/document-project`
|
|
31
|
+
- `instructions` = `{installed_path}/instructions.md`
|
|
32
|
+
- `validation` = `{installed_path}/checklist.md`
|
|
33
|
+
- `documentation_requirements_csv` = `{installed_path}/documentation-requirements.csv`
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## EXECUTION
|
|
38
|
+
|
|
39
|
+
Read fully and follow: `{installed_path}/instructions.md`
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
<workflow>
|
|
4
4
|
|
|
5
5
|
<critical>This workflow performs exhaustive deep-dive documentation of specific areas</critical>
|
|
6
|
-
<critical>Called by: ../document-project/instructions.md router</critical>
|
|
7
6
|
<critical>Handles: deep_dive mode only</critical>
|
|
8
7
|
|
|
9
8
|
<step n="13" goal="Deep-dive documentation of specific area" if="workflow_mode == deep_dive">
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: document-project-deep-dive
|
|
3
|
+
description: 'Exhaustive deep-dive documentation of specific project areas'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Deep-Dive Documentation Sub-Workflow
|
|
7
|
+
|
|
8
|
+
**Goal:** Exhaustive deep-dive documentation of specific project areas.
|
|
9
|
+
|
|
10
|
+
**Your Role:** Deep-dive documentation specialist.
|
|
11
|
+
- Deep-dive mode requires literal full-file review. Sampling, guessing, or relying solely on tooling output is FORBIDDEN.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## INITIALIZATION
|
|
16
|
+
|
|
17
|
+
### Configuration Loading
|
|
18
|
+
|
|
19
|
+
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
20
|
+
|
|
21
|
+
- `project_knowledge`
|
|
22
|
+
- `user_name`
|
|
23
|
+
- `date` as system-generated current datetime
|
|
24
|
+
|
|
25
|
+
### Paths
|
|
26
|
+
|
|
27
|
+
- `installed_path` = `{project-root}/_bmad/bmm/workflows/document-project/workflows`
|
|
28
|
+
- `instructions` = `{installed_path}/deep-dive-instructions.md`
|
|
29
|
+
- `validation` = `{project-root}/_bmad/bmm/workflows/document-project/checklist.md`
|
|
30
|
+
- `deep_dive_template` = `{project-root}/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md`
|
|
31
|
+
|
|
32
|
+
### Runtime Inputs
|
|
33
|
+
|
|
34
|
+
- `workflow_mode` = `deep_dive`
|
|
35
|
+
- `scan_level` = `exhaustive`
|
|
36
|
+
- `autonomous` = `false` (requires user input to select target area)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## EXECUTION
|
|
41
|
+
|
|
42
|
+
Read fully and follow: `{installed_path}/deep-dive-instructions.md`
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
<workflow>
|
|
4
4
|
|
|
5
5
|
<critical>This workflow performs complete project documentation (Steps 1-12)</critical>
|
|
6
|
-
<critical>Called by: document-project/instructions.md router</critical>
|
|
7
6
|
<critical>Handles: initial_scan and full_rescan modes</critical>
|
|
8
7
|
|
|
9
8
|
<step n="0.5" goal="Load documentation requirements data for fresh starts (not needed for resume)" if="resume_mode == false">
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: document-project-full-scan
|
|
3
|
+
description: 'Complete project documentation workflow (initial scan or full rescan)'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Full Project Scan Sub-Workflow
|
|
7
|
+
|
|
8
|
+
**Goal:** Complete project documentation (initial scan or full rescan).
|
|
9
|
+
|
|
10
|
+
**Your Role:** Full project scan documentation specialist.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## INITIALIZATION
|
|
15
|
+
|
|
16
|
+
### Configuration Loading
|
|
17
|
+
|
|
18
|
+
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
19
|
+
|
|
20
|
+
- `project_knowledge`
|
|
21
|
+
- `user_name`
|
|
22
|
+
- `date` as system-generated current datetime
|
|
23
|
+
|
|
24
|
+
### Paths
|
|
25
|
+
|
|
26
|
+
- `installed_path` = `{project-root}/_bmad/bmm/workflows/document-project/workflows`
|
|
27
|
+
- `instructions` = `{installed_path}/full-scan-instructions.md`
|
|
28
|
+
- `validation` = `{project-root}/_bmad/bmm/workflows/document-project/checklist.md`
|
|
29
|
+
- `documentation_requirements_csv` = `{project-root}/_bmad/bmm/workflows/document-project/documentation-requirements.csv`
|
|
30
|
+
|
|
31
|
+
### Runtime Inputs
|
|
32
|
+
|
|
33
|
+
- `workflow_mode` = `""` (set by parent: `initial_scan` or `full_rescan`)
|
|
34
|
+
- `scan_level` = `""` (set by parent: `quick`, `deep`, or `exhaustive`)
|
|
35
|
+
- `resume_mode` = `false`
|
|
36
|
+
- `autonomous` = `false` (requires user input at key decision points)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## EXECUTION
|
|
41
|
+
|
|
42
|
+
Read fully and follow: `{installed_path}/full-scan-instructions.md`
|
|
@@ -29,7 +29,7 @@ This step will generate content and present choices for each rule category:
|
|
|
29
29
|
|
|
30
30
|
## PROTOCOL INTEGRATION:
|
|
31
31
|
|
|
32
|
-
- When 'A' selected: Execute {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.
|
|
32
|
+
- When 'A' selected: Execute {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md
|
|
33
33
|
- When 'P' selected: Execute {project-root}/_bmad/core/workflows/party-mode
|
|
34
34
|
- PROTOCOLS always return to display this step's A/P/C menu after the A or P have completed
|
|
35
35
|
- User accepts/rejects protocol changes before proceeding
|
|
@@ -267,7 +267,7 @@ After each category, show the generated rules and present choices:
|
|
|
267
267
|
|
|
268
268
|
#### If 'A' (Advanced Elicitation):
|
|
269
269
|
|
|
270
|
-
- Execute advanced-elicitation.
|
|
270
|
+
- Execute {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md with current category rules
|
|
271
271
|
- Process enhanced rules that come back
|
|
272
272
|
- Ask user: "Accept these enhanced rules for {{category}}? (y/n)"
|
|
273
273
|
- If yes: Update content, then return to A/P/C menu
|
|
@@ -30,4 +30,4 @@ Run the tests using your project's test command.
|
|
|
30
30
|
|
|
31
31
|
---
|
|
32
32
|
|
|
33
|
-
**Need more comprehensive
|
|
33
|
+
**Need more comprehensive test coverage?** Install [Test Architect (TEA)](https://bmad-code-org.github.io/bmad-method-test-architecture-enterprise/) for advanced workflows.
|
|
@@ -1,10 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: qa-generate-e2e-tests
|
|
3
|
+
description: 'Generate end to end automated tests for existing features. Use when the user says "create qa automated tests for [feature]"'
|
|
4
|
+
---
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
# QA Generate E2E Tests Workflow
|
|
4
7
|
|
|
5
|
-
**
|
|
8
|
+
**Goal:** Generate automated API and E2E tests for implemented code.
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
**Your Role:** You are a QA automation engineer. You generate tests ONLY — no code review or story validation (use Code Review `CR` for that).
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## INITIALIZATION
|
|
15
|
+
|
|
16
|
+
### Configuration Loading
|
|
17
|
+
|
|
18
|
+
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
19
|
+
|
|
20
|
+
- `project_name`, `user_name`
|
|
21
|
+
- `communication_language`, `document_output_language`
|
|
22
|
+
- `implementation_artifacts`
|
|
23
|
+
- `date` as system-generated current datetime
|
|
24
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
25
|
+
|
|
26
|
+
### Paths
|
|
27
|
+
|
|
28
|
+
- `installed_path` = `{project-root}/_bmad/bmm/workflows/qa-generate-e2e-tests`
|
|
29
|
+
- `checklist` = `{installed_path}/checklist.md`
|
|
30
|
+
- `test_dir` = `{project-root}/tests`
|
|
31
|
+
- `source_dir` = `{project-root}`
|
|
32
|
+
- `default_output_file` = `{implementation_artifacts}/tests/test-summary.md`
|
|
33
|
+
|
|
34
|
+
### Context
|
|
35
|
+
|
|
36
|
+
- `project_context` = `**/project-context.md` (load if exists)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## EXECUTION
|
|
8
41
|
|
|
9
42
|
### Step 0: Detect Test Framework
|
|
10
43
|
|
|
@@ -101,10 +134,10 @@ If the project needs:
|
|
|
101
134
|
- Comprehensive coverage analysis
|
|
102
135
|
- Advanced testing patterns and utilities
|
|
103
136
|
|
|
104
|
-
|
|
137
|
+
> **Install Test Architect (TEA) module**: <https://bmad-code-org.github.io/bmad-method-test-architecture-enterprise/>
|
|
105
138
|
|
|
106
139
|
## Output
|
|
107
140
|
|
|
108
|
-
Save summary to: `{
|
|
141
|
+
Save summary to: `{default_output_file}`
|
|
109
142
|
|
|
110
|
-
**Done!** Tests generated and verified.
|
|
143
|
+
**Done!** Tests generated and verified. Validate against `{checklist}`.
|
|
@@ -18,7 +18,7 @@ agent:
|
|
|
18
18
|
- Load resources at runtime, never pre-load, and always present numbered lists for choices.
|
|
19
19
|
|
|
20
20
|
critical_actions:
|
|
21
|
-
-
|
|
21
|
+
- 'Always greet the user and let them know they can invoke the `bmad-help` skill at any time to get advice on what to do next, and they can combine it with what they need help with <example>Invoke the `bmad-help` skill with a question like "where should I start with an idea I have that does XYZ?"</example>'
|
|
22
22
|
|
|
23
23
|
menu:
|
|
24
24
|
- trigger: "LT or fuzzy match on list-tasks"
|
package/src/core/module-help.csv
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
module,phase,name,code,sequence,workflow-file,command,required,agent,options,description,output-location,outputs
|
|
2
2
|
core,anytime,Brainstorming,BSP,,_bmad/core/workflows/brainstorming/workflow.md,bmad-brainstorming,false,analyst,,"Generate diverse ideas through interactive techniques. Use early in ideation phase or when stuck generating ideas.",{output_folder}/brainstorming/brainstorming-session-{{date}}.md,,
|
|
3
3
|
core,anytime,Party Mode,PM,,_bmad/core/workflows/party-mode/workflow.md,bmad-party-mode,false,party-mode facilitator,,"Orchestrate multi-agent discussions. Use when you need multiple agent perspectives or want agents to collaborate.",,
|
|
4
|
-
core,anytime,bmad-help,BH,,
|
|
4
|
+
core,anytime,bmad-help,BH,,skill:bmad-help,bmad-help,false,,,"Get unstuck by showing what workflow steps come next or answering BMad Method questions.",,
|
|
5
5
|
core,anytime,Index Docs,ID,,_bmad/core/tasks/index-docs.xml,bmad-index-docs,false,,,"Create lightweight index for quick LLM scanning. Use when LLM needs to understand available docs without loading everything.",,
|
|
6
6
|
core,anytime,Shard Document,SD,,_bmad/core/tasks/shard-doc.xml,bmad-shard-doc,false,,,"Split large documents into smaller files by sections. Use when doc becomes too large (>500 lines) to manage effectively.",,
|
|
7
7
|
core,anytime,Editorial Review - Prose,EP,,_bmad/core/tasks/editorial-review-prose.xml,bmad-editorial-review-prose,false,,,"Review prose for clarity, tone, and communication issues. Use after drafting to polish written content.",report located with target document,"three-column markdown table with suggested fixes",
|
|
8
8
|
core,anytime,Editorial Review - Structure,ES,,_bmad/core/tasks/editorial-review-structure.xml,bmad-editorial-review-structure,false,,,"Propose cuts, reorganization, and simplification while preserving comprehension. Use when doc produced from multiple subprocesses or needs structural improvement.",report located with target document,
|
|
9
|
-
core,anytime,Adversarial Review (General),AR,,
|
|
10
|
-
core,anytime,Edge Case Hunter Review,ECH,,
|
|
9
|
+
core,anytime,Adversarial Review (General),AR,,skill:bmad-review-adversarial-general,bmad-review-adversarial-general,false,,,"Review content critically to find issues and weaknesses. Use for quality assurance or before finalizing deliverables. Code Review in other modules run this automatically, but its useful also for document reviews",,
|
|
10
|
+
core,anytime,Edge Case Hunter Review,ECH,,skill:bmad-review-edge-case-hunter,bmad-review-edge-case-hunter,false,,,"Walk every branching path and boundary condition in code, report only unhandled edge cases. Use alongside adversarial review for orthogonal coverage - method-driven not attitude-driven.",,
|
package/src/core/module.yaml
CHANGED
|
@@ -2,7 +2,7 @@ code: core
|
|
|
2
2
|
name: "BMad Core Module"
|
|
3
3
|
|
|
4
4
|
header: "BMad Core Configuration"
|
|
5
|
-
subheader: "Configure the core settings for your BMad installation.\nThese settings will be used across all
|
|
5
|
+
subheader: "Configure the core settings for your BMad installation.\nThese settings will be used across all installed bmad skills, workflows, and agents."
|
|
6
6
|
|
|
7
7
|
user_name:
|
|
8
8
|
prompt: "What should agents call you? (Use your name or a team name)"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
type: skill
|