test-quality

Validate JavaScript/TypeScript test suites against best-practice rules and generate a structured report.

Updated Nov 2, 2025
One-click install
npx skills add https://github.com/SelrahcD/claude-marketplace --skill test-quality-selrahcd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-quality
Source: https://github.com/SelrahcD/claude-marketplace/tree/main/selrahcd-dot-claude/skills/test-quality
Command: npx skills add https://github.com/SelrahcD/claude-marketplace --skill test-quality-selrahcd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates and enforces high-quality tests by detecting structural issues, anti-patterns, and data setup problems across a codebase.

Core Features & Use Cases

  • Reads and analyzes test files to identify structural issues, anti-patterns, and naming/readability gaps.
  • Launches parallel validation agents per category (structure, setup-data, dependencies, naming-readability, unit-test-criteria, anti-patterns, database) and aggregates results into a final report.
  • Provides step-by-step improvements and actionable guidance for refactoring tests to meet best practices.

Quick Start

Run the validator on your test suite to generate an actionable quality report.

Frequently Asked Questions about test-quality

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

FAQPage Schema
How do I validate test quality and detect anti-patterns in JavaScript test suites?

Test quality validation analyzes test files against established best-practice rules to identify structural issues, anti-patterns, and naming gaps. It launches parallel validation agents across categories like structure, dependencies, and database interactions to aggregate a final actionable report.

What is the best way to enforce unit test criteria and best practices in TypeScript?

Validating unit test criteria involves checking test files against established best-practice rules to detect structural issues and anti-patterns. The validator assesses naming readability, setup data, and dependencies, providing step-by-step improvements to refactor tests effectively.

Does the test quality validation support integration tests and database interaction rules?

Yes, test quality validation supports integration tests and database interaction rules. The validator analyzes JavaScript and TypeScript test files across multiple categories, including database interactions, and aggregates the results into a structured actionable report.

How do I get step-by-step improvements for refactoring tests with structural issues?

To get step-by-step improvements for refactoring tests, run the validator on your test suite to identify structural issues and anti-patterns. It produces an actionable quality report that guides your refactoring process to meet best practices.

Can I check naming readability and dependencies in my test files automatically?

Yes, you can automatically check naming readability and dependencies in your test files. The validation process launches parallel agents specifically for these categories to analyze your test suite and aggregates the findings into a structured report.