skills/general/qa-test-case-writer/SKILL.md
Comprehensive UI test case generation for QA teams. Use when the user wants to write test cases for a feature, project, or webpage. Generates happy flow, edge cases, and security test cases for client-facing UI (not API tests). Creates test cases in Notion databases following standardized format with Test Case ID, Title, Pre-condition, Test Steps, Expected Result, Test Data, Post-condition, Priority (P0-P3), and status tracking. Triggers on requests like "write test cases for [feature]", "create QA tests", "generate test scenarios", or when user provides feature documentation to test.
npx skillsauth add beam-ai-team/beam-next-skills qa-test-case-writerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate comprehensive UI test cases for client-facing web applications and push them to Notion databases.
Before creating test cases in Notion or writing local test artifacts, show the feature/module, source docs, target Notion database/page, test case prefix, and number of cases to create. Require explicit user approval in the current turn before writing files or updating Notion. Drafting test cases in chat does not require approval.
Obtain complete feature details from the user through one of these methods:
If information is incomplete, ask clarifying questions about:
Ask user for:
If user provides a Notion URL, fetch the existing database to:
Create test cases covering these categories:
Each test case must follow this exact schema:
| Field | Description | Example | |-------|-------------|---------| | Test Case ID | Prefix + sequential number | SI-001, WS-015 | | Test Case Title | Brief descriptive title | Valid login with correct credentials | | Pre-Condition | Required state before test | User exists with verified email | | Test Steps | Numbered steps to execute | 1) Enter email → Next 2) Enter password → Submit | | Expected Result | What should happen | Login success → Redirect to dashboard | | Test Data | Specific data for the test | Email: [email protected], Pass: ValidPass@123 | | Post Condition | State after test completes | Session active, user logged in | | Priority | P0 (Critical) to P3 (Low) | P0 |
Use the existing Test Case Template to create test case pages efficiently.
https://www.notion.so/2d92cadfbbbc80659271c50ea2d52415collection://2d92cadf-bbbc-80a5-b179-000b911e5f5eIf user provides an existing feature page URL with an inline database:
Fetch the target page to get the inline database data source:
Notion:notion-fetch with the page URL
Get the data source URL from the inline database (look for data-source-url in the response)
Create test case pages using Notion:notion-create-pages:
{
"parent": {"data_source_id": "<data-source-id-from-step-2>"},
"pages": [
{
"properties": {
"Test Case ID": "SI-001",
"Test Case Title": "Valid login with correct credentials",
"Pre-Condition": "User exists with verified email",
"Test Steps": "1) Enter whitelisted email → Next 2) Enter correct password → Submit",
"Expected Result": "Login success → Redirect to workspace/onboarding",
"Test Data": "Email: [email protected], Pass: ValidPass@123",
"Post Condition": "Session active",
"Priority": "P0"
}
}
]
}
If user needs a new feature page for test cases:
Duplicate the template page using Notion:notion-duplicate-page:
{
"page_id": "2d92cadfbbbc80659271c50ea2d52415"
}
Rename the duplicated page using Notion:notion-update-page with the feature name
Fetch the new page to get its inline database data source URL
Create test case pages in the new database using Notion:notion-create-pages
| Property | Type | Values | |----------|------|--------| | Test Case ID | title | e.g., "SI-001" | | Test Case Title | text | Descriptive title | | Pre-Condition | text | Required state before test | | Test Steps | text | Numbered steps | | Expected Result | text | What should happen | | Test Data | text | Specific test data | | Post Condition | text | State after test | | Priority | select | P0, P1, P2, P3 | | Status by Dev | status | Not started, Failed, Passed | | Status by QA | status | Not started, Failed, Passed |
Important:
[email protected], ValidPass@123[valid_token], [user_email]Reference references/security-tests.md for common security test patterns including:
Reference references/ui-test-patterns.md for:
For a "Password Reset" feature, generate test cases like:
| ID | Title | Pre-Condition | Test Steps | Expected Result | Test Data | Post Condition | Priority | |----|-------|---------------|------------|-----------------|-----------|----------------|----------| | PR-001 | Valid password reset request | User exists with verified email | 1) Click "Forgot Password" 2) Enter registered email → Submit | Success message shown, reset email sent | Email: [email protected] | Reset token generated | P0 | | PR-002 | Reset with invalid email format | None | 1) Click "Forgot Password" 2) Enter invalid email → Submit | Validation error: "Invalid email format" | Email: invalid-email | No email sent | P1 | | PR-003 | SQL injection in email field | None | 1) Enter malicious input in email field → Submit | Input sanitized, appropriate error shown | Email: [email protected]' OR 1=1-- | No bypass, no data leak | P0 |
tools
Build a Palantir-shape, PDF-native use-case proposal document for a sophisticated enterprise account: research-grounded use cases (each with description, challenge, impact, value), an operating-graph ontology page, a recommended PoC with a week-by-week plan, and a closing page that asks for one decision. Load when a client asks us to 'propose high-impact use cases', requests a use-case presentation/catalog for a function (finance, HR, ops), or when a technical evaluation team will review candidates to pick a PoC. NOT for single-account cold outreach (use prospect-brief), full process diagnostics (use operating-diagnostic), or priced proposals (use proposal-creation).
development
Convert Beam Figma slide designs into high-fidelity, editable HTML presentation decks. Use when Codex is asked to audit Figma slides, extract slide templates, rebuild Beam slides as HTML decks, decide whether Figma imagery should be exported or rebuilt in HTML/CSS, create Beam/Prism-compatible deck templates, or improve fidelity of existing Beam HTML slide rebuilds.
development
Use the Beam AI reusable slide library: individual HTML slide templates extracted from Beam Figma rebuilds, kept separate from deck themes and full deck templates. Load when the user asks for a slide library, specific Beam slide patterns, reusable Figma-inspired slides, Prism slide-library items, or slide-level HTML templates.
development
Use Beam AI deck and report design packs, HTML templates, and curated examples to create sales decks, customer intro decks, RPO decks, and DIN A4 use-case proposal reports. Load when the user asks for Beam-branded presentation templates, Prism-compatible deck templates, Beam report templates, customer intro decks, commercial proposals, or reusable HTML deck/report examples.