test-suite-curation

test-suite-curation is a skill for Claude Code, Codex from petrkindlmann/qa-skills. It costs 230 tokens per session (5,805 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.

not rated 117repo +9 3mo ago A scan Socket: passSnyk: passSkillSpector: pass 230 tokens original MIT

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 5,805 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 13 Jun 2026
  • Snyk pass 13 Jun 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.05805
Opus 5 $0.00115 $0.02903
Sonnet 5 $0.00046 $0.01161
Haiku 4.5 $0.00023 $0.00581

Measured 10d ago against content hash 6b0ae132ad2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 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. 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 · 269 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. 10d 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 (117 stars, last pushed 3mo ago), licensed MIT. It adds 230 tokens to every session and 5,805 once invoked, about $0.0011 per session on Opus 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

Other skills, from other repositories

meter-compare

Compare CocoMeter accuracy and cost results with correctness-first ordering. Usage: $meter compare .

Snowflake-Labs/cocoplus · 29 tokens

test

Enter the Test phase of CocoBrew. Reads spec.md test requirements, generates test cases, executes SQL validation and quality checks, records results in test.md. Can be re-run without full rebuild. Requires Build phase completion.

Snowflake-Labs/cocoplus · 47 tokens

afrexai-react-production

Complete methodology for building production-grade React applications with architecture decisions, component design, state management, performance optimization, testing, and deployment.

LeoYeAI/openclaw-master-skills · 32 tokens

Vibe Coding Mastery

The complete operating system for building software with AI. From first prompt to production deployment — prompting frameworks, architecture patterns, testing strategies, debugging playbooks, and production graduation checklists. Works with Claude Code, Cursor, Windsurf, Copilot, and any AI coding tool.

LeoYeAI/openclaw-master-skills · 61 tokens

contract

Outcome-driven Cortex function development — declares a behavioral contract before generation begins, enforces evidence-tiered proof before $ship, and defends against the self-oracle evaluation failure mode.

Snowflake-Labs/cocoplus · 38 tokens

Auth Bypass Tester

Comprehensive authentication and authorization bypass testing including session hijacking, privilege escalation, JWT manipulation, and access control verification.

PramodDutta/qaskills · 27 tokens