testing

Installation
SKILL.md

Output-Based Testing for Pure Functions

Test pure functions with input/output assertions. Never unit test hooks, components, or side effects.

When to Use

  • User asks to "write tests" or "add coverage"
  • New business logic is being implemented
  • TDD requested for new feature
  • Coverage report shows untested utils/

Core Pattern

TESTABLE (Functional Core)     │  NOT UNIT TESTED (Imperative Shell)
───────────────────────────────│────────────────────────────────────
Pure functions in utils/       │  React hooks (useX)
Calculations, transformations  │  Components (*.tsx)
Validators, formatters         │  API calls, Firebase operations
Related skills
Installs
27
GitHub Stars
9
First Seen
Feb 3, 2026