tdd-workflow

Enforce a test-driven development lifecycle with 80% coverage thresholds.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/nazrulsoftwaredev/NIT_CRM_2 --skill tdd-workflow-nazrulsoftwaredev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/nazrulsoftwaredev/NIT_CRM_2/tree/main/.agents/.agents/skills/tdd-workflow
Command: npx skills add https://github.com/nazrulsoftwaredev/NIT_CRM_2 --skill tdd-workflow-nazrulsoftwaredev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the common issue of inconsistent code quality and insufficient testing by enforcing a strict Test-Driven Development (TDD) lifecycle that ensures high reliability and maintainability.

Core Features & Use Cases

  • Coverage Enforcement: Mandates a minimum of 80% test coverage across unit, integration, and E2E tests.
  • Standardized Workflow: Provides a clear, step-by-step process from user journey definition to refactoring.
  • Use Case: When building a new API endpoint or refactoring a complex component, this skill guides the developer to write failing tests first, ensuring that every line of production code is verified and robust.

Quick Start

Activate the tdd-workflow skill to begin implementing a new feature by defining the user journey and generating the corresponding test suite.

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 minimum 80% test coverage threshold during development?

To enforce 80% test coverage, you need a strict test-driven development lifecycle that mandates coverage thresholds across unit, integration, and E2E tests. This ensures every line of production code is verified and robust.

What is the best way to start TDD when building a new API endpoint?

The best way to start TDD for an API endpoint is by defining the user journey and generating the corresponding failing test suite first. This standardized workflow guides you to write tests before implementing the production code.

Can I use this TDD workflow for code refactoring tasks?

Yes, you can use this TDD workflow for code refactoring tasks. It applies a rigorous test-driven development methodology across the entire application stack, ensuring high reliability and maintainability when modifying existing complex components.

Does this workflow support both unit and E2E testing patterns?

Yes, this workflow supports unit, integration, and E2E testing patterns. It applies a rigorous test-driven development methodology that requires adherence to implementing these comprehensive testing patterns to ensure high-quality software delivery.

Why should I write failing tests first when fixing bugs?

You should write failing tests first when fixing bugs to ensure the issue is accurately captured before applying the fix. This TDD methodology verifies that every line of production code resolves the defect and prevents future regressions effectively.

How does code coverage enforcement improve software reliability?

Code coverage enforcement improves software reliability by mandating that at least 80% of your codebase is verified by unit, integration, and E2E tests. This addresses inconsistent code quality and ensures high maintainability across the application stack.