home / skills / bacoco / bmad-skills / bmad-test-strategy
This skill helps you create risk-focused test strategy and ATDD scenarios, aligning requirements, architecture, and delivery plans for quality gates.
npx playbooks add skill bacoco/bmad-skills --skill bmad-test-strategyReview the files below or copy the command above to add this skill to your agents.
---
name: bmad-test-strategy
description: Creates test strategy and ATDD scenarios.
allowed-tools: ["Read", "Write", "Grep"]
metadata:
auto-invoke: true
triggers:
patterns:
- "how should we test"
- "create test strategy"
- "test plan"
- "ATDD"
- "quality assurance"
keywords:
- test
- testing
- strategy
- QA
- quality
- ATDD
- automation
capabilities:
- test-strategy
- atdd-scenarios
- quality-gates
- test-planning
prerequisites:
- architecture-decisions
outputs:
- test-strategy-doc
- atdd-scenarios
- quality-checklist
---
# Quality Assurance Skill
## When to Invoke
**Automatically activate when user:**
- Says "How should we test?", "Create test strategy"
- Asks "Test plan?", "ATDD?", "Quality assurance?"
- Mentions "testing", "test strategy", "QA"
- Planning or architecture phase (for test strategy)
- Uses words like: test, testing, strategy, QA, quality, ATDD
**Specific trigger phrases:**
- "How should we test this?"
- "Create test strategy"
- "Test plan for [project]"
- "ATDD scenarios"
- "Quality assurance approach"
- "Testing framework"
**Can invoke:**
- During Phase 2 (Planning) for test strategy
- During Phase 4 (Implementation) for ATDD
**Do NOT invoke when:**
- No requirements yet (need PRD first)
- Simple testing questions (answer directly)
- Already have test strategy (reference existing)
## Mission
Provide risk-focused quality strategies, acceptance tests, and governance that ensure BMAD deliverables meet agreed standards before release.
## Inputs Required
- prd_and_epics: requirements and roadmap produced by product-requirements skill
- architecture: technical decisions and constraints
- stories: delivery-planning outputs for upcoming work
- existing_quality_assets: current test suites, tooling, and metrics
## Outputs
- **Test strategy** (from `assets/test-strategy-template.md.template`)
- **ATDD scenarios** (from `assets/atdd-scenarios-template.md.template`)
- **Quality checklist** (from `assets/quality-checklist-template.md.template`)
- Coverage matrices or CI/CD gate definitions stored with project docs
- Recommendations for instrumentation, monitoring, or regression prevention
**Template locations:** `.claude/skills/bmad-test-strategy/assets/*.template`
## Process
1. Confirm prerequisites using `CHECKLIST.md`.
2. Review requirements, architecture, and delivery plans to identify risk areas.
3. Define quality approach (test types, automation, environments, data) proportionate to risk.
4. Author executable artifacts (ATDD scenarios, scripts, dashboards) or instructions.
5. Partner with development-execution and orchestrator to integrate quality gates and track follow-ups.
**Note on automation:** This skill currently operates through quality planning conversation using templates. No automation scripts are required—test strategies and ATDD scenarios are created manually using templates from `assets/`. See `scripts/README.md` for future automation roadmap.
## Quality Gates
Ensure all checklist items are satisfied before sign-off. Traceability from requirements to test coverage must be explicit.
## Error Handling
- When prerequisites are missing, halt work and request specific artifacts.
- If tools or environments are unavailable, document gaps and remediation plan.
- Escalate high-risk issues (compliance, data privacy) immediately with evidence.
This skill creates risk-focused test strategies and Acceptance Test-Driven Development (ATDD) scenarios to ensure deliverables meet agreed standards before release. It produces a test strategy document, executable ATDD scenarios, and a quality checklist tailored to the project’s requirements and architecture. The output is designed to integrate with CI/CD gates and project documentation for traceability.
I confirm prerequisites, review product requirements, epics, architecture, and planned stories to identify highest-risk areas. Then I define a proportionate quality approach (test types, automation scope, environments, data needs) and author ATDD scenarios and checklists using standard templates. Finally, I recommend instrumentation, monitoring, coverage matrices, and CI/CD gate definitions and flag any gaps or escalations required.
What inputs are required to create a test strategy?
I need the PRD and epics, architecture decisions, planned stories, and any existing quality assets or tooling details.
What happens if prerequisites are missing?
Work halts and I return a precise checklist of required artifacts; I also document interim mitigations if possible.