tdd

Orchestrate a strict red-green-refactor TDD workflow with validation checkpoints.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/javierhbr/agnostic-agent-loop --skill tdd-javierhbr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/javierhbr/agnostic-agent-loop/tree/main/internal/skills/.agentic/skills/tdd
Command: npx skills add https://github.com/javierhbr/agnostic-agent-loop --skill tdd-javierhbr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enforces the rigorous Red-Green-Refactor cycle of Test-Driven Development, ensuring code quality and adherence to best practices through automated validation gates.

Core Features & Use Cases

  • Strict TDD Enforcement: Guides users through the precise steps of writing failing tests (RED), minimal implementation (GREEN), and code improvement (REFACTOR).
  • Phased Workflow: Manages a 6-phase process from Test Specification to Continuous Improvement.
  • Validation Gates: Ensures critical quality checks are met at each stage.
  • Use Case: When developing a new critical API endpoint, use this Skill to ensure robust test coverage and clean, maintainable code from the outset.

Quick Start

Follow the TDD cycle to implement the new user authentication feature.

Frequently Asked Questions about tdd

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

FAQPage Schema
How do I enforce a strict test-driven development workflow for new API endpoints?

To enforce test-driven development, this Skill orchestrates a rigorous red-green-refactor cycle with automated validation gates. It manages a 6-phase workflow from test specification to continuous improvement, ensuring robust coverage and clean, maintainable code for critical endpoints.

What is the red-green-refactor cycle and how does it improve code quality?

The red-green-refactor cycle is a test-driven development process of writing failing tests, creating minimal implementation, and refactoring code. This Skill enforces these phased execution steps with validation checkpoints to guarantee adherence to agile testing best practices.

Can I use this TDD workflow for integration testing and continuous improvement?

Yes, you can use this workflow for integration testing and continuous improvement. The Skill explicitly supports these phases with configurable quality thresholds, managing multi-agent coordination for test specification, failing test creation, and code refactoring.

Do I need any specific testing frameworks or dependencies to start refactoring with TDD?

No specific testing frameworks or dependencies are required to start refactoring with TDD. The Skill operates independently with no external dependencies, guiding you through test specification and minimal implementation using built-in scripts and references.

What's the best way to manage multi-agent coordination for test specification and implementation?

The best way to manage multi-agent coordination is using this Skill's phased execution workflow. It systematically delegates test specification, failing test creation, minimal implementation, and code refactoring across agents with strict validation gates.