QA Expert
World-class QA process using Google Testing Standards + OWASP best practices.
Initialize
python scripts/init_qa_project.py <project-name> [output-dir]
Creates tests/docs/, tests/e2e/, tests/fixtures/, tracking CSVs (TEST-EXECUTION-TRACKING.csv, BUG-TRACKING-TEMPLATE.csv), doc templates (BASELINE-METRICS.md, WEEKLY-PROGRESS-REPORT.md), and a master QA prompt.
Test cases (AAA pattern)
Format TC-[CATEGORY]-[NUMBER] (e.g. TC-CLI-001, TC-SEC-007). Structure: Prerequisites (Arrange) → Test Steps (Act) → Expected Results (Assert). Assign priority P0-P4. Include edge cases.
Execution — Ground Truth Principle
- Test case docs are authoritative for test steps. The tracking CSV holds execution status ONLY — never trust it for specs.
- Always read the test from the category doc, execute exactly, update tracking CSV immediately after each test (never batch), file a bug if it fails.
- Autonomous mode: paste the master prompt to an LLM — it auto-executes, auto-tracks, auto-files bugs, auto-resumes from last completed test, escalates P0.
Bug severity
- P0 Blocker (24h): security vuln, core broken, data loss
- P1 Critical: major feature broken w/ workaround
- P2 High: minor/edge case
- P3 Medium: cosmetic
- P4 Low: doc typo
Required fields: Bug ID, Severity, numbered repro steps, environment.
Metrics & quality gates
python scripts/calculate_metrics.py path/to/TEST-EXECUTION-TRACKING.csv
All gates must pass to release: Test Execution 100%, Pass Rate ≥80%, P0 = 0, P1 ≤5, Code Coverage ≥80%, Security 90% OWASP.
Security (OWASP Top 10, target 90%)
A01 Broken Access Control, A02 Crypto Failures, A03 Injection, A04 Insecure Design, A05 Misconfig, A07 Auth Failures, plus data integrity/logging/SSRF. Each test = AAA with documented attack vector.
Sizing
50 tests → 2 weeks, daily summary. 200 → 4 weeks, daily+weekly. 500+ → 8-10 weeks, +stakeholder reports.
Success
Reproducible by any engineer, objectively-measured gates, fully-documented bugs, real-time CSV visibility, autonomous-capable, handoff-ready.
1---2name: qa-expert-test-strategy-autonomous-execution3description: Use when establishing a QA process — writing test cases (AAA), tracking bugs with P0-P4 severity, computing quality-gate metrics, OWASP security testing, or enabling autonomous LLM-driven test execution.4tags: [qa, testing, test-cases, bug-tracking, owasp, security-testing, quality-gates, coverage, aaa-pattern, autonomous]5source: daymade/claude-code-skills6derived_from: qa-expert7metadata:8 source: https://skillmd.com/skills/aashutosh396/qa-expert-test-strategy-autonomous-execution9---1011# QA Expert1213World-class QA process using Google Testing Standards + OWASP best practices.1415## Initialize16```bash17python scripts/init_qa_project.py <project-name> [output-dir]18```19Creates `tests/docs/`, `tests/e2e/`, `tests/fixtures/`, tracking CSVs (`TEST-EXECUTION-TRACKING.csv`, `BUG-TRACKING-TEMPLATE.csv`), doc templates (`BASELINE-METRICS.md`, `WEEKLY-PROGRESS-REPORT.md`), and a master QA prompt.2021## Test cases (AAA pattern)22Format `TC-[CATEGORY]-[NUMBER]` (e.g. TC-CLI-001, TC-SEC-007). Structure: Prerequisites (Arrange) → Test Steps (Act) → Expected Results (Assert). Assign priority P0-P4. Include edge cases.2324## Execution — Ground Truth Principle25- **Test case docs are authoritative** for test steps. The tracking CSV holds execution status ONLY — never trust it for specs.26- Always read the test from the category doc, execute exactly, update tracking CSV **immediately after each test** (never batch), file a bug if it fails.27- **Autonomous mode**: paste the master prompt to an LLM — it auto-executes, auto-tracks, auto-files bugs, auto-resumes from last completed test, escalates P0.2829## Bug severity30- **P0 Blocker** (24h): security vuln, core broken, data loss31- **P1 Critical**: major feature broken w/ workaround32- **P2 High**: minor/edge case33- **P3 Medium**: cosmetic34- **P4 Low**: doc typo35Required fields: Bug ID, Severity, numbered repro steps, environment.3637## Metrics & quality gates38```bash39python scripts/calculate_metrics.py path/to/TEST-EXECUTION-TRACKING.csv40```41All gates must pass to release: Test Execution 100%, Pass Rate ≥80%, P0 = 0, P1 ≤5, Code Coverage ≥80%, Security 90% OWASP.4243## Security (OWASP Top 10, target 90%)44A01 Broken Access Control, A02 Crypto Failures, A03 Injection, A04 Insecure Design, A05 Misconfig, A07 Auth Failures, plus data integrity/logging/SSRF. Each test = AAA with documented attack vector.4546## Sizing4750 tests → 2 weeks, daily summary. 200 → 4 weeks, daily+weekly. 500+ → 8-10 weeks, +stakeholder reports.4849## Success50Reproducible by any engineer, objectively-measured gates, fully-documented bugs, real-time CSV visibility, autonomous-capable, handoff-ready.