MCPInstall

qa-test-planner

Generate ready-to-fill QA deliverables from markdown templates: test plans, manual test cases, automated Playwright specs, regression suites, and bug reports. Use when asked to draft or fill any of these artifacts from requirements or user stories. Keywords: test plan, test case, bug report, regression suite, playwright spec, test strategy, test design, template.

Installs
106
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/fugazi/test-automation-skills-agents --skill qa-test-planner
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads qa-test-planner automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

QA Test Planner

A comprehensive skill for QA Automation engineers to create test plans, generate manual test cases, build automated Playwright tests, create regression test suites, validate UI with browser automation, and document bugs effectively.

Activation: This skill is triggered only when explicitly called by name (e.g., /qa-test-planner, qa-test-planner, or use the skill qa-test-planner).


Quick Start

Create a test plan:

"Create a test plan for the user authentication feature using the test-plan.md template"

Generate test cases:

"Generate manual test cases for the checkout flow using the test-case.md template"

Create automated Playwright tests:

"Create Playwright automated tests for the login flow using the playwright-test.md template"

Validate UI with browser:

"Navigate to the login page and validate all form elements are visible using Playwright MCP"

Build regression suite:

"Build a regression test suite for the payment module using test-case.md templates grouped by priority"

Create bug report:

"Create a bug report for the form validation issue using the bug-report.md template"

Quick Reference

TaskTemplateTime
Test Plantemplates/test-plan.md10-15 min
Test Casetemplates/test-case.md5-10 min each
Automated Testtemplates/playwright-test.md5-15 min each
Bug Reporttemplates/bug-report.md5 min

When to Use This Skill

Use this skill when you need to:

  • Create or review test plans and test strategies
  • Generate test cases from requirements or user stories
  • Write bug reports with clear reproduction steps
  • Build regression suites with risk-based selection
  • Implement Playwright automation with best practices
  • Document test execution and results
  • Conduct exploratory testing sessions
  • Validate UI elements with browser automation

Prerequisites

RequirementNotes
Node.js 18+Required for Playwright automation
Playwrightnpm init playwright@latest for automation
Text editorFor creating/editing markdown files
GitRecommended for testware version control
Playwright MCPOptional, for browser-based validation

How It Works

Your Request
    │
    ▼
┌─────────────────────────────────────────────────────┐
│ 1. ANALYZE                                        │
│    • Parse feature/requirement                      │
│    • Identify test types needed (manual/automated)  │
│    • Determine scope and priorities                 │
├─────────────────────────────────────────────────────┤
│ 2. SELECT TEMPLATE                                │
│    • Choose appropriate template from assets/        │
│    • Review template structure and sections         │
│    • Identify placeholders to fill                 │
├─────────────────────────────────────────────────────┤
│ 3. CUSTOMIZE                                      │
│    • Fill in placeholders with project details      │
│    • Add specific test steps and scenarios         │
│    • Apply Playwright best practices               │
├─────────────────────────────────────────────────────┤
│ 4. EXECUTE (with Playwright MCP)                 │
│    • Navigate and interact with browser             │
│    • Capture screenshots and evidence               │
│    • Validate UI elements and behavior              │
├─────────────────────────────────────────────────────┤
│ 5. VALIDATE                                       │
│    • Check completeness                             │
│    • Verify traceability                            │
│    • Ensure actionable steps                        │
└─────────────────────────────────────────────────────┘
    │
    ▼
QA Deliverable Ready

Workflows

1) Create a Test Plan

  1. Use templates/test-plan.md as your starting point
  2. Identify test objectives, scope, assumptions, and constraints
  3. Define test levels and types (functional, UI, performance, etc.)
  4. Specify environments, test data, tooling, and configuration needs
  5. Define entry/exit criteria, deliverables, and reporting cadence
  6. Add a risk matrix and mitigation actions
  7. Prioritize testing accordingly (risk-based testing)

Template: templates/test-plan.md

2) Generate Test Cases

  1. Use templates/test-case.md for individual test cases
  2. Convert requirements into test conditions (what to test)
  3. Pick a test design technique:
    • Equivalence partitions and boundary values for inputs
    • Decision tables for rule combinations
    • State transitions for lifecycle/flows
    • Use-case/scenario tests for end-to-end journeys
  4. Write test cases that are atomic, unambiguous, and traceable
  5. Add expected results that are observable and measurable
  6. Add priority and risk tags to support risk-based regression
  7. Mark automation candidates using stability + value criteria

