test-suite-curation

test-suite-curation is a skill for Claude Code, Codex from petrkindlmann/qa-skills. It costs 230 tokens per session (6,313 once invoked), scanned A, original, MIT.

A method for auditing and reorganizing a complete automated test suite. It compares what tests cover, finds near-duplicates, examines CI history for flaky or never-failing tests, and groups tests into smoke, core, and extended tiers.

In plain words
What is it for?
Use it to identify unique test coverage, cluster similar tests, review flaky behavior, decide which tests to keep or delete, and document the audit decisions.
Why use it?
It helps remove redundant, obsolete, or low-value tests without guessing, while preserving tests that detect important defects. CI history means the record of tests run by automated build checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to identify unique test coverage, cluster similar tests, review flaky behavior, decide which tests to keep or delete, and document the audit decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/petrkindlmann/qa-skills/test-suite-curation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add petrkindlmann/qa-skills --skill test-suite-curation
Clone the repo
git clone --depth 1 https://github.com/petrkindlmann/qa-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-suite-curation

README.md
[![agentmods](https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/test-suite-curation/github.svg)](https://agentmods.dev/skills/petrkindlmann/qa-skills/test-suite-curation)
Your own site
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/test-suite-curation"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/test-suite-curation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-suite-curation

Your own site · 80×15
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/test-suite-curation"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/test-suite-curation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 230 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,313 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 23 Oct 2026
  • Snyk pass 23 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00230 $0.06313
Opus 5.5 $0.00092 $0.02525
Sonnet 5.5 $0.00046 $0.01263
Haiku 4.5 $0.00023 $0.00631

Measured 1mo ago against content hash 9c17f086d08c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-suite-curation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/test-suite-curation/SKILL.md · 279 lines

How it starts

The opening of the file, as written. The whole thing — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

First, check .agents/qa-project-context.md in the project root and skip anything it already answers; an unfilled template answers nothing, so treat it as absent. Then clarify:

  • Which language/runner? pytest+coverage.py, Jest/Vitest+Istanbul, Go, JUnit — the per-test context mechanism differs per stack (and so does the mutation tool).
  • Is there CI test-result history, and how far back? No JUnit/Datadog/Trunk history means you cannot mine never-failing or flaky signals — you only have coverage and clustering.
  • What is the suite size and current wall-clock time? This sizes the tiering target (e.g. smoke under 5 min) and whether per-test coverage is feasible in one run or must be sharded.
  • What is the business risk map / critical paths? Tiering and the "keep" disposition both depend on it. If absent, run risk-based-testing first.
  • Who signs off on deletions, and is there a CODEOWNERS file? Deletion is destructive; you need a named approver before this skill removes anything.
  • What is the acceptable observation window? How long the team will run quarantined tests as skipped before permanent removal (default: 2 sprints / 2 releases).

Read the full file on GitHub · 279 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 9c17f086d08c
  2. 1mo ago Changed · +8 lines 3f4b8145163e
  3. 3mo ago First seen · 269 lines · 230 tokens per session scan A 6b0ae132ad2b

Subscribe to this mod's changes

test-suite-curation is a skill published in the GitHub repository petrkindlmann/qa-skills (314 stars, last pushed 15d ago), licensed MIT. It adds 230 tokens to every session and 6,313 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

test-suite-curation compared with skills from other repositories

test-suite-curation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-suite-curationpetrkindlmann/qa-skillsSkill31415d agoMITA230Claude Code, Codex
platform-engineeringmagnus919/agent-skillsSkill202todayMITA105Claude Code, Codex
woodpecker-cimagnus919/agent-skillsSkill202todayMITA87Claude Code, Codex
github-runnermagnus919/agent-skillsSkill202todayMITA76Claude Code, Codex
CI Pipeline OptimizerPramodDutta/qaskillsSkill25328d agoMITA29Claude Code, Codex
Flaky Test QuarantinePramodDutta/qaskillsSkill25328d agoMITA32Claude Code, Codex
CI/CD Pipeline AdvancedPramodDutta/qaskillsSkill25328d agoMITA45Claude Code, Codex