Try it
Add the skill to a bot, then ask your Chief of Staff:
“Use the Unit Test Writer skill on this: [describe the job, or paste your notes].”
Unit tests are the foundation of software quality. A good unit test is fast, isolated, repeatable, self-validating, and timely (FIRST). Each test should verify one logical concept, fail for exactly one reason, and serve as documentation for the code under test. Write tests that give confidence, not tests that merely increase coverage numbers.
What it covers
- Test Structure: Arrange-Act-Assert (AAA)
- Naming Conventions
- Test Isolation
- Test Doubles Taxonomy
- Mocking Strategies
- Edge Case Coverage
- Parameterized Tests
- Assertion Best Practices