Test
Write tests for existing code or validate test coverage.
Purpose
The Test skill analyzes existing code, identifies untested paths, writes tests for edge cases and critical functionality, and reports coverage gaps.
Usage
/development:test <feature>Example:
/development:test auth-systemWhat It Does
- Reads source code and identifies all public interfaces
- Assesses current test coverage
- Writes tests for untested paths — critical paths first, then edge cases
- Runs the full test suite
- Reports coverage gaps and test health
Output
Creates .metapowers/development/<feature>/03-test.md containing:
- Coverage assessment (what was and wasn't tested)
- Tests added with descriptions
- Remaining gaps
- Test health notes (flaky or slow tests)