What problem does it solve?
makeup-js modules often have incomplete unit test coverage, leaving untested code branches, edge cases, and guard clauses that can hide bugs. Manually identifying these gaps and writing tests that match the project's existing conventions is time-consuming and error-prone.
Core Features & Use Cases
- Automated Gap Identification: Analyzes module source code and existing tests to pinpoint uncovered branches, functions, edge cases, and negative input guards, either via a provided coverage report or by running the project's coverage tooling.
- Convention-Matched Test Writing: Generates new tests that exactly follow the project's BDD structure, vi mocking patterns, and file formatting, without modifying existing test files.
- Use Case: A developer working on the makeup-roving-tabindex module can use this skill to quickly write tests for uncovered edge cases like empty input lists or invalid keyboard events, ensuring full coverage without manual review of the entire test suite.
Quick Start
Use the add-unit-tests skill to write missing unit tests for the makeup-keyboard-trap module to close its test coverage gaps.