---
name: test-plan
description: Produce a focused test plan for a change. Use when the user asks how to test a feature, what cases to cover, or for a QA checklist before shipping.
title: test-plan
canonical_url: https://skilld.dev/gh/cloudflare/agents/test-plan
last_updated: 2026-09-27T02:10:28.000Z
---

> **Skill from skilld.dev.** Follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install cloudflare/agents/test-plan`. Install writes the Skill files into the project, so every session loads them.

# Test Plan

Turn a change description into a short, prioritized test plan.

## Process

1. Restate what changed in one sentence.
2. Identify the riskiest behaviors first (data loss, auth, money, concurrency).
3. List concrete test cases as `given / when / then`, happy paths first, then
   edge cases and failure modes.
4. Note any setup, fixtures, or environment the cases need.
5. Call out what is explicitly out of scope so the plan stays focused.

## Output format

```md
## Risks

- Ranked list of the riskiest areas.

## Cases

1. given … / when … / then …

## Out of scope

- Anything intentionally not covered.
```

Keep the plan small enough to act on immediately. If the change is unclear, ask
for the acceptance criteria before listing cases.