Templates:

  • templates/test-case.md - Individual test case

3) Implement Automation Test Scripts (Playwright)

  1. Use templates/playwright-test.md as a template
  2. Keep tests readable and aligned with test cases
  3. Prefer stable locators (e.g., getByTestId) over brittle selectors
  4. Avoid arbitrary sleeps; rely on Playwright auto-waits and explicit assertions
  5. Make tests independent (setup preconditions explicitly)
  6. Use tagging in test titles (e.g., @smoke, @regression) for suite runs
  7. Capture artifacts for triage (screenshots/video/trace) when debugging

Template: templates/playwright-test.md

4) Build and Maintain Regression Suites

  1. Use templates/regression-suite.md to define the suite
  2. Define suite tiers: smoke (critical paths), sanity (build verification), regression (broad), full (release)
  3. Select tests using risk + frequency + criticality + defect history
  4. Tag tests consistently and document selection rules
  5. Review the suite regularly: remove obsolete coverage, add coverage for escaped defects

Template: Use individual test-case.md templates grouped by priority

5) Create Bug Reports

  1. Use templates/bug-report.md as your starting point
  2. Reproduce reliably; reduce to minimal steps
  3. Note variability (frequency) and scope
  4. Capture environment details (build/app version, OS, browser/device, account/role)
  5. Describe expected vs actual behavior
  6. Include impact; set severity and priority consistently
  7. Attach evidence (screenshots, console logs, network traces, Playwright trace)
  8. Track lifecycle: triage notes, owner, fix version, verification steps

Template: templates/bug-report.md


Security Guidelines

Credential Handling

NEVER embed real credentials in test cases or code. Use placeholders instead:

Instead ofUse
test@example.com / Test123!${TEST_USER_EMAIL} or process.env.TEST_USER_EMAIL
password: "actualpassword"password: "${TEST_PASSWORD}" (from env)
Hardcoded secretsEnvironment variables via .env files

Test data best practices:

  • Use test accounts provisioned via API or admin panel
  • Store credentials in environment variables
  • Use Faker.js or similar for generated test data
  • Never commit real credentials to version control

URL Navigation Safety

When using Playwright MCP to validate external/untrusted URLs:

  1. Verify the URL is from a trusted domain before navigating
  2. Avoid executing arbitrary JavaScript from untrusted sources
  3. Use sandboxed environments when testing third-party applications
  4. Do NOT navigate to URLs provided by untrusted user input without validation

Input Sanitization

All user inputs should be:

  • Validated for expected format
  • Escaped when used in generated code
  • Never passed directly to eval() or shell execution

Anti-Patterns

AvoidWhyInstead
Vague test stepsCan't reproduceSpecific actions + expected results
Missing preconditionsTests fail unexpectedlyDocument all setup requirements
No test dataTester blockedProvide sample data or generation
Generic bug titlesHard to trackSpecific: "[Feature] issue when [action]"
Skip edge casesMiss critical bugsInclude boundary values, nulls
Embedding credentialsSecurity riskUse environment variables

Verification Checklist

Test Plan:

  • Scope clearly defined (in/out)
  • Entry/exit criteria specified
  • Risks identified with mitigations
  • Timeline realistic

Test Cases:

  • Each step has expected result
  • Preconditions documented
  • Test data uses placeholders (no hardcoded credentials)
  • Priority assigned

Automated Tests:

  • Role-based locators used
  • Web-first assertions implemented
  • Page Object Model applied
  • test.step() grouping for clarity
  • Error handling and screenshots
  • Credentials loaded from environment variables

Bug Reports:

  • Reproducible steps
  • Environment documented
  • Screenshots/evidence attached
  • Severity/priority set

Templates

Available Templates

TemplatePurposeFormat
test-plan.mdISTQB-aligned test plan structureMarkdown
test-case.mdIndividual test case with full sectionsMarkdown
bug-report.mdDetailed defect reportMarkdown
playwright-test.mdPlaywright test template with best practicesMarkdown

Template Usage

All templates are located in templates/. To use them:

  1. Copy the template to your project directory
  2. Fill in placeholders (marked with [brackets] or ${VARIABLE})
  3. Customize sections based on your specific needs
  4. Remove or add sections as appropriate
  5. Save and version control the completed document

