testing

Review test suites against the testing pyramid, FIRST principles, and regression discipline.

Updated May 28, 2026
One-click install
npx skills add https://github.com/syntropic137/harness-app-template --skill testing-syntropic137
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/syntropic137/harness-app-template/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/syntropic137/harness-app-template --skill testing-syntropic137

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the core pain of untested codebases where refactoring is fear-driven, regressions slip to users, and release confidence erodes over time.

Core Features & Use Cases

  • Testing Pyramid Guidance: Helps distribute unit, integration, and end-to-end tests to balance speed and feedback for optimal suite efficiency.
  • TDD & Regression Discipline: Enforces test-first development and mandatory regression tests for all bug fixes to prevent recurring issues.
  • Test Quality Standards: Provides rules for test readability, locality, and FIRST principle compliance to keep tests maintainable as the codebase grows.
  • Use Case: For a production web service, use this Skill to enforce a 90% unit test coverage CI gate, implement regression tests for every bug fix, and structure tests so new contributors can quickly find coverage for any module.

Quick Start

Ask the AI to review your project's test suite against the testing pyramid, FIRST principles, and regression discipline guidelines to identify gaps and actionable improvements.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I enforce test coverage gating and stop regressions from reaching production?

Test coverage gating prevents untested code from shipping by enforcing a minimum threshold, like 90% unit test coverage, in your CI pipeline. To stop regressions, you must implement mandatory regression tests for every bug fix.

What is the testing pyramid and how does it balance speed and feedback?

The testing pyramid distributes tests across unit, integration, and end-to-end layers to balance execution speed and feedback. By weighting unit tests heavily, it maintains optimal suite efficiency while keeping slower end-to-end tests minimal.

How do I adopt test-driven development and enforce test discipline?

Test-driven development adoption requires enforcing a test-first workflow where code is written against failing tests. Enforcing test discipline involves checking FIRST principle compliance, test readability, and test locality standardization to keep tests maintainable as the codebase grows.

How do I review my test suite for maintainability and FIRST principle compliance?

Review your test suite by evaluating test readability, test locality, and FIRST principle compliance. Apply testing pyramid guidance to identify gaps in unit, integration, and end-to-end distribution, ensuring tests remain maintainable as the codebase scales.

What's the best way to structure tests so new contributors can find module coverage?

The best way to structure tests is through test locality standardization, placing tests adjacent to their corresponding modules. This ensures new contributors can quickly find coverage for any module and understand the test code quality at a glance.