audit-tests

Audit unit, integration, and end-to-end tests for redundancies and gaps.

9|1|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/conn-castle/agent-layer --skill audit-tests-conn-castle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-tests
Source: https://github.com/conn-castle/agent-layer/tree/main/internal/templates/skills/audit-tests
Command: npx skills add https://github.com/conn-castle/agent-layer --skill audit-tests-conn-castle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit and improve the health of your test suite by identifying redundancy, quality gaps, and organizational issues across unit, integration, and e2e tiers.

Core Features & Use Cases

  • Discovers test conventions, classifies tests by tier, and flags misclassified tests.
  • Identifies duplicative, low-value, or weak assertions and suggests safe removals or consolidation.
  • Generates a structured audit report at a designated path and provides recommended fixes and next steps.

Quick Start

Run the audit workflow to generate the report at .agent-layer/tmp/audit-tests.<run-id>.report.md.

Frequently Asked Questions about audit-tests

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

FAQPage Schema
How do I identify redundancies and gaps in my test suite?

Running an audit workflow discovers test conventions, classifies tests by tier, and flags misclassified tests across your project. It identifies duplicative or weak assertions and generates a structured report with recommended fixes.

What is test suite health and how does an audit improve it?

Test suite health reflects the quality and efficiency of unit, integration, and e2e tests. An audit improves it by identifying low-value tests, suggesting safe removals or consolidation, and providing clear recommendations for organizational issues.

Can I audit unit, integration, and end-to-end tests at the same time?

Yes, you can audit unit, integration, and end-to-end tests simultaneously. The audit classifies tests by tier across these boundaries, flags any misclassified tests, and evaluates the entire suite for redundancy and quality issues.

How do I generate a formal report for test quality assurance findings?

Run the audit workflow to produce a structured audit document at a designated path like `.agent-layer/tmp/audit-tests.<run-id>.report.md`. This report classifies findings and provides recommended fixes for your test suite.

What's the best way to find weak assertions and low-value tests in test automation?

Use a test audit tool that analyzes test automation code for duplicative or low-value assertions. It identifies these issues across tiers and suggests safe removals or consolidation to refine overall test suite health.