tdd-workflow

Enforce Test-Driven Development workflows with 80% minimum code coverage.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/yd5768365-hue/caw-cli --skill tdd-workflow-yd5768365-hue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/yd5768365-hue/caw-cli/tree/main/everything-claude-code-main/everything-claude-code-main/docs/ja-JP/skills/tdd-workflow
Command: npx skills add https://github.com/yd5768365-hue/caw-cli --skill tdd-workflow-yd5768365-hue

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 robust, well-tested code and preventing regressions.

Core Features & Use Cases

  • Mandatory TDD: Enforces writing tests before implementation.
  • High Coverage: Requires a minimum of 80% test coverage across unit, integration, and E2E tests.
  • Use Case: When developing a new API endpoint, this Skill will guide you to write failing tests first, then implement the endpoint to pass those tests, ensuring it's functional and reliable from the start.

Quick Start

Use the tdd-workflow skill to create a new feature by writing tests before writing any code.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I enforce a minimum 80% code coverage requirement across unit, integration, and e2e tests?

You can enforce an 80% code coverage requirement by adopting a Test-Driven Development workflow that mandates writing tests before implementation across unit, integration, and end-to-end tests. This ensures comprehensive testing of all code paths and edge cases.

What is the best way to write tests before implementing new API endpoints?

The best way to write tests before implementing new API endpoints is using Test-Driven Development. You write failing tests first based on user stories, then implement the endpoint to pass those tests, ensuring it is functional and reliable from the start.

Does this TDD workflow provide specific testing patterns for Jest and Playwright?

Yes, this TDD workflow provides detailed testing patterns specifically for Jest, Playwright, and API integration testing. It guides you in writing failing tests first and then implementing code to pass them.

Can I use user stories to generate test cases for bug fixes and refactoring?

Yes, you can use user stories to generate test cases for bug fixes and refactoring. The TDD workflow utilizes user stories for test case generation to ensure robust, well-tested code and prevent regressions.

Why should I write failing tests first before writing any feature code?

You should write failing tests first to enforce Test-Driven Development principles, guaranteeing robust, well-tested code. This approach prevents regressions by ensuring all code paths and edge cases are comprehensively tested before implementation.