test-plan
Skill2 starsChanged 7 months agoMITView on GitHub
Generate a user-facing test checklist from git diff, or execute an existing test plan via Playwright. Two modes: generate (default) creates the plan, execute runs it in the browser.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- DoKu67/claude-code-skilstheir own version, first seen Sep 29, 2026
- TzolkinB/skillstheir own version, first seen Aug 4, 2026
- cloudflare/agentstheir own version, first seen Jun 30, 2026
- yasunori0418/skillstheir own version, first seen Jun 27, 2026
- katalon-labs/true-skillstheir own version, first seen Jun 23, 2026
- xmh-test/test-agent-skillstheir own version, first seen May 25, 2026
Used with
Projects with it also use test-review.
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.
petestewartSkilltest-review
Review unit tests for quality, coverage, consistency, and adherence to existing codebase patterns. Use when the user says "/test-review", "review my tests", "check my test coverage", "are my tests good", or needs feedback on test quality and patterns.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- cloudflare/agents★ 5.8ksame name
- mbwsims/claude-universe★ 72same name
- Codagent-AI/agent-skills★ 30same name
- katalon-labs/true-skills★ 10same name
- yasunori0418/skills★ 8same name
- DoKu67/claude-code-skils★ 4same name
- xmh-test/test-agent-skills★ 4same name
- TzolkinB/skills★ 2same name
- RomanBednar/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-vs-fix-disciplineSkill
- block-journeySkill
- clean-worktreesSkill
- debuggingSkill
- debug-rulesSkill
- debug-wpSkill
- figmaSkill
- handoffSkill
- module-depth-reviewSkill
- playwrightSkill
- qa-checkSkill
- review-memorySkill
- swift-concurrency-reviewSkill
- tool-usageSkill
- vibe-userSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill before merging a feature branch, after completing implementation, or when you need a QA checklist.
- Very specific: line 15
Use $ARGUMENTS to determine the mode:
- Distinctive: line 24
Understand each change: Read each changed file to understand what was modified and why.
- Very specific: line 53
Find the plan: If $ARGUMENTS is a file path, use it.
- Distinctive: line 57
Follow the steps exactly as written
- Very specific: line 58
Use browser_snapshot to verify page state after each action
- Distinctive: line 59
Verify the expected result
- Distinctive: line 61
PASS: -all steps completed and expected result verified
- Distinctive: line 78
One scenario per user action: Don't combine "create an account" and "update profile" into one scenario.
- Distinctive: line 80
In execute mode, follow steps literally: Do not improvise or skip steps.
- Distinctive: line 82
Limit file reads to 15 files: If the diff touches more than 15 files, group by feature area and generate scenarios from the diff summary …
“Common” is measured: kept by at least 6 in 10 of the 7 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.
Files
Skill: test-plan
When to Use
Use this skill before merging a feature branch, after completing implementation, or when you need a QA checklist. Invoke with /test-plan to generate from the current branch, /test-plan main...HEAD for a specific git range, or /test-plan execute to run an existing plan.
Use $ARGUMENTS to determine the mode:
- Empty or git range (default): Generate mode -create a test plan from code changes
- "execute" or a file path: Execute mode -run an existing test plan via Playwright
Generate Mode
Procedure
- Identify changes. Detect the default branch (
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@', falling back tomainif that fails). Rungit diff <default-branch>...HEAD --statto list changed files. If$ARGUMENTScontains a git range, use that instead. - Understand each change. Read each changed file to understand what was modified and why.
- Create test scenarios. For each user-visible change, generate a test scenario:
- Scenario name: What the user does (e.g., "Submit the contact form with valid data")
- Steps: Numbered, specific enough for someone unfamiliar with the app
- Expected result: What should happen after completing the steps
- Edge cases: What could go wrong (empty fields, duplicate submissions, slow network, etc.)
- Group by feature area. Organise scenarios under feature headings.
- Write the plan. Save to
docs/test-plans/YYYY-MM-DD-<branch-name>.md.
Output Format
## Test Plan: <branch name>
Generated: <date>
### <Feature Area>
#### Scenario: <name>
- [ ] Step 1: ...
- [ ] Step 2: ...
- [ ] Step 3: ...
- Expected: ...
- Edge cases: ...Execute Mode
Procedure
- Find the plan. If
$ARGUMENTSis a file path, use it. If$ARGUMENTSis "execute", find the most recent test plan indocs/test-plans/. If none exists, tell the user to generate one first. - Read the plan. Parse each scenario and its steps.
- Run each scenario. For each scenario, use Playwright MCP to:
- Navigate to the relevant page
- Follow the steps exactly as written
- Use
browser_snapshotto verify page state after each action - Verify the expected result
- Record results. For each scenario, record one of:
- PASS -all steps completed and expected result verified
- FAIL -a step didn't produce the expected result (include
browser_take_screenshotas evidence) - BLOCKED -couldn't reach the step (prerequisite failed, page unreachable, login required)
- Update the plan. Append results to the test plan file:
### Execution Results - <date>
| Scenario | Result | Notes |
|---|---|---|
| <name> | PASS/FAIL/BLOCKED | <details> |Rules
- Test scenarios describe what a user does, not what the code does. Write "Click the submit button and verify the success message appears" not "POST /api/form returns 200."
- Steps must be reproducible by someone who has never seen the codebase. No references to file names, function names, or implementation details.
- One scenario per user action. Don't combine "create an account" and "update profile" into one scenario.
- Include the unhappy path. For every form, test with empty fields, invalid data, and duplicate submissions. For every action, test what happens when it fails.
- In execute mode, follow steps literally. Do not improvise or skip steps. If a step is ambiguous, record it as BLOCKED with a note about what was unclear.
- Use
browser_snapshotfirst to understand page structure before interacting. Usebrowser_take_screenshotto capture evidence of failures. - Limit file reads to 15 files. If the diff touches more than 15 files, group by feature area and generate scenarios from the diff summary and the 15 most relevant files. Tell the user which files were skipped.
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
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.

