tdd-workflow

Enforce test-driven development workflows for features and bug fixes.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/adomot/claude-settings --skill tdd-workflow-adomot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/adomot/claude-settings/tree/main/skills/aegis/tdd-workflow
Command: npx skills add https://github.com/adomot/claude-settings --skill tdd-workflow-adomot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill ensures that all code development follows test-driven development practices, enforcing writing tests before implementation and maintaining high-quality, verifiable code.

Core Features & Use Cases

  • Test-first development: Create unit tests before writing production code to guide implementation.
  • Comprehensive test coverage: Aim for high coverage across unit, integration, and end-to-end tests to catch regressions early.
  • Use Case: Apply to new features, bug fixes, and refactors to ensure reliable behavior and quick feedback loops.

Quick Start

Write tests first for a new feature, then implement the code to make those tests pass and verify 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 for new features and bug fixes?

To enforce test-driven development, you must write unit tests before implementation and follow structured steps from writing tests to refactoring. This ensures high-quality, verifiable code with quick feedback loops.

What is the best way to achieve comprehensive test coverage across software layers?

Comprehensive test coverage is achieved by applying unit, integration, and end-to-end tests across all software layers. Aiming for 80% or higher coverage catches regressions early and ensures reliable software behavior.

Can I use Playwright for end-to-end testing within a TDD workflow?

Playwright can be used for end-to-end testing within a TDD workflow. The approach covers unit, integration, and E2E tests across software layers to guide teams through tests-first development.

How do I start writing tests first for a new feature?

To start writing tests first, you create unit tests for the new feature before writing any production code. Then, you implement the code to make those tests pass and verify the resulting coverage.

Do I need existing tests to apply TDD during refactoring?

You do not need existing tests to apply TDD during refactoring; the workflow involves writing tests first to establish a safety net. This ensures reliable behavior is maintained before altering the codebase.