tdd-workflow

Enforce test-driven development with 80% coverage and Git checkpoints.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/IwatsukaYura/harness_template --skill tdd-workflow-iwatsukayura
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/IwatsukaYura/harness_template/tree/main/.claude/skills/tdd-workflow
Command: npx skills add https://github.com/IwatsukaYura/harness_template --skill tdd-workflow-iwatsukayura

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codebases often drift from disciplined testing practices, resulting in fragile features and difficult maintenance. This skill codifies a proactive workflow that ensures development is driven by tests and high coverage, reducing regression risk.

Core Features & Use Cases

  • Test-driven development mandate: ALWAYS write tests before implementing code to prevent regressions and guide design.
  • Coverage and guardrails: Enforce minimum 80% overall test coverage (unit + integration + E2E) and maintain structured Git checkpoint evidence.
  • Step-by-step workflow: Aligns feature work, bug fixes, and refactors with defined stages from writing tests to refactoring, including validation of green tests and coverage.

Quick Start

Start by writing a failing test for your feature, then implement the minimal code to pass the test, and iterate until all tests pass with adequate coverage.

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 across my software projects?

Enforce test-driven development by codifying a repeatable workflow that mandates writing tests before implementing code, reducing regression risk and guiding design. This structured approach ensures development is driven by tests and high code quality.

What is the minimum test coverage threshold for reliable CI integration?

The minimum test coverage threshold for reliable CI integration is 80% overall, combining unit, integration, and E2E tests. This coverage guardrail ensures high code quality and reduces regression risk across software projects.

How do I structure a TDD workflow for feature work and refactoring?

Structure a TDD workflow by aligning feature work, bug fixes, and refactors with defined stages: write a failing test, implement minimal code to pass, validate green tests, and refactor while maintaining Git checkpoint evidence.

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

Yes, you can use this TDD workflow for bug fixes and refactoring. It aligns these tasks with defined stages from writing tests to refactoring, ensuring all changes are validated by green tests and adequate coverage before completion.

What's the best way to start writing tests before implementing features?

The best way to start is to write a failing test for your feature, implement the minimal code required to pass the test, and iterate until all tests pass with adequate coverage and structured Git checkpoint evidence.

Why does my codebase drift from disciplined testing practices during maintenance?

Codebases drift from disciplined testing practices when proactive workflows are absent, resulting in fragile features and difficult maintenance. Codifying a test-driven development workflow with coverage guardrails proactively prevents this regression risk.