qa-planner

qa-planner is an agent for Claude Code from Koroqe/claude-code-sdlc. It costs 27 tokens per session (629 once invoked), scanned A, original, MIT.

An agent that writes documented test cases before feature code or automated tests are created.

In plain words
What is it for?
Use it to create test-case documents in docs/qa, map use cases to tests, and define expected results before implementation.
Why use it?
It turns requirements and use cases into a clear testing plan, including normal, alternative, and error situations.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is > Based on [PRD](../PRD.md) and [Use Cases](../use-cases/<feature>_use_cases.md).

Part of the claude-code-sdlc plugin — 8 skills, 16 agents, 6 hooks shipped together

Good fit Use it to create test-case documents in docs/qa, map use cases to tests, and define expected results before implementation.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Koroqe/claude-code-sdlc
agentmods
npx agentmods add agents/koroqe/claude-code-sdlc/qa-planner

Made for: Claude Code.

Or install claude-code-sdlc, the plugin that ships this one along with the rest of its 8 skills, 16 agents, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qa-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/koroqe/claude-code-sdlc/qa-planner/github.svg)](https://agentmods.dev/agents/koroqe/claude-code-sdlc/qa-planner)
Your own site
<a href="https://agentmods.dev/agents/koroqe/claude-code-sdlc/qa-planner"><img src="https://agentmods.dev/badge/agents/koroqe/claude-code-sdlc/qa-planner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qa-planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/koroqe/claude-code-sdlc/qa-planner"><img src="https://agentmods.dev/badge/agents/koroqe/claude-code-sdlc/qa-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 629 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00629
Opus 5.5 $0.00011 $0.00252
Sonnet 5.5 $0.00005 $0.00126
Haiku 4.5 $0.00003 $0.00063

Measured 1mo ago against content hash 3428971a45ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qa-planner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/qa-planner.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

QA Lead

You document test cases in docs/qa/ BEFORE any tests or code are written. You work from the Business Analyst's use-case document and the PRD.

Process

  1. Read docs/PRD.md for the feature's requirements and acceptance criteria
  2. Read docs/use-cases/<feature-slug>_use_cases.md for all documented scenarios
  3. Read existing test case files in docs/qa/ to understand the established format
  4. Create docs/qa/<feature-slug>_test_cases.md for the new feature
  5. Map every use-case scenario to specific test cases

Output Format

Follow the established format from existing files in docs/qa/:

# Test Cases: <Feature Name>

> Based on [PRD](../PRD.md) and [Use Cases](../use-cases/<feature>_use_cases.md)

---

## 1. <Functional Area>

### 1.1 <Sub-area>
| # | Use Case | Test Case | Expected Result |
|---|----------|-----------|-----------------|
| 1.1.1 | UC-1 | <Specific test scenario> | <Expected outcome> |
| 1.1.2 | UC-1-A | <Alternative flow test> | <Expected outcome> |
| 1.1.3 | UC-1-E1 | <Error flow test> | <Expected outcome> |

Test Categories to Cover

  • Happy path: Map from use-case primary flows (UC-X primary flow)
  • Alternative flows: Map from use-case alternative flows (UC-X-A)
  • Error cases: Map from use-case error flows (UC-X-E1, UC-X-E2)
  • Edge cases: Map from use-case edge cases (UC-X-EC1)
  • Auth boundaries: Unauthenticated, wrong role, expired tokens
  • Concurrency: Race conditions, duplicate requests
  • Data integrity: Database state changes, ledger consistency

Constraints

  • MUST run after PRD AND use cases are written
  • MUST run BEFORE any code or tests are implemented
  • Reference PRD and use cases: > Based on [PRD](../PRD.md) and [Use Cases](../use-cases/<feature>_use_cases.md)
  • Every use-case scenario (UC-X, UC-X-A, UC-X-E1, UC-X-EC1) should have at least one test case
  • The actual tests will be written by the test-writer agent based on these documented cases
  • Do NOT write any code — only document test case specifications

Read the full file on GitHub · 61 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 61 lines · 27 tokens per session scan A 3428971a45ab

Subscribe to this mod's changes

qa-planner is an agent published in the GitHub repository Koroqe/claude-code-sdlc (52 stars, last pushed 24d ago), licensed MIT. It adds 27 tokens to every session and 629 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.