testing-strategy-enforcement
OfficialEnforce rigorous testing across unit and E2E.
System Documentation
What problem does it solve?
This Skill provides governance and concrete patterns to ensure comprehensive test coverage, robust unit and end-to-end tests, performance budgets, and accessibility checks across Black Trigram's codebase, preventing regressions and quality gaps.
Core Features & Use Cases
- Enforces minimum coverage targets (e.g., 90% lines, 90% functions, 85% branches, 90% statements) across the project.
- Standardizes unit tests (Vitest) and E2E tests (Cypress) workflows, with prescribed file organization and testing patterns.
- Guides PR reviews and CI checks to ensure new features meet quality, performance, and accessibility requirements.
- Supports specialized testing patterns for React/Three.js components, UI flows, and gameplay logic, including bilingual accessibility considerations.
Quick Start
Install and configure Vitest and Cypress in your project, then create tests following the described patterns. Write unit tests for new features, add E2E tests for critical user flows, and include accessibility and performance tests. Integrate tests into CI to enforce quality before merge.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: testing-strategy-enforcement Download link: https://github.com/Hack23/blacktrigram/archive/main.zip#testing-strategy-enforcement Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.