跳到正文
Skillpedia
测试33k · #8471

qa-plan

它能做什么

这个技能为一个冲刺、功能或故事创建测试计划。适合游戏 QA 负责人和开发者,他们希望在开始制作前就知道要测试什么。

适用场景

  • ✓当一个冲刺即将开始,团队需要了解其中的测试工作的时候。
  • ✓当一个功能需要一份说明哪些要自动化、哪些要手动检查的计划的时候。
  • ✓当团队希望在测试某个构建之前,先确定冒烟测试的范围的时候。

技能链接

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/qa-plan/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/qa-plan/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为下个冲刺的用户故事制定 QA 测试计划,说明哪些要自动化,哪些要手动检查。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能会阅读每个故事及其引用的设计部分,并按测试类型进行分类。它会把计划保存为文件,内容包括自动化测试、手动测试用例、冒烟测试范围和试玩时机。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow,qa.level,system_overrides

Resolved above — use as-is. No block → defaults in .claude/docs/config-resolution.md.

QA Plan

This skill generates a structured QA plan for a sprint, feature, or individual story. It reads all in-scope story files and their referenced GDDs, classifies each story by test type, and produces a plan that tells developers exactly what to automate, what to verify manually, what the smoke test scope is, and when to bring in a playtester.

Run this before a sprint begins so the team knows upfront what testing work is required. A test plan written after implementation is a post-mortem, not a plan.

Output: production/qa/qa-plan-[sprint-slug]-[date].md


Every AskUserQuestion call follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and proceeds; automation_always_ask categories always prompt).

Workflow tier: resolve per the GDD's system as each is read (per .claude/docs/workflow-modes.md): workflow_overrides.system_overrides.<system> if the block lists one, else the project value. It sets how many GDD sections the test plan is mined from — see Phase 2.

qa.level: at minimal, produce only a minimal smoke plan — drop the automated-test-required rows and the test-file DoD; at standard, a full plan per story type; at full, also add per-system coverage targets. Distinct axis from workflow (which sets how many GDD sections are mined). No level drops the Visual/Feel and UI screenshot rows — tests are waived at minimal, the look is not (.claude/docs/coding-standards.md).

Phase 1: Parse Scope

Argument: $ARGUMENTS (blank = ask user via AskUserQuestion)

Determine scope from the argument:

  • sprint — read the most recent file in production/sprints/, extract every story file path referenced. If production/sprint-status.yaml exists, use it as the primary story list and fall back to the sprint plan for story metadata.
  • feature: [system-name] — glob production/epics/*/story-*.md, filter to stories whose file path or title contains the system name. Also check the epic index file (EPIC.md) in that system's directory.
  • story: [path] — validate that the path exists and load that single file.
  • No argument — use AskUserQuestion:
    • "What is the scope for this QA plan?"
    • Options: "Current sprint", "Specific feature (enter system name)", "Specific story (enter path)", "Full epic"

After resolving scope, report: "Building QA plan for [N] stories in [scope]."

If a story file path is referenced but the file does not exist, note it as MISSING and continue with the remaining stories. Do not fail the entire plan for one missing file.

If the resolved scope contains ZERO stories, stop — do not build a plan. Report NOT ASSESSED — no stories in scope, naming which scope was searched and which path was empty, and route:

  • no file in production/sprints/ → "No sprint plan found. Run /sprint-plan new." At workflow: minimal there are no sprints by design — route instead to /qa-plan feature: [epic-slug] or /qa-plan story: [path].
  • a sprint plan exists but references no stories → "Sprint plan [path] lists no stories. Run /create-stories [epic-slug]."
  • feature:/story: scope matched nothing → name the glob that came back empty.

The N=0 guard is mandatory. Without it an empty scope reports "Building QA plan for 0 stories" and continues into Phase 4, producing a plan document with empty tables — and a QA plan for zero stories looks exactly like a completed QA plan. This skill gates the hand-off to manual QA, so a false-clean here sends a build to QA on the strength of a plan that tested nothing.

The rule at the top of this block still stands: one missing file among several is MISSING-and-continue. This is the different case where there is no several.


Phase 2: Load Inputs

Establish the denominator first — glob the in-scope story files and count N — then collect the fields below with targeted section greps, not a full read of each story. A QA plan needs each story's type and acceptance criteria; it does not need its implementation notes, out-of-scope boundaries or ADR rationale, and reading N stories whole to reach two sections is where this phase's cost lives:

Grep pattern="^## Acc
常见问题

我应该在代码写完之后再制定计划吗?

这个技能建议在冲刺开始前运行,因为事后编写的计划只能作为记录。

测试类型有哪些?

这个技能会把故事分为逻辑测试、集成测试、视觉测试和用户界面测试。

什么是冒烟测试范围?

它是一小组检查,用来确认构建足够稳定,可以进行更深入的测试。

详情

作者的原始描述

QA test plan for a sprint — classifies stories by Logic/Integration/Visual/UI, covers automated tests, manual cases, smoke scope.

repo: Donchitos/Claude-Code-Game-Studios

热度

GitHub 星标
33k
排名
#8471
许可证
MIT
更新时间
2026/10/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能