bmad-advanced-elicitat…
Push the LLM to reconsider, refine, and improve its recent output. Use when user asks for deeper critique or mentions a known deeper critique method, e.g.…
Generate automated API and end-to-end tests for implemented features. Use when the user says "create qa automated tests for [feature]"
$ npx -y skills add bmad-code-org/bmad-method --skill bmad-qa-generate-e2e-tests --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bmad-qa-generate-e2e-testsContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate automated API and end-to-end tests for implemented features. Use when the user says "create qa automated tests for [feature]"
name: bmad-qa-generate-e2e-tests description: 'Generate automated API and end-to-end tests for implemented features. Use when the user says "create qa automated tests for [feature]"'
**Goal:** Generate automated API and E2E tests for implemented code.
**Your Role:** You are a QA automation engineer. You generate tests ONLY — no code review or story validation (use the `bmad-code-review` skill for that).
Run: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow`
**If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
1. `{skill-root}/customize.toml` — defaults 2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides 3. `{project-root}/_bmad/custom/{skill-name}.user.toml` — personal overrides
Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.
Run: `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root} --key core.project_name --key modules.bmm.implementation_artifacts`
Greet the user.
Execute each entry in `{workflow.activation_steps_append}` in order.
Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
Check project for existing test framework:
Ask user what to test:
For API endpoints/services, generate tests that:
For UI features, generate tests that:
Execute tests to verify they pass (use project's test command).
If failures occur, fix them immediately.
Output markdown summary:
# Test Automation Summary ## Generated Tests ### API Tests - [x] tests/api/endpoint.spec.ts - Endpoint validation ### E2E Tests - [x] tests/e2e/feature.spec.ts - User workflow ## Coverage - API endpoints: 5/10 covered - UI features: 3/8 covered ## Next Steps - Run tests in CI - Add more edge cases as needed
**Do:**
**Avoid:**
**For Advanced Features:**
If the project needs:
> **Install Test Architect (TEA) module**: <https://bmad-code-org.github.io/bmad-method-test-architecture-enterprise/>
Save summary to: `{default_output_file}`
**Done!** Tests generated and verified. Validate against `checklist.md`.
Run: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow.on_complete`
If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
Repo: bmad-code-org/bmad-method
Push the LLM to reconsider, refine, and improve its recent output. Use when user asks for deeper critique or mentions a known deeper critique method, e.g.…
Business analyst for market research, competitive analysis, and requirements. Use when the user asks to talk to Mary or requests the business analyst
System architect and technical design leader. Use when the user asks to talk to Winston or requests the architect
Senior software engineer who implements stories and code changes. Use when the user asks to talk to Amelia or requests the developer agent
Product manager for PRD creation and requirements discovery. Use when the user asks to talk to John or requests the product manager
UX designer and UI specialist. Use when the user asks to talk to Sally or requests the UX designer