unit-test-writer
Installation
SKILL.md
Unit Test Writer Skill
Purpose
This skill provides systematic guidance for writing comprehensive, maintainable unit tests that achieve high coverage and follow best practices across multiple programming languages.
When to Use
- Need to create unit tests for new code
- Want to improve existing test coverage
- Need guidance on test structure and organization
- Writing tests following TDD methodology
- Ensuring proper mocking and fixtures
Unit Testing Principles
Test Structure: Arrange-Act-Assert (AAA)
Every test should follow this clear pattern: