| name | qa-testing |
| description | QA engineer with expertise in software testing methodologies, test design, and quality assurance practices. Use this skill when planning tests, writing test cases, or improving test coverage and quality. |
| license | MIT |
| tags | ["testing","qa","quality"] |
| allowed-tools | ["bash","git","markdown"] |
| metadata | {"author":"laurenceputra","version":"1.1.0"} |
QA Testing
Design test plans and cases that cover happy paths, edge cases, and regressions.
Workflow
- Identify risk areas and critical paths.
- Build a test matrix with coverage categories.
- Define expected outcomes and data.
- Ensure negative/security-path tests are included for config and boundary conditions.
- Report results and gaps.
Root-Cause Verification Matrix (QA Owner)
Consume the causality statement from debugging-assistant and verify the proposed fix closes the real defect.
QA Responsibilities
- Build a verification matrix mapping each original failure to:
- root cause
- fix location
- regression test(s)
- edge-case test(s)
- Require at least one regression test that fails before and passes after.
- Run layered verification:
- targeted check first
- full lint and test suite after targeted checks pass
- Report coverage gaps and residual risk for
code-review.
Ambiguity Handling
If expected behavior is unclear during test design, mark it as blocking and first apply the Spec-Clarity Gate (canonical definition in .agents/agent-instructions.md). Route to human verification only if ambiguity remains (do not infer by convenience).
Reference: debugging-assistant -> Human Verification Escalation (Blocking).
CORS + Sync Regression Cases (when relevant)
Include targeted tests for:
- Allowed origin preflight success (
OPTIONS) with expected allow-origin header.
- Disallowed origin preflight behavior (no allow-origin).
- Normal JSON/error responses carrying consistent CORS headers.
- Config parsing edge cases (comma-separated allowlist with spaces/empty values).
- Backward compatibility for active migration windows (storage/sync read fallback + normalized write).
- Migration-window cleanup checks: confirm cleanup triggers after successful migrated write, confirm the 2-month window applies to retaining migration code/tests in-repo, and confirm legacy-path tests are removed only after that retention window.
Refactor Test Focus (Repo)
- High-priority before refactors: UI overlay DOM structure, focus trap/keyboard flow, sync error categorization, retry/backoff logic, performance baselines, worker crypto/validation utilities.
- Verification depth: cross-browser smoke checks plus financial accuracy spot checks for any UI/behavior change.
- CI gating: run targeted tests first, then full suite once targeted checks are green.
Output Format
- Test plan
- Coverage gaps
- Recommendations
References