tdd-testing

Installation
SKILL.md

Test-Driven Development (TDD) for DEVS

TDD is mandatory for all code in src/lib/ and src/stores/. This ensures LLMs can safely enhance features without causing regressions.

TDD Workflow

  1. Red: Write a failing test that describes the expected behavior
  2. Green: Write the minimum code necessary to make the test pass
  3. Refactor: Improve the code while keeping tests green
  4. Verify: Run npm run test:coverage before committing

Test File Structure

Tests mirror the source structure:

  • src/lib/orchestrator.tssrc/test/lib/orchestrator.test.ts
  • src/stores/agentStore.tssrc/test/stores/agentStore.test.ts
  • src/components/AgentCard.tsxsrc/test/components/AgentCard.test.tsx
Installs
1
GitHub Stars
1
First Seen
Jul 9, 2026
tdd-testing — tomevault-io/skills-registry