This skill should be used when establishing comprehensive QA testing processes for any software project...
Set up test cases, execution tracking, bug reports and QA handoffs using AAA test structure and OWASP security categories.
Trigger this skill when:
One-command initialization:
uv run <qa-expert-dir>/scripts/init_qa_project.py <project-name> <project-root>
What gets created:
tests/docs/, tests/e2e/, tests/fixtures/)TEST-EXECUTION-TRACKING.csv, BUG-TRACKING-TEMPLATE.csv)BASELINE-METRICS.md, WEEKLY-PROGRESS-REPORT.md)The output directory is the project root; the script appends tests/. Use a fresh
destination: initialization overwrites its template files. Replace example CSV
rows, write test specifications and bind the project harness before execution.
Resolve <qa-expert-dir> from this loaded Skill's directory, not the target project.
For autonomous execution: Follow the master prompt for preparation, bounded execution and interruption recovery. Initialization creates templates; it does not run tests or install a scheduler.
Initialize QA directories and templates:
uv run <qa-expert-dir>/scripts/init_qa_project.py <project-name> <project-root>
Creates directory structure, tracking CSVs, documentation templates, and master prompt for autonomous execution.
Use when: Starting QA from scratch or migrating to structured QA process.
Write standardized, reproducible test cases following AAA pattern (Arrange-Act-Assert):
assets/templates/TEST-CASE-TEMPLATE.mdTest case format: TC-[CATEGORY]-[NUMBER] (e.g., TC-CLI-001, TC-WEB-042, TC-SEC-007)
Reference: See references/google_testing_standards.md for complete AAA pattern guidelines and coverage thresholds.
For payment, procurement, fulfillment or refund recovery, load transaction recovery acceptance before selecting cases. For schema upgrades, accounting views or integration fixtures, load migration and fixture acceptance. Bind these recipes to the application's existing contract and test harness; retain the general AAA, tracking and reporting workflow.
Ground Truth Principle (critical):
02-CLI-TEST-CASES.md) = authoritative source for test stepsreferences/ground_truth_principle.md for preventing doc/CSV sync issuesManual execution:
02-CLI-TEST-CASES.md) ← always start hereTEST-EXECUTION-TRACKING.csv immediately after EACH test (never batch)BUG-TRACKING-TEMPLATE.csv if test failsAutonomous execution (recommended):
references/master_qa_prompt.mdOn interruption, read back checkpoints and reconcile uncertain side effects before choosing the first unmet test. Future execution requires an available, authorized host runner; a prompt alone does not keep a session running.
File bugs with proper severity classification:
Required fields:
Severity classification:
Reference: Initialization creates tests/docs/templates/BUG-TRACKING-TEMPLATE.csv.
Calculate metrics from the current tracking rows:
uv run <qa-expert-dir>/scripts/calculate_metrics.py <project-root>/tests/docs/templates/TEST-EXECUTION-TRACKING.csv
Metrics dashboard includes:
scripts/calculate_metrics.py owns the built-in
checks and CSV field interpretation. Record results as ✅ PASSED or ❌ FAILED
and completed status as Completed. Its P0 check only reads linked bug IDs and
P0 in tracking notes; it does not read bug severity from the bug log. Coverage,
OWASP mitigation and release acceptance need their own project evidence.
The CLI prints failing checks but still exits 0; it is a report, not a release
gate. Apply the target project's authoritative release policy. Calculate current
totals on demand rather than maintaining another summary table.
Generate QA reports for stakeholders:
Daily summary (end-of-day):
Weekly report (every Friday):
WEEKLY-PROGRESS-REPORT.md (created by init script)BASELINE-METRICS.mdReference: See references/llm_prompts_library.md for task-specific reporting prompts.
Implement OWASP Top 10 security testing:
Coverage targets:
Target: 90% OWASP coverage (9/10 threats mitigated).
Each security test follows AAA pattern with specific attack vectors documented.
For new QA engineers joining a project, complete 5-hour onboarding guide:
Read: references/day1_onboarding.md
Timeline:
Checkpoint: By end of Day 1, environment running, first test executed, ready for Week 1.
Enable LLM-driven autonomous QA testing with single master prompt:
Read: references/master_qa_prompt.md
Features:
Benefits:
Usage: Copy the master prompt, bind it to the actual project and execute an authorized batch. Reinvoke it to resume; use the host's authorized runner for unattended execution and verify its activity separately.
Access detailed guidelines from bundled references:
references/day1_onboarding.md - 5-hour onboarding guide for new QA engineersreferences/master_qa_prompt.md - Preparation, execution, recovery and reporting SOPreferences/llm_prompts_library.md - Prompts for specific QA tasksreferences/google_testing_standards.md - AAA pattern, coverage thresholds, fail-fast validationreferences/ground_truth_principle.md - Preventing doc/CSV sync issues (critical for test suite integrity)Test case templates and bug report formats:
assets/templates/TEST-CASE-TEMPLATE.md - Complete template with CLI and security examplesAutomation scripts for QA infrastructure:
scripts/init_qa_project.py - Initialize QA infrastructure (one command setup)scripts/calculate_metrics.py - Generate quality metrics dashboard1. uv run <qa-expert-dir>/scripts/init_qa_project.py my-app <fresh-project-root>
2. Fill in BASELINE-METRICS.md (document current state)
3. Write test cases using assets/templates/TEST-CASE-TEMPLATE.md
4. Copy master prompt from references/master_qa_prompt.md
5. Verify the project harness and authorization, then execute the approved batch
1. Read references/master_qa_prompt.md
2. Copy the master prompt and bind the project paths
3. Paste to LLM conversation
4. LLM executes the approved batch using project test specifications
5. LLM updates tracking CSVs automatically
6. LLM generates weekly reports automatically
1. Read references/google_testing_standards.md (OWASP section)
2. Write TC-SEC-XXX test cases for each OWASP threat
3. Target 90% coverage (9/10 threats)
4. Document mitigations in test cases
1. Ensure all templates populated
2. Verify BASELINE-METRICS.md complete
3. Package tests/docs/ folder
4. Include references/master_qa_prompt.md for autonomous execution
5. QA team verifies prerequisites, completes the applicable onboarding and follows the project schedule
This skill is effective when: