测试与安全

test-suite-curation

petrkindlmann/qa-skills

Audit a whole regression suite and prune/restructure it with evidence: per-test coverage fingerprinting, AST near-duplicate clustering, CI-history mining for never-failing and flaky tests, prune decision rules (redundant/obsolete/low-value/keep), smoke/core/extended tiering by risk and defect-detection history, and a defensible "what we deleted and why" record. Deletion is destructive — quarantine and human sign-off are mandatory. Use when: "audit the test suite," "prune redundant tests," "find duplicate tests," "which tests can we delete," "restructure into smoke/core/extended," "is this test pulling its weight," "shrink the regression suite." Not for: Judging whether an individual test is WELL-WRITTEN (smells, assertions) — that is ai-qa-review. Healing one flaky test at runtime — that is test-reliability. Bulk selector regeneration after a UI refactor — that is selector-drift-recovery. Related: ai-qa-review, coverage-analysis, test-reliability, risk-based-testing, qa-project-context.

  • 1078 次安装
  • 226 星标
  • 收录于

安装命令

npx skills add https://github.com/petrkindlmann/qa-skills --skill test-suite-curation

SKILL.md

Quick Route

You want to... Go to
Find which lines/branches each test uniquely covers Coverage Fingerprinting
Decide if "same coverage" means "delete one" The Coverage-Equality Trap
Surface copy-pasted near-duplicate tests Near-Duplicate Clustering
Find never-failing and always-flaky tests Mining CI History
Decide redundant vs obsolete vs low-value vs keep Prune Decision Rules
Split a flat suite into smoke/core/extended Tiering
Safely delete the tests you flagged Destructive Safety
Produce the "what we deleted and why" record The Audit Record

Discovery Questions