tdd-workflow

Enforce test-driven development with failing tests before code implementation.

2|1|Updated Oct 4, 2025
One-click install
npx skills add https://github.com/andrew-starosciak/deep-algo --skill tdd-workflow-andrew-starosciak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/andrew-starosciak/deep-algo/tree/main/.claude/docs/zh-TW/skills/tdd-workflow
Command: npx skills add https://github.com/andrew-starosciak/deep-algo --skill tdd-workflow-andrew-starosciak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enforces test-driven development principles and a disciplined testing culture to ensure reliable software delivery.

Core Features & Use Cases

  • Test-first development: write failing tests before implementing code to guide design.
  • Coverage targets: aim for 80%+ coverage across unit, integration, and E2E tests.
  • QA-oriented workflow: integrate unit/integration/E2E tests into CI and pull request checks.

Quick Start

  1. Install project dependencies and set up the test environment.
  2. Write a failing unit test for a small feature, then implement code to pass.
  3. Run the full test suite, fix defects, and iterate until coverage targets are met.

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 in my TypeScript workflow?

Test-driven development is enforced by requiring a tests-first workflow where you write failing unit tests before implementing features, ensuring code design is guided by test requirements.

What's the best way to maintain 80%+ code coverage across unit and integration tests?

Achieving 80%+ code coverage requires integrating unit, integration, and end-to-end tests into your CI pipeline and pull request checks, running the full suite to iterate until targets are met.

Does TDD work with both Jest and Playwright for end-to-end testing?

TDD applies to end-to-end testing with Playwright alongside Jest for unit tests, requiring a tests-first workflow supported by common tooling across all software project phases.

How do I start writing tests before code for bug fixes and refactoring?

Writing tests before code for bug fixes involves setting up the test environment, writing a failing unit test that captures the defect, then implementing code to pass the test.

Why should I use a test-first workflow for new feature development?

A test-first workflow guides software design by forcing you to write failing tests before implementation, ensuring reliable delivery and high-quality code across new features and refactors.