Qa methodology

From theheavenlyd3mon/hermes-profiles · View interactive version

Qa methodology is an AI agent skill from the GitHub repository theheavenlyd3mon/hermes-profiles. Design and apply QA methodology for software teams: test strategy, regression testing, CI failure triage, test automation, quality gates and metrics, risk-based testing, exploratory testing, test design techniques, AI code quality gates (independent verification, acceptance-criteria testability revi

How to use this skill

Skill file

QA Methodology

Senior-to-principal QA and SDET methodology: test strategy, automation, regression, risk-based prioritization, exploratory testing, quality gates, AI code quality gates for agentic Spec-Driven Development, agentic eval design, career leveling, and SDET engineering.

Ownership

| You own | You don't own |

|---------|--------------|

| Test strategy — what to test, at what level, with what priority | Root-cause debugging — route to systematic-debugging |

| Test automation — framework selection, parallelism, flaky management | Security implementation and threat modeling — route to secure-software-engineering |

| Regression suites — selection, impact analysis, suite evolution | Spec pipeline mechanics and gate verdicts — route to spec-driven-development |

| Quality gates — blocking vs advisory, metrics, DORA | Eval framework governance and statistics — route to agent-evals-and-observability |

| Risk-based testing — P×I scoring, prioritization, registers | Verification verdicts against explicit criteria — route to verification-methodology |

| Exploratory testing — SBTM charters, heuristics, tours | Feature implementation — that's the developer |

| AI code quality gates — independent verification, AC testability | Production monitoring and incident response — that's SRE |

| Mutation-guided test hardening — bounded mutation review evidence and survivor triage | Verification verdicts against explicit criteria — route to verification-methodology |

| Agentic eval design — dataset design, judge bias, flaky-eval discipline | |

| QA career levels — Senior/Staff/Principal scope progression | |

| SDET engineering — test infrastructure, gTAA, CI/CD integration | |

Core Principles

If it isn't tested, it's broken. Untested code is code whose failure mode hasn't been discovered yet.

Quality is a property of the process, not the artifact. Testing at the end doesn't create quality. Quality is designed in through strategy, automation, and gating throughout the cycle.

Test behavior, not implementation. Tests coupled to behavior survive refactoring; tests coupled to implementation break on it.

Risk drives priority. Not everything deserves equal test investment. Score probability × impact, then allocate accordingly.

Flaky tests are worse than no tests. A nondeterministic failure trains teams to ignore all failures. Quarantine on detection; rerun once, never twice.

Independent verification is non-negotiable. The implementing agent (or developer) must not self-verify. Separate session, fresh context, no shared priors.

Loading Guide

| File | Load when |

|------|-----------|

| references/test-strategy.md | Designing a test strategy — pyramid shape, shift-left/right, cost-of-failure, coverage as diagnostic |

| references/test-automation.md | Selecting frameworks, parallelism/sharding, flaky quarantine, predictive ML test selection, mutation-guided hardening |

| references/quality-gates-and-metrics.md | Designing quality gates (blocking vs advisory), DORA metrics, vanity-vs-actionable metrics, mutation testing |

| references/regression-testing.md | Building regression suites — impact analysis, selection math, suite evolution, shift-right feedback |

| references/test-data-management.md | Test data strategy — fixtures, factories, time-travel, masking, GDPR/PII rules |

| references/performance-testing.md | Load/stress/soak testing — k6/Locust/Gatling/JMeter, SLO thresholds, CI cadence |

| references/security-testing.md | Security testing — OWASP Top 10:2025, STRIDE, SAST/DAST/SCA, supply chain/SBOM |

| references/ci-failure-triage.md | CI is red — exit-code taxonomy (1/2/126/127/137/139/143), git bisect, flake-vs-failure protocol |

| references/test-debugging.md | A test that should pass is failing — CI-vs-local divergence, ordering/shared state, mock binding |

| references/risk-based-testing.md | Prioritizing by risk — P×I formula, 5×5 matrix, risk workshop, register, reassessment triggers |

| references/exploratory-testing.md | Exploratory testing — SBTM, charter writing, SFDIPOT/HICCUPPS heuristics, tours |

| references/test-design-techniques.md | Choosing test design techniques — EP, BVA, decision tables, state transition, pairwise, error guessing |

| references/qa-career-levels.md | QA career growth — Senior/Staff/Principal scope, leveling mechanics, archetypes, misconceptions |

| references/sdet-engineering.md | SDET role and skills — gTAA/TAF architecture, POM, SOLID for tests, build-vs-buy, testability |

| references/ai-code-quality-gates.md | Reviewing AI-generated code — independent verification, AC testability, agent-test quality, human-in-the-loop |

| references/agentic-eval-design.md | Designing agent evals — dataset test design, judge bias, flaky-eval discipline, CI gate tiers, replay |

| templates/test-strategy.md | Producing a test strategy document — fill in scope, risk tiers, level allocation, automation targets |

| templates/risk-register.md | Recording risk assessment results — fill in items, P×I scores, owners, mitigations |

| templates/exploratory-charter.md | Writing an SBTM charter — fill in target, resources, discovery goal, timebox |

| templates/bug-report.md | Filing a structured bug report — fill in reproduction steps, expected vs actual, severity |

| templates/verification-plan.md | Planning independent verification — fill in AC-to-method traceability, verifier assignment, exit criteria |

| templates/mutation-review.md | Recording bounded mutation review scope, classifications, survivor tests, and independent evidence |

| assets/risk-matrix-grid.md | Scoring risks during a workshop — 5×5 P×I grid with zone thresholds |

| assets/test-design-techniques-checklist.md | Selecting techniques for a feature — quick-reference checklist mapping scenario type to technique |

| assets/qa-definition-of-done.md | Defining release readiness — QA contribution to definition of done |

| scripts/risk-prioritize.py | Computing P×I rankings from a risk-items JSON file |

| scripts/check-ac-testability.py | Checking acceptance criteria for vague verbs and missing observable outcomes |

| evals/evals.json | Running output-quality evals for this skill (schema v1, 10 cases) |

Scripts

| Script | Invocation | Purpose |

|--------|-----------|---------|

| risk-prioritize | python3 scripts/risk-prioritize.py --json <input.json> | Reads risk items (probability, impact), computes P×I scores, emits ranked JSON |

| check-ac-testability | python3 scripts/check-ac-testability.py <spec.md> | Scans acceptance criteria for untestable language, exits non-zero if any are flagged |

Triggers

Load this skill when the task involves:

When not to use

Route to the named sibling skill instead:

Stop and Exit Conditions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.