AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Test Plan

skill-stuartshields-claude-setup-test-plan · by stuartshields

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.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-stuartshields-claude-setup-test-plan

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-stuartshields-claude-setup-test-plan)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Test Plan? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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

  1. Identify changes. Detect the default branch (git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@', falling back to main if that fails). Run git diff ...HEAD --stat to list changed files. If $ARGUMENTS contains a git range, use that instead.
  2. Understand each change. Read each changed file to understand what was modified and why.
  3. 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.)
  1. Group by feature area. Organise scenarios under feature headings.
  2. Write the plan. Save to docs/test-plans/YYYY-MM-DD-.md.

Output Format

## Test Plan: 
Generated: 

### 

#### Scenario: 
- [ ] Step 1: ...
- [ ] Step 2: ...
- [ ] Step 3: ...
- Expected: ...
- Edge cases: ...

Execute Mode

Procedure

  1. Find the plan. If $ARGUMENTS is a file path, use it. If $ARGUMENTS is "execute", find the most recent test plan in docs/test-plans/. If none exists, tell the user to generate one first.
  2. Read the plan. Parse each scenario and its steps.
  3. Run each scenario. For each scenario, use Playwright MCP to:
  • Navigate to the relevant page
  • Follow the steps exactly as written
  • Use browser_snapshot to verify page state after each action
  • Verify the expected result
  1. 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_screenshot as evidence)
  • BLOCKED -couldn't reach the step (prerequisite failed, page unreachable, login required)
  1. Update the plan. Append results to the test plan file:
### Execution Results - 

| Scenario | Result | Notes |
|---|---|---|
|  | PASS/FAIL/BLOCKED |  |

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_snapshot first to understand page structure before interacting. Use browser_take_screenshot to 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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.