qa-metrics
[QA Method] Quality metrics & gates: pass rate, defect density, DRE, coverage tracking, quality gate enforcement.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
[QA Method] Quality metrics & gates: pass rate, defect density, DRE, coverage tracking, quality gate enforcement.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | qa-metrics |
| description | [QA Method] Quality metrics & gates: pass rate, defect density, DRE, coverage tracking, quality gate enforcement. |
| argument-hint | [metrics|gates|report|trends] |
| disable-model-invocation | true |
Measure test effectiveness and enforce quality gates for sprint releases, full releases, and regression runs. Use to assess current quality posture, track trends, or validate go/no-go decisions.
/qa-metrics # Full overview (all metrics + gates)
/qa-metrics metrics # Metric definitions and formulas
/qa-metrics gates # Quality gate thresholds only
/qa-metrics report # Generate quality report from latest run
/qa-metrics trends # Analyze trends from history.json
Compute the numbers deterministically — don't do the arithmetic by hand.
npm run metrics:compute -- --history reports/regression/history.json [--gate smoke|sprint|release|hotfix] [--suite <id>] [--since <ISO>] [--p0-bugs N] [--p1-bugs N] [--json](scripts/regression/compute-metrics.ts) is the single source for every formula inquality-metrics-catalog.md(pass/fail/blocked/skip rate, velocity, defect density) and every trend (sprint-over-sprint delta, rolling average, consecutive drops, flakiness), plus the gate verdict perquality-gates.md§9 (PASS/FAIL or APPROVED / WITH CONDITIONS / BLOCKED). It exits non-zero on BLOCKED/FAIL so it can gate CI. Pass-rate criteria are computed from the run history; open-P0/P1 bug counts come from JIRA, so supply them via--p0-bugs/--p1-bugs(default 0). The skill's job is to run this, then write the narrative around the numbers — never to recompute them.
Determine the context:
metrics → Read quality-metrics-catalog.md, list all metric definitionsgates → Read quality-gates.md, show gate thresholds for the relevant release typereport → Read both files, compute metrics from latest regression results in reports/regression/trends → Read quality-metrics-catalog.md "Using history.json" section, analyze reports/regression/history.jsonFor quality reports:
reports/regression/quality-gates.mdFor trend analysis:
reports/regression/history.json (90-day rolling window)For go/no-go decisions:
quality-gates.md/qa-risk to determine which metrics matter most for current scope/qa-evidence for output formatting of quality reports/qa-risk)[Testing] Review test cases for quality, determinism, completeness, data validity, coverage gaps, duplication, live environment verification, and behavioral triangulation against docs + live + source. Delegates browser verification to qa-testing-expert; triangulation to ba-system-analyzer.
[Testing] Postman MCP collections — create, configure, verify, and export collections with proper variables, auth, and endpoints
[Testing] Autonomous test coverage gap analysis and generation — identifies missing test cases, generates enriched CSV test cases, validates P0 cases via browser, and reports improvements. Single-agent counterpart to /qa-coverage-generation.
Repo/tracker routing library for the vc-fix plugin — decides which external product repo owns a bug (client vs platform), whether the fix delivers as a direct PR, a fork-PR, or an upstream issue, and which VCS/tracker host to talk to. Used by /qa-fix and /project-init. Self-contained — no dependency on the ci/ directory.
Build, launch, smoke-test, and health-check the vc-mcp-testing-module agentic QA tooling repo. Use when asked to run, start, verify, smoke-test, or sanity-check this repo's tooling — env:check, @td() resolution, suite manifest sync, critical-UI-scope, seed dry-run, GraphQL fixture validation — or before running regression.
[QA Methodology] Triage a completed regression run's failures: collect each FAIL + its evidence (trace, screenshots, console, network) + failing CSV row, dedup + flag flaky, classify each into real-product-bug vs test-defect (bad steps / bad assertion / stale test data / stale test) vs flaky/env/known, live-verify the real ones, then route test-defects to /qa-review-tests --fix and draft bug reports. Detect-classify-verify-report only — never files a tracker ticket, never triggers /qa-fix.