test-behavior-not-implementation

Installation
SKILL.md

Testing Trophy

Testing philosophy for React and TypeScript projects. Based on Kent C. Dodds' Testing Trophy and TkDodo's testing principles.

Testing Trophy Priorities

From most to least valuable:

  1. Integration tests — test multiple units working together (highest confidence per effort)
  2. Unit tests — test individual functions in isolation
  3. End-to-end tests — test full user flows (highest confidence, highest cost)
  4. Static analysis — TypeScript, ESLint (cheapest, catches typos and type errors)

"The more your tests resemble the way your software is used, the more confidence they can give you." — Kent C. Dodds

Core Principles

1. Test behavior, not implementation

Related skills

More from b4r7x/agent-skills

Installs
9
First Seen
Mar 22, 2026