test-analyzer

test-analyzer is a skill for Claude Code from euxx/claude-skills-for-copilot. It costs 39 tokens per session (682 once invoked), scanned A, original, MIT.

A coding-agent skill that reviews whether tests cover important user-visible behaviors and failure cases. It focuses on meaningful scenarios rather than simply counting how many lines are covered.

In plain words
What is it for?
Use it after adding or changing tests to find missing error paths, boundary cases, state changes, security inputs, and tests that check implementation details instead of behavior.
Why use it?
A high line-coverage percentage can still miss errors, edge cases, and important business behavior; this review looks for those gaps and for brittle tests.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it after adding or changing tests to find missing error paths, boundary cases, state changes, security inputs, and tests that check implementation details instead of behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/euxx/claude-skills-for-copilot/test-analyzer
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 euxx/claude-skills-for-copilot --skill test-analyzer
Clone the repo
git clone --depth 1 https://github.com/euxx/claude-skills-for-copilot

Made for: Claude Code.

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-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/euxx/claude-skills-for-copilot/test-analyzer/github.svg)](https://agentmods.dev/skills/euxx/claude-skills-for-copilot/test-analyzer)
Your own site
<a href="https://agentmods.dev/skills/euxx/claude-skills-for-copilot/test-analyzer"><img src="https://agentmods.dev/badge/skills/euxx/claude-skills-for-copilot/test-analyzer/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-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/euxx/claude-skills-for-copilot/test-analyzer"><img src="https://agentmods.dev/badge/skills/euxx/claude-skills-for-copilot/test-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 682 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.00039 $0.00682
Opus 5 $0.00019 $0.00341
Sonnet 5 $0.00008 $0.00136
Haiku 4.5 $0.00004 $0.00068

Measured 10d ago against content hash bae55f5b6fd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

test-analyzer 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-analyzer/SKILL.md · 79 lines

How it starts

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

Test Analyzer

Review test coverage quality from a behavioral perspective. Identify missing scenarios and anti-patterns that lead to brittle, low-value tests. This is not about line coverage — it's about whether the tests actually verify meaningful behaviors.

Review Focus

1. Critical Gap Detection

Identify untested or inadequately tested scenarios:

  • Error handling paths: throw, rejected promises, network failures, validation errors
  • Boundary conditions: empty collections, null/undefined inputs, max values, type edges
  • State transitions: concurrent operations, partial failures, interrupted sequences
  • Business logic: the core value-producing behaviors of the code
  • Security-relevant inputs: injection attempts, oversized inputs, malformed data (skip if the code has no external input surface)

2. Test Quality Assessment

Evaluate tests against DAMP principles (Descriptive And Meaningful Phrases):

  • Resilience: Do tests break on implementation changes that don't affect behavior? If so, they're testing how not what.
  • Descriptiveness: Does the test name describe the behavior under test or the input?
  • Isolation: Do tests depend on each other or on external state?
  • Completeness: Does each test assert enough to be meaningful?
  • Setup clarity: Is it clear what state is being set up and why?

3. Test Smell Detection

  • Over-mocking (faking so much that the test doesn't test anything real)
  • Testing implementation details (accessing private methods/fields)
  • Tests that only verify no exception is thrown
  • Assertions that always pass
  • Tests with no assertions
  • Time-dependent tests without proper mocking
  • Tests that rely on ordering of unordered collections

Priority Rating

For each identified gap or issue, assign a priority 1–10:

  • 8–10: Critical — this gap could allow a serious production bug through
  • 5–7: Important — meaningful coverage that should exist
  • 1–4: Nice to have — improves completeness but lower risk

Read the full file on GitHub · 79 lines

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 · 79 lines · 39 tokens per session scan A bae55f5b6fd3

Subscribe to this mod's changes

test-analyzer is a skill published in the GitHub repository euxx/claude-skills-for-copilot (4 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 682 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

vscode-visual-regression

Write Storybook stories and visual regression tests for the Kilo VS Code extension webview UI.

Kilo-Org/kilocode · 25 tokens

test-writer

Write, extend, or review tests in any codebase. Use this skill whenever the user asks to write tests, add test coverage, test a new feature, fix failing tests, or audit existing test files — regardless of language, framework, or project. Also trigger for "add tests for", "write tests for", "cover this with tests"…

anchildress1/awesome-github-copilot · 130 tokens

backseat-driver-testing

Testing strategies for Calva Backseat Driver MCP tools. Use when: Testing Backseat Driver, validating tool updates, testing structural editing workflows, verifying REPL evaluation with who-tracking, testing shadow-cljs runtime discovery and targeting, testing output log filtering, testing load-file tool, smoke testing…

BetterThanTomorrow/calva-backseat-driver · 106 tokens

dotnet-testing-advanced-tunit-advanced

A guide for advanced TUnit testing in .NET. TUnit is a testing framework; the guide covers tests driven by data, dependency injection, integration tests, retries, time limits, and filtering.

kevintsengtw/dotnet-testing-agent-skills · 211 tokens

dotnet-testing-autodata-xunit-integration

A guide for using AutoFixture, a .NET library that creates test data, with xUnit, a .NET testing framework. It explains attributes such as AutoData, InlineAutoData, and MemberAutoData for supplying values to parameterized tests.

kevintsengtw/dotnet-testing-agent-skills · 181 tokens

dotnet-testing-autofixture-nsubstitute-integration

A .NET testing guide for using AutoFixture and NSubstitute to automatically create test data and substitute versions of dependencies.

kevintsengtw/dotnet-testing-agent-skills · 217 tokens