The TypeScript Testing skill provides a comprehensive framework for frontend quality assurance within Claude Code. It enforces strict testing standards, including a 60% minimum coverage rule and the Red-Green-Refactor development cycle. By leveraging Vitest, React Testing Library, and MSW for API mocking, it ensures that your frontend tests are independent, reproducible, and focused on user-observable behavior rather than implementation details. It is ideal for teams looking to standardize their testing architecture, maintain high coverage across atomic design components, and improve codebase reliability through automated, context-aware workflows.
主要功能
01Standardized Red-Green-Refactor TDD workflow guidance
02Automated Vitest and React Testing Library (RTL) test generation
0335 GitHub stars
04Type-safe Mock Service Worker (MSW) integration for API mocking
05Enforcement of ADR-0002 coverage standards (60-70% targets)
06Co-located test directory management for improved maintainability