Skip to content
Kitbay
Skill

tdd-workflow

MITUpdated on Nov 17, 2026305,644GitHub stars

A test-driven development skill from the ECC collection that the agent applies when writing features, fixing bugs or refactoring.

What the skill teaches

A test-driven development skill from the ECC collection that the agent applies when writing features, fixing bugs or refactoring. It detects the project's test runner, writes user journeys, turns them into test cases, runs them to see them fail, implements, reruns, refactors, and then checks that coverage reaches at least 80 percent across unit, integration and end-to-end tests. It includes example patterns for Jest or Vitest unit tests, Bun's own test runner, API integration tests and Playwright end-to-end tests, plus guidance on laying out test files and mocking services such as Supabase and Redis.

Capabilities

  • Detect the project's test runner
  • Turn user journeys into failing test cases
  • Require 80 percent coverage across unit, integration and E2E tests
  • Provide Jest, Vitest, Bun and Playwright test patterns