本文へスキップ
Kitbay
スキル

tdd-workflow

MIT2026年11月17日 更新305,644GitHubスター

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

スキルの内容

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.

できること

  • 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