tdd-workflow

Enforce Test-Driven Development with 80% code coverage across unit, integration, and end-to-end tests.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Rx-K8/my-claude-code --skill tdd-workflow-rx-k8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/Rx-K8/my-claude-code/tree/main/japanese/skills/tdd-workflow
Command: npx skills add https://github.com/Rx-K8/my-claude-code --skill tdd-workflow-rx-k8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures all code development adheres to Test-Driven Development (TDD) principles, guaranteeing high test coverage and robust software.

Core Features & Use Cases

  • Mandatory TDD: Enforces writing tests before implementation.
  • 80%+ Coverage: Requires unit, integration, and E2E tests to meet a minimum coverage threshold.
  • Use Case: When developing a new API endpoint, this skill will guide you to write tests for its functionality, error handling, and integration with other services before writing the actual API code.

Quick Start

Use the tdd-workflow skill to begin developing a new feature by first writing its tests.

Frequently Asked Questions about tdd-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Test-Driven Development for new feature development and refactoring?

To enforce Test-Driven Development, this Skill mandates writing failing tests for user journeys before implementing minimal code. It guides you through TDD workflows to ensure robust code and over 80% test coverage across unit, integration, and E2E tests.

Does TDD workflow support testing frameworks like Jest, Vitest, and Playwright?

Yes, TDD workflow supports Jest, Vitest, and Playwright for writing unit, integration, and end-to-end tests. It guides you through generating failing tests and implementing code to meet the required 80% test coverage threshold.

How do I write tests before implementation when mocking external services like Supabase and Redis?

To write tests before implementation, this Skill guides you in defining user journeys and generating failing tests while mocking external services like Supabase, Redis, and OpenAI. You then implement minimal code to pass these tests before refactoring.

What is the minimum code coverage required for unit, integration, and E2E tests?

The minimum code coverage required is 80% across unit, integration, and end-to-end tests. This threshold ensures robust software by enforcing comprehensive testing before and during feature implementation and refactoring.

Can I use this TDD workflow for bug fixes as well as new API endpoint development?

Yes, you can use this TDD workflow for both bug fixes and new API endpoint development. It guides you to write tests for functionality, error handling, and service integration before writing the actual code to enforce TDD principles.