wicked-garden-qe-coverage-archaeologist

wicked-garden-qe-coverage-archaeologist is a skill for Claude Code from mikeparcewski/wicked-garden. It costs 72 tokens per session (407 once invoked), scanned A, original, MIT.

A legacy-code testing skill that finds important code paths with little or no test coverage. It combines coverage data with code history, caller relationships, complexity, error handling, and feature flags to rank the riskiest gaps.

In plain words
What is it for?
Use it for legacy-code audits, test-debt reviews, coverage-gap analysis, and planning new tests. It produces a ranked list with the file location, risk reason, suggested test, and estimated effort.
Why use it?
A large list of uncovered lines does not show which gaps matter most. This focuses attention on old or complex code that many callers or important business paths depend on.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wicked-garden plugin — 145 skills, 5 commands, 1 agent, 13 hooks shipped together

Good fit Use it for legacy-code audits, test-debt reviews, coverage-gap analysis, and planning new tests. It produces a ranked list with the file location, risk reason, suggested test, and estimated effort.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mikeparcewski/wicked-garden/qe-coverage-archaeologist
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 mikeparcewski/wicked-garden --skill qe-coverage-archaeologist
Clone the repo
git clone --depth 1 https://github.com/mikeparcewski/wicked-garden

Made for: Claude Code.

Or install wicked-garden, the plugin that ships this one along with the rest of its 145 skills, 5 commands, 1 agent, 13 hooks.

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 wicked-garden-qe-coverage-archaeologist

README.md
[![agentmods](https://agentmods.dev/badge/skills/mikeparcewski/wicked-garden/qe-coverage-archaeologist/github.svg)](https://agentmods.dev/skills/mikeparcewski/wicked-garden/qe-coverage-archaeologist)
Your own site
<a href="https://agentmods.dev/skills/mikeparcewski/wicked-garden/qe-coverage-archaeologist"><img src="https://agentmods.dev/badge/skills/mikeparcewski/wicked-garden/qe-coverage-archaeologist/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 wicked-garden-qe-coverage-archaeologist

Your own site · 80×15
<a href="https://agentmods.dev/skills/mikeparcewski/wicked-garden/qe-coverage-archaeologist"><img src="https://agentmods.dev/badge/skills/mikeparcewski/wicked-garden/qe-coverage-archaeologist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 407 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.
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.00072 $0.00407
Opus 5.5 $0.00029 $0.00163
Sonnet 5.5 $0.00014 $0.00081
Haiku 4.5 $0.00007 $0.00041

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

Security

Grade A, and why

wicked-garden-qe-coverage-archaeologist 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/qe-coverage-archaeologist/SKILL.md · 48 lines

What it actually says

Coverage Archaeologist

Legacy code accumulates untested paths. You dig through the layers and surface what's both untested and important.

Signals

  • Coverage — lines not hit by any test
  • Blame age — code that's been there >2 years with no recent touches often has no tests because it was written before tests mattered
  • Call-graph fan-in — untested code that many callers depend on
  • Complexity — cyclomatic complexity + untested = high risk
  • Error-path — try/catch blocks whose catch is never exercised
  • Feature flag dead-ends — both sides of a flag should be tested

Prioritization

Rank findings by impact × exposure:

  • Impact: revenue path, auth, data integrity, security
  • Exposure: fan-in × traffic (library call count; HTTP path qps if known)

Top 10 findings beat 500 findings. Noise hides signal.

Process

  1. Ingest coverage report (lcov / cobertura / native)
  2. Annotate with git blame age
  3. Annotate with call-graph (tree-sitter or language server)
  4. Rank by the heuristic above
  5. Produce a top-N list with one-line rationale each

Output

A ranked list: file:line | reason | suggested test | effort (S/M/L). Hand off to wicked-garden-qe-test-automation-engineer for the follow-up.

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 · -7 lines d8be5eb08789
  2. 1mo ago Changed · +2 lines 2570fbf8b39e
  3. 1mo ago First seen · 53 lines · 72 tokens per session scan A 51107d86ddae

Subscribe to this mod's changes

wicked-garden-qe-coverage-archaeologist is a skill published in the GitHub repository mikeparcewski/wicked-garden (9 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 407 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

brooks-test

Test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock abuse, coverage illusions, slow…

hyhmrright/brooks-lint · 161 tokens

testing-laravel

Writes Laravel tests using PHPUnit. Use when "write tests", "add tests", "phpunit", "laravel test", "feature test", "unit test", "mock", "factory", or testing controllers, models, services, actions, jobs, artisan commands, or API endpoints.

iliaal/whetstone · 63 tokens

testing-react

Writes React/TypeScript tests using Vitest and React Testing Library. Use when "write react tests", "vitest", "component test", "hook test", "RTL", "testing library", "snapshot test", or testing React components, hooks, and utilities.

iliaal/whetstone · 57 tokens

write-tests

Write tests for existing production code. Processes ONE file at a time through a full pipeline: analyze, inventory (frozen BEFORE writing), write, executable coverage gate, verify, blind coverage audit, adversarial review, log. Uses CodeSift for discovery and analysis when available. Modes: [path] (specific target)…

greglas75/zuvo · 87 tokens

Component Test Scaffold (Next.js)

Generate React/Next.js component test skeletons (RTL) from specifications.

s977043/river-review · 22 tokens

Test Scaffold (Laravel/PHPUnit)

Generate PHP/Laravel (PHPUnit) test skeletons from specifications.

s977043/river-review · 23 tokens