qa-unit-test-creation

Installation
SKILL.md

Vitest Unit Test Creation Patterns

"Unit tests verify the smallest parts of your code work correctly."

When to Use This Skill

Use when creating unit tests for:

  • React components (including React Three Fiber)
  • Zustand stores
  • Services and utilities
  • ECS components and systems
  • Hooks and custom functions

CRITICAL: NEVER CREATE FAKE OR TRIVIAL TESTS. If a test cannot be created with meaningful assertions based on the specs/gdd requirements, DO NOT CREATE A TEST. Instead, report the issue to PM and document the gap in test coverage in the task comments and close the task as completed with observations.

Test File Locations

Pattern: Mirror src/ structure in src/tests/

Installs
2
GitHub Stars
1
First Seen
Mar 24, 2026