phase-4-validator

Validate testing phase completion with 100% test pass rate and environment health checks.

1|1|Updated Jun 28, 2025
One-click install
npx skills add https://github.com/DarkMonkDev/WitchCityRope --skill phase-4-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phase-4-validator
Source: https://github.com/DarkMonkDev/WitchCityRope/tree/main/.claude/skills/phase-4-validator
Command: npx skills add https://github.com/DarkMonkDev/WitchCityRope --skill phase-4-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, docker, curl, dotnet, npm, playwright, grep, wc, find, bc, and includes scripts (resource) components.

What problem does it solve?

Deploying code with failing tests introduces critical bugs and instability into production, leading to costly rollbacks, user dissatisfaction, and a loss of trust.

Core Features & Use Cases

  • Zero Tolerance Pass Rate: Enforces a 100% test pass rate across unit, integration, and E2E tests for all work types, blocking advancement if any test fails.
  • Environment Health Check: Verifies that Docker containers are running, the database is healthy, and API/Web services are responding before running tests.
  • Coverage & Quality Assessment: Checks API and React code coverage, identifies flaky tests, and assesses overall test quality and documentation.
  • Use Case: Before the 'user-management' feature can be finalized, use this Skill to automatically run all tests, confirm 100% pass rate, and validate the testing environment's health.

Quick Start

Validate the testing phase, ensuring all tests pass and the environment is healthy.

Frequently Asked Questions about phase-4-validator

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

FAQPage Schema
How do I enforce a 100% test pass rate before deployment?

A 100% test pass rate validation blocks code advancement until all unit, integration, and E2E tests pass. This Skill automatically runs your test suite across all work types (Feature, Bug, Hotfix, Docs, Refactor) and halts progression if any test fails, preventing untested code from reaching production.

What environment checks happen before running tests?

Environment health validation verifies Docker containers are running, the database is accessible, and API and web services are responding. These checks confirm your testing infrastructure is ready before executing the test suite.

Can I validate code coverage thresholds in my CI/CD pipeline?

Yes. Coverage validation checks API code against an 80% threshold and React code against 70%. The Skill assesses whether your codebase meets these quality gates as part of the testing phase validation.

How do I detect flaky tests and assess test quality?

Test quality assessment identifies flaky tests and evaluates overall test robustness alongside documentation validation. This ensures your test suite is reliable and maintainable before code advances to finalization.

What happens if tests fail or the environment is unhealthy?

The Skill returns exit code 1 and blocks progression, preventing deployment. Exit code 0 signals success and permits advancement to the Finalization Phase, enforcing a strict quality gate.

Does this work for all types of development work?

Yes. The Skill validates testing completion across all work types: Features, Bug fixes, Hotfixes, Documentation, and Refactoring, applying consistent quality standards regardless of change scope.