Auditing Test Quality

Community

Elevate test suites, eliminate vanity tests.

Authorkynoptic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Poor quality tests (e.g., vanity tests, low mock-to-assertion ratio) lead to false confidence, high maintenance, and missed bugs. This Skill systematically audits test suites to identify and fix these issues, ensuring your tests provide real value.

Core Features & Use Cases

  • Automated Quality Audit: Runs a script to assess test quality, identifying non-behavioral names, excessive mocks, and poor assertion ratios.
  • Prioritized Issue Fixing: Guides users through fixing high, medium, and low-priority test issues, transforming vanity tests into robust behavioral tests.
  • CI/CD Integration: Provides configurations for pre-commit hooks and CI workflows to enforce test quality standards continuously.
  • Use Case: Review a legacy test suite to identify and refactor tests that only assert mocks were called, turning them into meaningful behavioral validations.

Quick Start

Use the "Auditing Test Quality" skill to run a quality audit on the project's test suite and suggest improvements.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Auditing Test Quality
Download link: https://github.com/kynoptic/markdownlint-trap/archive/main.zip#auditing-test-quality

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.