dev-testing

Validate unit-test coverage against 85% thresholds for Gate 3 handoffs.

205|26|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/LerianStudio/ring --skill dev-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-testing
Source: https://github.com/LerianStudio/ring/tree/main/dev-team/skills/dev-testing
Command: npx skills add https://github.com/LerianStudio/ring --skill dev-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gate 3 of development cycle - ensures unit test coverage meets threshold (85%+) for all acceptance criteria using TDD methodology.

Core Features & Use Cases

  • Unit test coverage enforcement: ensures critical paths are tested.
  • TDD workflow: RED-GREEN-REFACTOR cycles for reliability.
  • Traceability: maps tests to acceptance criteria.
  • Usage example: verify login AC maps to at least one test with 85%+ coverage.

Quick Start

Provide unit_id, acceptance_criteria, implementation_files, and language; run tests to generate coverage report.

Frequently Asked Questions about dev-testing

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

FAQPage Schema
How do I enforce unit test coverage thresholds in my development workflow?

Unit test coverage enforcement validates that code changes meet minimum thresholds—typically 85%+—by running tests against acceptance criteria. This Skill enforces those thresholds at Gate 3 of your development cycle, generating a coverage report that maps tests to each acceptance criterion across Go, TypeScript, and Python implementations.

Can I use TDD methodology to ensure my acceptance criteria are actually tested?

Yes. This Skill applies test-driven development (RED-GREEN-REFACTOR cycles) to guarantee every acceptance criterion has at least one corresponding unit test with sufficient coverage. It produces a Traceability Matrix that explicitly maps tests to acceptance criteria, making verification automated and transparent.

What languages and file types does unit test coverage work with?

Unit test coverage validation supports Go, TypeScript, and Python implementations. You provide implementation files in your chosen language along with acceptance criteria and unit_id, and the Skill runs tests to generate a coverage report and Markdown-based Testing Summary.

Why do I need 85%+ test coverage instead of lower thresholds?

The 85%+ threshold ensures critical paths and edge cases are tested, reducing the risk of undetected bugs reaching production. This requirement aligns with acceptance criteria verification, ensuring every feature requirement has corresponding test evidence before handoff to the next development gate.

How do I know if my tests actually cover all acceptance criteria?

This Skill generates a Traceability Matrix that explicitly connects each acceptance criterion to its corresponding unit tests and coverage metrics. The output includes a Testing Summary and Coverage Report in Markdown format, plus a Handoff document for downstream gates, making coverage gaps immediately visible.

Can I integrate unit test coverage checking into my existing gate workflow?

Yes. This Skill runs at Gate 3 after Gate 0/1/2 handoffs, accepting unit_id, acceptance_criteria, implementation_files, and language as inputs. It validates coverage thresholds and produces a Handoff to Next Gate output, integrating seamlessly into automated development pipelines.