test-writer
Installation
SKILL.md
Use this template to generate thorough tests for a function or module.
INPUTS
- Code - the code to write tests for
- (optional) Behavior spec
- (optional) Test tech - frameworks, runners
INSTRUCTIONS
- Identify inputs, outputs, and invariants. Derive test matrix.
- Cover happy path, edge cases, and failure modes.
- Include unit and integration tests matching the project's testing stack.
- Provide fixtures, mocks, and stubs with minimal boilerplate.
- Add property/fuzz tests for parsers and validators.
- Include performance and concurrency probes if relevant.
- Ensure tests are deterministic and parallel-safe.
- Keep lines ≤80 chars.