Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

qa-plan

FreeNo executable scriptsNot checked

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

Donchitosby Donchitos★ 41,674 GitHub stars

About this skill

!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="^## Acceptance Criteria" glob="production/epics/**/story-*.md" output_mode="content" -A 15
Grep pattern="^> \*\*(Type|Status|Estimate)\*\*" glob="production/epics/**/story-*.md" output_mode="content"
Grep pattern="^## (Context|Dependencies)" glob="production/epics/**/story-*.md" output_mode="content" -A 8

(Scope the globs to the sprint plan's story paths in sprint mode.) From those:

  • Story title and story ID — from the file name and path; no read at all
  • Story Type field — from the he
Full SKILL.md on GitHub

Install qa-plan in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read
Glob
Grep
Write
Edit
AskUserQuestion
Bash(bash "*/.claude/skills/qa-plan/../../hooks/yaml-helper.sh" resolve_config *)

FAQ

What does the qa-plan skill do?

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

How do I install the qa-plan skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the qa-plan skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare qa-plan with