test-audit

Analyzes coverage reports and anti-patterns to classify tests by unit, integration, and end-to-end layers.

3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/marcoguillermaz/claude-dev-kit --skill test-audit-marcoguillermaz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-audit
Source: https://github.com/marcoguillermaz/claude-dev-kit/tree/main/packages/cli/templates/tier-m/.claude/skills/test-audit
Command: npx skills add https://github.com/marcoguillermaz/claude-dev-kit --skill test-audit-marcoguillermaz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and report static test quality issues by analyzing coverage reports and anti-patterns in the test suite.

Core Features & Use Cases

  • Static analysis of coverage reports (lcov, Istanbul, Cobertura) to quantify quality and identify gaps.
  • Anti-pattern detection across stacks (e.g., .only markers, skipped tests, empty test bodies, missing assertions) and pyramid-shape assessment.
  • Generates a structured audit report and a backlog-ready set of findings for remediation.

Quick Start

Run the test-audit skill on your project to analyze your test suite against coverage reports and anti-pattern checks.

Frequently Asked Questions about test-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect test anti-patterns and skipped tests in my codebase?

Static test analysis detects anti-patterns like .only markers, skipped tests, empty bodies, and missing assertions by scanning the test suite. It flags these issues using a structured severity model to help prioritize backlog remediation.

Can I analyze code coverage reports across multiple programming languages?

Yes, you can parse coverage reports across stacks like Node, Python, Go, Rust, Swift, Kotlin, .NET, and Java. The analysis supports common coverage formats including lcov, Istanbul, and Cobertura to quantify quality gaps.

How do I assess my test pyramid shape for unit, integration, and end-to-end balance?

Test pyramid assessment classifies tests into unit, integration, and end-to-end layers to reveal structural imbalances. This static analysis highlights over-reliance on slow end-to-end tests or insufficient unit test coverage.

What is the best way to generate a backlog-ready audit report for test quality issues?

Generating a backlog-ready audit report involves analyzing coverage files and test anti-patterns to produce structured findings. The resulting report applies a severity model to prioritize remediation tasks for the development team.

Does test quality static analysis work without running my test suite first?

Static test quality analysis evaluates existing coverage reports and source files without executing tests. However, you must generate coverage data in formats like lcov, Istanbul, or Cobertura beforehand to enable gap quantification.