概要
The Unit Test Generator skill empowers developers to maintain high code quality by automatically creating robust, production-ready unit tests for various source files. It intelligently analyzes code logic, exported functions, and conditional branches to identify happy paths, edge cases, and error-handling scenarios. Designed to support modern workflows, it generates tests for React components, custom hooks, and API routes using Jest or Vitest frameworks while adhering to the AAA (Arrange, Act, Assert) pattern and best practices like dependency mocking and accessibility testing.