Agent skill
qa-engineer-duc01226-easyplatform
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/qa-engineer-duc01226-easyplatform
SKILL.md
QA Engineer Assistant
Help QA Engineers create comprehensive test specifications, generate test cases from acceptance criteria, and ensure adequate test coverage.
Summary
Goal: Assist QA Engineers with test planning, test case generation from acceptance criteria, coverage analysis, and regression risk identification.
| Step | Action | Key Notes |
|---|---|---|
| 1 | Test planning | Define scope, strategy, environments, data needs |
| 2 | Test case generation | Convert GIVEN/WHEN/THEN acceptance criteria to test cases |
| 3 | Coverage analysis | Map test cases to requirements, identify gaps |
| 4 | Regression identification | Assess impact of changes on existing functionality |
Key Principles:
- Every test case must have evidence linking to code (
{file}:{line}) - Cover all test types: unit, integration, E2E, regression, smoke, performance
- Standard format: TC-{MOD}-{NNN} with preconditions, steps, expected results
Core Capabilities
1. Test Planning
- Define test scope and strategy
- Identify test environments and data needs
- Plan regression test suites
2. Test Case Generation
From Acceptance Criteria
Convert GIVEN/WHEN/THEN to test cases:
AC: Given user is logged in
When user clicks logout
Then user is redirected to login page
TC: TC-AUTH-001: Successful logout
Precondition: User authenticated
Steps:
1. Click logout button
2. Observe redirect
Expected: Login page displayed
Evidence: {file}:{line}
3. Test Types
| Type | Purpose | When |
|---|---|---|
| Unit | Single function | During dev |
| Integration | Component interaction | After merge |
| E2E | Full user flow | Before release |
| Regression | Existing functionality | Every sprint |
| Smoke | Critical paths | Every deploy |
| Performance | Load/stress | Pre-release |
4. Coverage Analysis
- Map test cases to requirements
- Identify coverage gaps
- Calculate coverage percentage
Test Case Format
Standard Format
#### TC-{MOD}-{NNN}: {Descriptive title}
- **Priority:** P1 | P2 | P3
- **Type:** Positive | Negative | Boundary | Integration
- **Preconditions:** {Setup required}
- **Test Data:** {Data requirements}
**Steps:**
1. {Action step}
2. {Action step}
3. {Verification step}
**Expected Result:**
- {Observable outcome}
**Evidence:** `{FilePath}:{LineNumber}`
Gherkin Format
#### TC-{MOD}-{NNN}: {Title}
- **Priority:** P1
- **Type:** Positive
**Given** {precondition}
**And** {additional setup}
**When** {user action}
**Then** {expected outcome}
**And** {additional verification}
**Evidence:** `{FilePath}:{LineNumber}`
Workflow Integration
Creating Test Spec from PBI
When user runs /team-test-spec {pbi-file}:
- Read PBI and acceptance criteria
- Identify test scenarios (positive, negative, edge)
- Create test specification structure
- Save to
team-artifacts/test-specs/
Generating Test Cases
When user runs /team-test-cases {test-spec-file}:
- Read test specification
- Generate detailed test cases
- Assign TC IDs (TC-{MOD}-{NNN})
- Find code evidence for each case
- Update test spec with cases
Test ID Conventions
Module Codes
| Module | Code |
|---|---|
| TextSnippet | TXT |
| ExampleApp | EXP |
| Accounts | ACC |
| Common | COM |
ID Format
TC-{MOD}-{NNN}
Examples:
TC-TXT-001 # TextSnippet test case 1
TC-EXP-015 # ExampleApp test case 15
TC-ACC-101 # Accounts integration test
TC-COM-201 # Common edge case
Edge Case Categories
Input Validation
- Empty/null values
- Boundary values (min, max, min-1, max+1)
- Invalid formats
- SQL injection attempts
- XSS payloads
State-Based
- First use (empty state)
- Maximum capacity
- Concurrent access
- Session timeout
Integration
- Service unavailable
- Network timeout
- Partial data response
- Rate limiting
Evidence Requirements
MANDATORY: Every test case must have code evidence.
Valid Evidence Formats
{RelativeFilePath}:{LineNumber}
{RelativeFilePath}:{StartLine}-{EndLine}
Finding Evidence
- Search for error messages in
ErrorMessage.cs - Find validation logic in Command handlers
- Locate frontend validation in components
- Reference entity constraints
Output Conventions
File Naming
{YYMMDD}-qa-testspec-{feature-slug}.md
Test Spec Structure
- Overview
- Test Summary (counts)
- Functional Tests
- Integration Tests
- Edge Cases
- Test Data Requirements
- Regression Impact
- Sign-Off
Quality Checklist
Before completing QA artifacts:
- Every test case has TC-{MOD}-{NNN} ID
- Every test case has Evidence field with file:line
- Test summary counts match actual test cases
- At least 3 categories: positive, negative, edge
- Regression impact identified
- Test data requirements documented
IMPORTANT Task Planning Notes
- Always plan and break many small todo tasks
- Always add a final review todo task to review the works done at the end to find any fix or enhancement needed
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?