agentleFS
victoraguilarsantamariadevvictoraguilarsantamariadev/qa-explore/skills/qa-plan/SKILL.md

qa-plan

Skill2 starsChanged 46 days agoMITView on GitHub

Risk-based test plan — what a senior QA team writes BEFORE testing. Recon the app, score each area by RISK (impact × likelihood), rank into P0/P1/P2 deterministically, define the acceptance ("done") per area, and emit a test charter (Markdown) that also seeds qa-explore's areas in priority order so the expensive exploration attacks the riskiest surface first. Use when asked to "write a test plan", "what should we test", "risk assessment", "test strategy", "prioritize testing", or "QA plan for this release".

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-stories, story-done and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lilangMaxSkill

    create-stories

    Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.

    Also in 11 projects that use this

  • lilangMaxSkill

    story-done

    End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.

    Also in 11 projects that use this

  • +10 more from lilangMax

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Feed it to execution: Run qa-explore with the approved plan.areas (already priority-ordered missions) so the riskiest surface is explored …

    line 40
  2. Very specific:

    Honest tail: If a budget/maxAreas cap means P2 areas won't be explored, the plan says so explicitly — "not planned this run" is not "safe".

    line 49

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

qa-plan

Top QA teams don't test everything equally — they test by risk. qa-plan is the upfront half of the process: it decides what to test and in what order before a single expensive explore agent runs, so effort lands on the surface where a bug would hurt most and is most likely.

recon the app → per area: IMPACT (blast radius if it breaks) × LIKELIHOOD (how fragile / how changed)
             → risk score (deterministic) → rank P0 / P1 / P2
             → acceptance ("done") per area
charter OUT  → test-plan.md (the plan a lead reviews)  [GATE: you approve/re-rank]
             → seeds qa-explore `areas` in PRIORITY ORDER (riskiest first)

🔒 The priority is deterministic

An agent judges impact and likelihood (1–5 each, with a written rationale) — but the risk score and P0/P1/P2 band are computed by rules (impact × likelihood), so the ranking is consistent and defensible, not a vibe. Same judgements → same plan. (Same principle as qa-gate: the model assesses, the rules rank.)

The default risk rubric (configurable in plan)

  • impact 1–5: blast radius if this area is broken — money/data/security/legal at the top, cosmetic at the bottom.
  • likelihood 1–5: how likely it is broken — new/changed code, complex flows, past-bug hotspots, many integrations rank high.
  • risk = impact × likelihood (1–25). Bands (defaults): P0 ≥ 15, P1 8–14, P2 < 8.
  • Each area gets an acceptance line ("done" = the concrete happy path + the key negative/edge case that must hold) so the explore pass and the gate share one definition of success.

Engine (invoke via the Workflow tool; do not inline)

  • ${CLAUDE_PLUGIN_ROOT}/skills/qa-plan/engine/qa-plan.workflow.js

(If $CLAUDE_PLUGIN_ROOT is unset, the skill is at ~/.claude/skills/qa-plan — resolve the engine path relative to this SKILL.md.)

Prerequisites

  • The same qa.config.json qa-explore uses (baseUrl, login, etc.). Optional plan block: bands (P0/P1 thresholds), outFile (default test-plan.md), changed (a list/paths of what changed this release, to raise likelihood on touched areas), release label.

How to run

  1. Resolve config. Load qa.config.json. If the user named what changed this release (files/areas/PR), pass it as args.plan.changed so touched areas score higher on likelihood.
  2. Run the engine. Workflow({ scriptPath: "<engine>/qa-plan.workflow.js", args: { ...config, plan: {...} } }). It recons (or uses supplied areas), an agent scores impact×likelihood per area with rationale, the engine computes risk + P0/P1/P2, and writes test-plan.md.
  3. Review the plan (GATE). Show the ranked charter; let the user re-rank / add / drop before it drives anything. A test plan the lead didn't approve isn't a plan.
  4. Feed it to execution. Run qa-explore with the approved plan.areas (already priority-ordered missions) so the riskiest surface is explored first — and, if budget is capped, the P2 tail is what gets dropped, on purpose and logged.
  5. Close the loop with the gate. The acceptance lines defined here are the same bar qa-gate signs off against at the end.

Where it fits

qa-plan (what/риск, before) → qa-explore (find) → qa-heal (keep honest) → qa-fix (fix) → qa-gate (ship?, after). The two bookends — plan and gate — are the QA-lead process around the execution engine.

Notes

  • Model assesses, rules rank. Impact/likelihood are judged; the score and priority band are computed.
  • Change-aware. Point plan.changed at the diff/areas of the release and touched areas rise in likelihood — risk-based testing for this release, not in the abstract.
  • Honest tail. If a budget/maxAreas cap means P2 areas won't be explored, the plan says so explicitly — "not planned this run" is not "safe".
  • Cadence: at the start of a release / on the PR that cuts it, then hand the ranked areas to qa-explore.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.