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.
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auto-mergeSkill
- auto-shipSkill
- backlog-burn-downSkill
- cloud-infra-plannerSkill
- daily-statusSkill
- decision-briefSkill
- deploy-shieldSkill
- eddSkill
- expo-build-and-sdk-upgrade-checkerSkill
- git-workflowSkill
- handle-reviewSkill
- hr-resume-screenerSkill
- img-prompt-genSkill
- instagram-carouselSkill
- integratekitSkill
- investor-deck-builderSkill
- investor-form-fillerSkill
- playwright-test-generationSkill
- qa-handoffSkill
- razorpay-integrationSkill
- resume-hiring-managerSkill
- resume-recruiterSkill
- review-queueSkill
- safe-push-workflowSkill
- ship-issueSkill
- skill-fixerSkill
- skill-reviewerSkill
- tech-mentorSkill
- your-skill-nameSkill
- test-case-generatorSkill
- test-case-reviewerSkill
- triage-issuesSkill
- ui-consistencySkill
- wp-maintenance-conductorSkill
- x-twitter-scraperSkill
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
- Distinctive: line 26
Do NOT activate when: the user wants actual test code generated (use playwright-test-generation instead)
- Distinctive: line 27
Do NOT activate when: the user wants exhaustive detailed test cases from a written spec (use test-case-generator instead)
- Distinctive: line 38
Use Playwright browser tools to explore the live page:
- Distinctive: line 61
Use this table format for every scenario:
- Very specific: line 80
After the scenario table, always create reports/<feature-name>-scenario-report.md AND show it in chat.
- Distinctive: line 111
Always explore the live UI first — never plan from assumptions
≈ “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.
Files
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:
| ID | Scenario | Type | Priority | Risk |
| SC-01 | User can log in with valid credentials | Positive | High | Low |
| SC-02 | Invalid credentials are rejected with clear feedback | Negative | High | Medium |
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:
- Feature Overview — what this feature does end-to-end from the user's perspective (3–5 sentences)
- Scenario Summary — the full scenario table from Step 3
- Coverage Breakdown — count of Positive / Negative / Edge scenarios
- What Each Scenario Covers — for each scenario ID, list the test cases it will generate
- Risks and Gaps — what is NOT covered and why
- 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"
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.