References

  • references/test_case_templates.md - Standard formats for all test types
  • references/bug_report_templates.md - Documentation templates
  • references/regression_testing.md - Suite building and execution
  • references/playwright_automation.md - Browser automation and test generation

Examples

<details> <summary><strong>Example: Using the Test Case Template</strong></summary>

Request:

"Create a test case for user login with valid credentials using the test-case.md template"

Result: The AI will:

  1. Open templates/test-case.md
  2. Fill in the placeholders with specific details:
    • TC-ID: TC-LOGIN-001
    • Title: Verify valid user login with correct credentials
    • Priority: P0 (Critical)
    • Type: Functional
    • Objective: Verify users can successfully login with valid credentials
    • Preconditions: User account exists in test environment; Browser cookies cleared
    • Test Steps: Fill with specific login steps
    • Test Data: Use ${TEST_USER_EMAIL} and ${TEST_USER_PASSWORD} placeholders
  3. Provide the completed test case markdown file
</details> <details> <summary><strong>Example: Using the Bug Report Template</strong></summary>

Request:

"Create a bug report for a login form validation issue using the bug-report.md template"

Result: The AI will:

  1. Open templates/bug-report.md
  2. Generate a unique bug ID (e.g., BUG-1715345678)
  3. Fill in the placeholders:
    • Title: Login form accepts invalid email format
    • Severity: High
    • Priority: P1
    • Environment: Fill with actual OS, browser, build details
    • Steps to Reproduce: Add specific, reproducible steps
    • Expected vs Actual: Clear description of the issue
    • Impact: Describe user and business impact
  4. Provide the completed bug report markdown file
</details> <details> <summary><strong>Example: Using the Playwright Spec Template</strong></summary>

Request:

"Create Playwright tests for the login flow using the playwright-test.md template"

Result: The AI will:

  1. Open templates/playwright-test.md
  2. Customize the test describe block for login functionality
  3. Add specific test cases:
    • TC-LOGIN-001 @smoke @regression - Valid login
    • TC-LOGIN-002 @regression @negative - Invalid credentials
    • TC-LOGIN-003 @regression @boundary - Password validation
  4. Implement test steps using Playwright best practices:
    • Role-based locators (getByRole)
    • Web-first assertions (toBeVisible, toHaveText)
    • test.step() grouping for readability
  5. Add security notes about environment variables
  6. Provide the completed markdown template with TypeScript code examples
</details>

Best Practices (avoids the anti-patterns above)

Test Case Writing

  • Be specific and unambiguous; include expected results for each step
  • Test one thing per case; document all preconditions and test data
  • Include edge cases and boundary values; use consistent naming

Bug Reporting

  • Provide minimal, exact reproduction steps; specify environment details
  • Include screenshots/videos and describe user and business impact
  • Set severity/priority; avoid duplicates with clear, specific titles

Regression Testing

  • Automate repetitive tests; prioritize critical paths
  • Run smoke tests frequently; review and prune the suite regularly
  • Tag consistently; never ignore failed regression tests

Security

  • Use environment variables for credentials; never commit secrets
  • Validate URLs before navigating; report suspicious content
  • Never execute arbitrary JavaScript from user input

Quality Gates (Self-Check)

  • Test plan includes scope, approach, risks, environments, entry/exit criteria, deliverables, and metrics
  • Test cases are traceable, atomic, deterministic, and include clear oracles and data
  • Automation is maintainable (stable locators, minimal flake, independent tests, clear assertions)
  • Regression is risk-based, tagged, and curated with clear add/remove rules
  • Bug reports are reproducible, actionable, and contain evidence + environment + impact

Troubleshooting

ProblemCauseSolution
Test cases lack traceabilityMissing requirement IDsAdd requirement_id column; link to user stories/ACs
Bug reports get rejectedInsufficient reproduction stepsUse minimal steps; include exact data and environment
Regression suite too slowToo many tests, no prioritizationApply risk-based selection; tier into smoke/sanity/full
Flaky automated testsUnstable locators or timingUse data-testid; avoid sleeps; use Playwright auto-waits
Test estimates are wrongScope creep, missing risksAdd contingency; re-estimate when scope changes

Common Rationalizations

Common shortcuts and "good enough" excuses that erode test quality — and the reality behind each.

