tdd-workflow

Enforce TDD workflows with tests before code and 80% coverage.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sasasayusuke/util --skill tdd-workflow-sasasayusuke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/sasasayusuke/util/tree/main/pg/%E3%83%86%E3%83%97%E3%82%B7%E3%82%B9/.claude/skills/tdd-workflow
Command: npx skills add https://github.com/sasasayusuke/util --skill tdd-workflow-sasasayusuke

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and 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 quality.

Core Features & Use Cases

  • Mandatory Tests First: Enforces writing tests before implementation.
  • Comprehensive Coverage: Requires 80%+ coverage across unit, integration, and E2E tests.
  • Structured Workflow: Guides developers through user journeys, test generation, implementation, and refactoring.
  • Use Case: When starting a new feature, use this skill to guide the entire development process, from writing the first failing test to verifying final code coverage.

Quick Start

Activate this skill to begin developing a new feature by writing your tests first.

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 test-driven development workflow for new features?

Test-driven development requires writing failing unit, integration, and e2e tests before implementation. This Skill guides you through user journeys and test generation to enforce the workflow and verify code coverage.

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

The required code coverage for unit, integration, and e2e tests is 80% or higher. This Skill verifies your testing patterns during development to ensure you meet this threshold consistently.

Can I use this TDD workflow for bug fixes and refactoring existing code?

Yes, you can use this TDD workflow for bug fixes and refactoring. It supports structured development by enforcing tests first and verifying coverage across unit, integration, and end-to-end tests.

How do I start writing tests before code implementation using this approach?

Start writing tests before implementation by activating the Skill to generate initial failing tests based on user journeys. It then guides your code generation and subsequent refactoring steps.

Does this testing approach require specific testing frameworks or dependencies?

No specific testing frameworks or dependencies are required. The Skill focuses on defining testing patterns and verifying coverage across unit, integration, and end-to-end tests without external dependencies.