agentleFS
zyniverse-hqzyniverse-hq/skills-registry/skills/test-scenario-planning/SKILL.md

test-scenario-planning

Skill0 starsChanged 7 months agoApache-2.0View on GitHub

Plan high-level test scenarios that describe user behaviors and business rules before writing test code. Explores a live URL via Playwright for high-level scenarios (not detailed cases); for exhaustive cases from a written spec use test-case-generator; for automated test code use playwright-test-generation.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT activate when: the user wants actual test code generated (use playwright-test-generation instead)

    line 26
  2. Distinctive:

    Do NOT activate when: the user wants exhaustive detailed test cases from a written spec (use test-case-generator instead)

    line 27
  3. Distinctive:

    Use Playwright browser tools to explore the live page:

    line 38
  4. Distinctive:

    Use this table format for every scenario:

    line 61
  5. Very specific:

    After the scenario table, always create reports/<feature-name>-scenario-report.md AND show it in chat.

    line 80
  6. Distinctive:

    Always explore the live UI first — never plan from assumptions

    line 111

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Test Scenario Planning

Plan high-level test scenarios that describe user behaviors and business rules before writing test code.

When to use

  • Activate when: the user asks to plan, define, or write test scenarios for any feature or module
  • Activate when: the user says "write scenarios for X", "plan test scenarios for X", "what scenarios should I test for X", "create test plan for X"
  • Do NOT activate when: the user wants actual test code generated (use playwright-test-generation instead)
  • Do NOT activate when: the user wants exhaustive detailed test cases from a written spec (use test-case-generator instead)

Prerequisites

  • Live URL of the feature to explore is accessible
  • Understanding of the feature's business purpose

Steps

Step 1: Understand the Feature

Use Playwright browser tools to explore the live page:

  • Navigate through the full happy path
  • Trigger error states, validation messages, modals
  • Note distinct user goals and business rules

Step 2: Identify Scenarios

Group what you observed into behaviors, not steps. Ask:

"What is the user trying to achieve?" "What business rule is being enforced?" "What could go wrong from the user's perspective?"

Target: 10–15 scenarios per feature. Never more than 20.

Scenario types to cover:

  • Positive — happy path, successful flows
  • Negative — rejection, validation, errors
  • Edge — boundaries, unusual inputs, accessibility, security

Step 3: Write the Scenario Document

File location: specs/<feature-name>-scenarios.md

Use this table format for every scenario:

IDScenarioTypePriorityRisk
SC-01User can log in with valid credentialsPositiveHighLow
SC-02Invalid credentials are rejected with clear feedbackNegativeHighMedium

Priority rules:

  • High — core user journey, data integrity, security
  • Medium — important but not blocking
  • Low — nice-to-have, cosmetic, rare edge

Risk rules:

  • High — failure causes data loss, security breach, or user lockout
  • Medium — failure degrades UX or causes confusion
  • Low — failure is cosmetic or easily recoverable

Step 4: Write the Summary Report

After the scenario table, always create reports/<feature-name>-scenario-report.md AND show it in chat. Do not wait to be asked.

One report per feature. Never combine features. File naming: reports/<feature-name>-scenario-report.md

The report must include:

  1. Feature Overview — what this feature does end-to-end from the user's perspective (3–5 sentences)
  2. Scenario Summary — the full scenario table from Step 3
  3. Coverage Breakdown — count of Positive / Negative / Edge scenarios
  4. What Each Scenario Covers — for each scenario ID, list the test cases it will generate
  5. Risks and Gaps — what is NOT covered and why
  6. Dependencies — auth state needed, seed data, other features that must work first

Output

  • Format: One Markdown scenario document + one Markdown report
  • Location: specs/ for scenario document, reports/ for the summary report
  • Example: specs/login-scenarios.md, reports/login-scenario-report.md

Example

User says: "Plan test scenarios for the login feature"

Claude does: Explores the live login page, identifies user goals and business rules, groups observations into 10–15 scenarios covering positive, negative, and edge cases, writes the scenario table, and produces a scenario planning report.

Result: A scenario document with a prioritized table and a report covering feature overview, coverage breakdown, what each scenario covers, risks, and dependencies.

Notes

  • One scenario covers multiple test cases — never create one scenario per test case
  • Target 10–15 scenarios per feature, never more than 20
  • Always explore the live UI first — never plan from assumptions
  • The summary report is mandatory — create the file and show it in chat every time
  • Vague scenario names are not acceptable — be specific: "Phone field rejects alphabetical input" not "Invalid input"

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.