tdd-workflow

Enforce test-first development workflows across unit, integration, and end-to-end tests.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/nakazono1011/my-ai-rule-templates --skill tdd-workflow-nakazono1011
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/nakazono1011/my-ai-rule-templates/tree/main/skills/tdd-workflow
Command: npx skills add https://github.com/nakazono1011/my-ai-rule-templates --skill tdd-workflow-nakazono1011

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill ensures development teams follow test-driven development to guarantee high-quality, maintainable code and reduce regressions.

Core Features & Use Cases

  • Unit, Integration, and End-to-End Testing: Establishes a repeatable workflow to write tests first and verify behavior across all test levels.
  • TDD Workflow Governance: Provides a structured process from writing tests, implementing minimal code, running tests, and refactoring while keeping tests green.
  • Use Case: When starting a new feature or fixing a bug, apply this skill to guide the team through a test-first approach that yields reliable, well-covered code.

Quick Start

Follow the steps: write tests first, implement just enough code to pass them, run coverage, and refactor progressively.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I implement a test-first development workflow for new features?▼

Test-first development requires writing tests before implementation, adding minimal code to pass them, running coverage reports, and refactoring progressively while keeping tests green. This structured workflow ensures reliable, well-covered code for feature creation and bug fixes.

What is the best way to maintain high code coverage during refactoring?▼

High code coverage during refactoring is maintained by keeping tests green throughout the process. You write tests first, implement minimal code, run coverage reports targeting 80%+ coverage, and refactor progressively while continuously verifying test behavior across unit, integration, and end-to-end levels.

Can I use a TDD workflow for both bug fixes and feature creation?▼

Yes, test-driven development applies to both bug fixes and feature creation. It establishes a repeatable workflow to write tests first and verify behavior across unit, integration, and end-to-end testing levels, yielding high-quality and maintainable code.

How do I structure unit, integration, and end-to-end tests in software testing?▼

Structuring these software testing levels involves establishing a repeatable workflow to write tests first and verify behavior across unit, integration, and end-to-end tests. This test-driven approach ensures 80%+ code coverage and reduces regressions.

Does test-driven development help reduce software regressions?▼

Test-driven development reduces software regressions by enforcing a test-first workflow. By writing tests before implementation and keeping them green during refactoring, development teams guarantee high-quality, maintainable code and prevent regression issues.