RationalizationReality
"Test plans are documentation theater"A good test plan prevents scope creep, missed scenarios, and misaligned expectations before testing begins.
"We can figure out test cases as we go"Ad-hoc testing leaves gaps. Structured test cases ensure systematic coverage and traceability.
"Bug reports can be informal"Reproducible bug reports with exact steps save hours of back-and-forth between tester and developer.
"Estimation is just guessing"Test estimation techniques (function point analysis, Delphi method) improve accuracy and credibility.
"Regression suites maintain themselves"Without curation, suites grow bloated and slow. Regular review and pruning are mandatory.
"Templates slow us down"Templates ensure nothing is forgotten and standardize quality across the team.

"Testing shows the presence, not the absence of bugs." - Edsger Dijkstra

"Quality is not an act, it is a habit." - Aristotle


Verification

After completing this skill's workflow, confirm:

  • Test strategy document created — Covers scope, approach, resources, schedule, and risks
  • Test levels defined — Unit, integration, E2E, and acceptance levels with criteria
  • Entry/exit criteria documented — Clear definition of when testing starts and ends
  • Risk-based prioritization — Tests prioritized by impact x likelihood
  • Environment requirements listed — Hardware, software, data, and network requirements
  • Defect management process defined — How bugs are reported, tracked, and resolved
  • Stakeholder sign-off — Test plan reviewed and approved by relevant stakeholders

FAQ

What does the qa-test-planner skill do?

Generate ready-to-fill QA deliverables from markdown templates: test plans, manual test cases, automated Playwright specs, regression suites, and bug reports. Use when asked to draft or fill any of these artifacts from requirements or user stories. Keywords: test plan, test case, bug report, regression suite, playwright spec, test strategy, test design, template.

How do I install qa-test-planner?

Run npx skills add https://github.com/fugazi/test-automation-skills-agents --skill qa-test-planner in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/qa-test-planner/ (personal) or .claude/skills/qa-test-planner/ (project).

Which AI agents can use qa-test-planner?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is qa-test-planner safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains qa-test-planner?

It is published by fugazi in fugazi/test-automation-skills-agents. It has 106 recorded installs.

More from fugazi/test-automation-skills-agents

View all →

playwright-e2e-testing

fugazi/test-automation-skills-agents

Author and maintain versioned Playwright (@playwright/test) TypeScript UI specs for browser user flows. Use when asked to create, run, debug, or refactor E2E tests, form/navigation/auth flows, responsive checks, UI mocking, fixtures, Page Objects, or visual comparisons. Use api-testing for standalone REST/GraphQL contracts and playwright-cli for live browser sessions. Keywords: E2E spec, Playwright test, POM, fixtures, UI regression.

Testing & QA616 installs

qa-manual-istqb

fugazi/test-automation-skills-agents

Open the skill to read its SKILL.md instructions.

Testing & QA200 installs

a11y-playwright-testing

fugazi/test-automation-skills-agents

Accessibility testing for web applications using Playwright (@playwright/test), TypeScript, and axe-core. Use to write, run, or debug WCAG 2.2 AA checks, keyboard and focus tests, ARIA/semantic validation, accessible names, form labels, color contrast, or screen-reader test patterns. Keywords: accessibility, WCAG, axe-core, keyboard navigation, focus management, ARIA.

Testing & QA139 installs

api-testing

fugazi/test-automation-skills-agents

Open the skill to read its SKILL.md instructions.

Testing & QA101 installs

webapp-playwright-testing

fugazi/test-automation-skills-agents

Open the skill to read its SKILL.md instructions.

Testing & QA82 installs

playwright-regression-testing

fugazi/test-automation-skills-agents

Govern Playwright TypeScript regression suites across many tests. Use when asked to plan, select, tier, execute, or optimize suites with risk/change analysis, tags, CI/CD, sharding, flaky-test management, or suite-health metrics; not for authoring one UI spec. Keywords: regression strategy, smoke tests, test selection, CI pipeline, flaky tests, test sharding, impact analysis, git diff.

Testing & QA82 installs

Popular testing & qa skills

View category →

tdd

mattpocock/skills

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

Testing & QA1.2M installs

grilling

mattpocock/skills

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

Testing & QA996.2K installs

migrate-to-shoehorn

mattpocock/skills

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

Testing & QA484.1K installs

run-train

lllllllama/rigorpilot-skills

Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.

Testing & QA337.8K installs

test-driven-development

obra/superpowers

Use when implementing any feature or bugfix, before writing implementation code

Testing & QA261.8K installs

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

Testing & QA216.8K installs