Skip to content
Skill

Prd v07 test planning

Writes Given-When-Then test cases from PRD specs before implementation begins

Prd v07 test planning is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
179
Last commit
License
MIT
Listing updated

Similar skills

About Prd v07 test planning

This skill guides an agent to define test cases before any code is written, deriving each test from existing EPIC, API, business rule, data model and user journey IDs in a PRD workflow. Each test is recorded with its type, the upstream IDs it covers, a Given-When-Then body, a validation method, a priority and an intended automation path.

The skill sets coverage expectations: each API endpoint should have a happy path and at least one error case, each business rule needs positive, negative and boundary tests, and each core user journey gets an end-to-end test. It also asks the agent to produce a coverage matrix per EPIC and to flag gaps or ambiguous specs in the EPIC's assumptions table instead of guessing response shapes or error codes.

It expects the PRD v0.7 document structure to be present, with EPIC-, API-, DBT-, BR- and UJ- entries already written. It has no bundled scripts and works through the agent's file read, write, search and shell tools.

When your agent uses it

Define test cases BEFORE implementation, ensuring every API, business rule, and user journey has verifiable acceptance criteria during PRD v0.7 Build Execution. Triggers on requests to define tests, plan test coverage, create test cases, or when user asks "define tests", "test planning", "what to test?", "test cases", "test coverage", "TEST-", "test-first". Consumes EPIC- (scope), API-, DBT-, BR-, UJ-. Outputs TEST- entries with Given-When-Then format. Feeds v0.7 Implementation Loop.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (27 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/prd-v07-test-planning to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mattgierhart/PRD-driven-context-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/prd-v07-test-planning &&
cp -R "$tmp/.claude/skills/prd-v07-test-planning" ~/.claude/skills/prd-v07-test-planning &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/prd-v07-test-planning inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/prd-v07-test-planning to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mattgierhart/PRD-driven-context-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/prd-v07-test-planning &&
cp -R "$tmp/.claude/skills/prd-v07-test-planning" ~/.agents/skills/prd-v07-test-planning &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/prd-v07-test-planning inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/prd-v07-test-planning to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mattgierhart/PRD-driven-context-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/prd-v07-test-planning &&
cp -R "$tmp/.claude/skills/prd-v07-test-planning" ~/.cursor/skills/prd-v07-test-planning &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/prd-v07-test-planning inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/mattgierhart/PRD-driven-context-engineering.git --path .claude/skills/prd-v07-test-planning

Or copy the folder to ~/.gemini/skills/prd-v07-test-planning yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/prd-v07-test-planning:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mattgierhart/PRD-driven-context-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/prd-v07-test-planning &&
cp -R "$tmp/.claude/skills/prd-v07-test-planning" ~/.copilot/skills/prd-v07-test-planning &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/prd-v07-test-planning inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/mattgierhart/PRD-driven-context-engineering.git

Then copy PRD-driven-context-engineering/.claude/skills/prd-v07-test-planning into your agent's skills folder as prd-v07-test-planning. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Test-first planning
Defines acceptance criteria before code is written, so the spec becomes the contract for done.
Coverage requirements
Sets minimum test counts per endpoint, business rule, data constraint and user journey.
Given-When-Then format
Writes each test with preconditions, action and expected outcome in a testable structure.
Traceability to specs
Links every test back to the upstream API, rule, journey or data model IDs it verifies.
Coverage matrix and gaps
Produces a per-epic matrix showing which specs have tests and which are missing.
Ambiguity flagging
Logs unclear requirements as ambiguities rather than inventing details in tests.

Good for

  • Plan test cases for a new login and signup epic before development starts
  • Write Given-When-Then tests for a pricing or usage-limit business rule
  • Check which API endpoints in a specification lack error-case tests
  • Create end-to-end test specs for an onboarding user journey
  • Turn a PRD's test-planning phase into a test automation file list

Prd v07 test planning FAQ

What does Prd v07 test planning need to run?

It expects PRD v0.7 specifications to exist first, including EPIC scope entries and the API, data model, business rule and user journey IDs they reference.

When does Prd v07 test planning trigger?

It triggers on requests such as define tests, plan test coverage, create test cases, test-first, or mentions of TEST- identifiers.

Does Prd v07 test planning run any tests or scripts?

No. The skill bundles no scripts and only writes test specifications; it does not execute tests.

What output does Prd v07 test planning create?

TEST- entries in Given-When-Then format, a per-epic coverage matrix and a test automation specification mapping critical tests to file paths.

How do I install Prd v07 test planning in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/prd-v07-test-planning to use it in all your projects, or to .claude/skills/prd-v07-test-planning in one project.

Does Prd v07 test planning run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Prd v07 test planning?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Prd v07 test planning?

The closest alternatives to Prd v07 test planning are Prd v07 implementation loop, Prd v07 epic scoping, Prd v08 release planning, Prd v06 technical specification and Prd v08 runbook creation.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from mattgierhart/PRD-driven-context-engineering

  1. Detects template version drift in a repo and guides safe migration to the latest version

    • Open source
    • 179 GitHub stars
    • Developer tools
  2. Guides customer interviews with Mom Test questioning to surface reliable, past-behavior

    • Open source
    • 179 GitHub stars
    • Productivity
  3. Template for authoring new PRD-driven skills with workflow, gates and anti-patterns

    • Open source
    • 179 GitHub stars
    • Developer tools
  4. Checks PRD gate criteria and returns a PASS, WARN or BLOCK verdict before advancing

    • Open source
    • 179 GitHub stars
    • Developer tools
  5. Moves durable insights from temporary EPIC files into a source of truth

    • Open source
    • 179 GitHub stars
    • Productivity
  6. Validates and registers new source-of-truth IDs for business rules, journeys, APIs

    • Open source
    • 179 GitHub stars
    • Developer tools