Agent Skills › bmad-code-org/BMAD-METHOD › bmad-qa-generate-e2e-tests

bmad-qa-generate-e2e-tests

GitHub

为已实现功能生成端到端及API自动化测试,遵循项目现有测试框架。适用于用户请求创建E2E或API测试场景,不处理单元测试。

skills/bmad-qa-generate-e2e-tests/SKILL.md bmad-code-org/BMAD-METHOD

Trigger Scenarios

请求创建E2E测试 请求创建API测试 要求对已有功能进行自动化覆盖

Install

npx skills add bmad-code-org/BMAD-METHOD --skill bmad-qa-generate-e2e-tests -g -y
More Options

Use without installing

npx skills use bmad-code-org/BMAD-METHOD@bmad-qa-generate-e2e-tests

指定 Agent (Claude Code)

npx skills add bmad-code-org/BMAD-METHOD --skill bmad-qa-generate-e2e-tests -a claude-code -g -y

安装 repo 全部 skill

npx skills add bmad-code-org/BMAD-METHOD --all -g -y

预览 repo 内 skill

npx skills add bmad-code-org/BMAD-METHOD --list

SKILL.md

Frontmatter
{
    "name": "bmad-qa-generate-e2e-tests",
    "description": "Add end-to-end and API tests for features that already work, following the project's existing test harness. Use when the user asks for e2e tests, API tests, or automated coverage of an existing feature, or says \"create qa automated tests for [feature]\". Not for unit tests on work in flight, which the build writes."
}

Run the following command exactly once without changing the current working directory.

Replace {project-root} with the nearest folder containing _bmad/, from the working directory upward. Replace {skill-root} with the absolute path to this skill's directory.

uv run --no-cache "{project-root}/_bmad/scripts/render_skill.py" --project-root "{project-root}" --skill "{skill-root}"
  • The command prints the skill's workflow: follow it. HALT: <reason>: report the reason and stop.
  • If the script does not exist, BMad is not set up in this project yet. Offer to set it up using bmad skill, then run the command again. If you do not have the bmad skill, offer to install it first.
  • On any other output or failure, including uv being unavailable, report the command output and stop. Do not run any workflow source directly.

Version History

  • 61e01f8 Current 2026-10-19 20:21

    改用render_skill.py直接打印渲染后的工作流文本而非路径,确保Agent无法读取部分文件;优化HALT提示与安装说明输出位置。

  • 5e33d3c 2026-09-28 11:23

    改进了 {project-root} 的解析逻辑,支持在 worktree 或子文件夹中启动时向上查找 _bmad/ 目录,确保正确定位项目根路径。

  • 1b59caa 2026-09-23 00:25

Same Skill Collection

skills/bmad-build-auto/SKILL.md
skills/bmad-build/SKILL.md
skills/bmad-code-review/SKILL.md
skills/bmad/SKILL.md
src/bmm-skills/agents/bmad-agent-analyst/SKILL.md
src/bmm-skills/agents/bmad-agent-architect/SKILL.md
src/bmm-skills/agents/bmad-agent-dev/SKILL.md
src/bmm-skills/agents/bmad-agent-pm/SKILL.md
src/bmm-skills/agents/bmad-agent-ux-designer/SKILL.md
src/bmm-skills/plan/bmad-architecture/SKILL.md
src/bmm-skills/plan/bmad-create-epics-and-stories/SKILL.md
src/bmm-skills/plan/bmad-generate-project-context/SKILL.md
src/bmm-skills/plan/bmad-prd/SKILL.md
src/bmm-skills/plan/bmad-prfaq/SKILL.md
src/bmm-skills/plan/bmad-product-brief/SKILL.md
src/bmm-skills/plan/bmad-project-context/SKILL.md
src/bmm-skills/plan/bmad-spec/SKILL.md
src/bmm-skills/plan/bmad-sprint-planning/SKILL.md
src/bmm-skills/plan/bmad-ux/SKILL.md
src/bmm-skills/ship/bmad-build-auto/SKILL.md
src/bmm-skills/ship/bmad-build/SKILL.md
src/bmm-skills/ship/bmad-checkpoint-preview/SKILL.md
src/bmm-skills/ship/bmad-code-review/SKILL.md
src/bmm-skills/ship/bmad-correct-course/SKILL.md
src/bmm-skills/ship/bmad-qa-generate-e2e-tests/SKILL.md
src/bmm-skills/ship/bmad-retrospective/SKILL.md
src/bmm-skills/ship/bmad-walkthrough/SKILL.md
src/bmm-skills/v6-shims/bmad-checkpoint-preview/SKILL.md
src/bmm-skills/v6-shims/bmad-create-architecture/SKILL.md
src/bmm-skills/v6-shims/bmad-create-story/SKILL.md
src/bmm-skills/v6-shims/bmad-dev-auto/SKILL.md
src/bmm-skills/v6-shims/bmad-dev-story/SKILL.md
src/bmm-skills/v6-shims/bmad-document-project/SKILL.md
src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md
src/bmm-skills/v6-shims/bmad-market-research/SKILL.md
src/bmm-skills/v6-shims/bmad-quick-dev/SKILL.md
src/bmm-skills/v6-shims/bmad-sprint-status/SKILL.md
src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md
src/bmm-skills/v6-shims/bmad-validate-prd/SKILL.md
src/core-skills/bmad-advanced-elicitation/SKILL.md
src/core-skills/bmad-brainstorming/SKILL.md
src/core-skills/bmad-customize/SKILL.md
src/core-skills/bmad-forge-idea/SKILL.md
src/core-skills/bmad-help/SKILL.md
src/core-skills/bmad-party-mode/SKILL.md
test/fixtures/validate-skills/deprecated-shim/SKILL.md
tools/tests/fixtures/validate-skills/deprecated-shim/SKILL.md
skills/bmad-advanced-elicitation/SKILL.md
skills/bmad-agent-analyst/SKILL.md

Metadata

Files
0
Version
61e01f8
Hash
6b772205
Indexed
2026-09-23 00:25

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-21 16:37
浙ICP备14020137号-1