harness-testing

Validate PR test coverage against declared thresholds and test strategy documents.

3|1|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/unclenate/auto-harness --skill harness-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harness-testing
Source: https://github.com/unclenate/auto-harness/tree/main/platform/skills/harness-testing
Command: npx skills add https://github.com/unclenate/auto-harness --skill harness-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents AI-assisted development from shipping changes without adequate test coverage, ensuring PRs include the right tests and meet the project’s declared thresholds.

Core Features & Use Cases

  • Governed test discipline: enforces rules for when tests must be added, verified, and coverage thresholds must not be reduced without proper human approval.
  • Layered testing guidance: maps unit, integration, E2E, and contract testing to what each layer should cover and how to choose the right one.
  • Framework configuration patterns: provides practical coverage runs and conventions for common stacks (Jest/Vitest and Pytest/FastAPI), plus how to analyze missing coverage.

Quick Start

Ask the AI to review your planned changes against docs/testing/coverage-thresholds.md and docs/testing/test-strategy.md and then specify exactly what tests to add and how to verify coverage before opening a PR.

Frequently Asked Questions about harness-testing

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

FAQPage Schema
How do I ensure AI-assisted code changes meet test coverage thresholds before opening a PR?

To ensure AI-assisted changes meet test coverage thresholds, review planned changes against testing strategy and coverage documents, specify required tests to add, run the suite, and verify results satisfy declared thresholds before opening a PR.

What testing layers should I use when designing a test strategy for governed projects?

When designing a test strategy for governed projects, map unit, integration, E2E, and contract testing layers to specific coverage scopes, choosing the appropriate layer based on what each tests to satisfy project requirements.

Can I use this to configure test frameworks like Jest or Pytest for coverage validation?

Yes, you can configure test frameworks like Jest, Vitest, Pytest, and FastAPI for coverage validation by applying provided practical coverage runs and conventions, plus analyzing missing coverage specific to those common stacks.

Why does my PR fail CI validation when test coverage thresholds are reduced?

PRs fail CI validation when test coverage thresholds are reduced because governed test discipline enforces rules requiring proper human approval before coverage thresholds can be lowered, preventing insufficient test validation.

How do I flag skipped or pending tests in a pull request?

To flag skipped or pending tests in a pull request, run the test suite during validation and explicitly note any tests that are skipped or pending within the PR documentation before submission.