tdd-agent

Automate the TDD cycle from RED through COMMIT with audits.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/N2O-com/N2O-just-workflow --skill tdd-agent-n2o-com
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-agent
Source: https://github.com/N2O-com/N2O-just-workflow/tree/main/02-agents/tdd-agent
Command: npx skills add https://github.com/N2O-com/N2O-just-workflow --skill tdd-agent-n2o-com

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the Test-Driven Development (TDD) process, ensuring code is implemented with robust testing, quality checks, and adherence to best practices, significantly boosting developer productivity and code reliability.

Core Features & Use Cases

  • TDD Workflow Automation: Guides through RED → GREEN → REFACTOR → AUDIT → CODIFY → COMMIT phases.
  • Automated Audits: Integrates type checking, linting, and specialized sub-agent audits for pattern compliance, gap analysis, and testing posture.
  • Pattern Codification: Identifies and reports reusable code patterns for documentation.
  • Use Case: When tasked to "Implement the user profile update feature," this Skill will automatically write failing tests, implement the code to pass, refactor, audit for quality and patterns, and commit the changes, ensuring a high-quality, well-tested feature.

Quick Start

Use the tdd-agent to implement the next available task from the sprint backlog.

Frequently Asked Questions about tdd-agent

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

FAQPage Schema
How do I automate the Test-Driven Development workflow for feature implementation?

You can automate the Test-Driven Development workflow using an agent that manages the RED, GREEN, REFACTOR, AUDIT, CODIFY, and COMMIT phases to implement features with robust testing and quality checks.

What is the best way to ensure code quality during refactoring?

To ensure code quality during refactoring, use an automated TDD workflow that integrates type checking, linting, and sub-agent audits for pattern compliance and gap analysis.

How does automated TDD handle pattern compliance and gap analysis?

Automated TDD handles pattern compliance by deploying specialized sub-agent audits during the AUDIT phase to check coding standards, perform gap analysis, and codify reusable patterns.

Can I use TDD automation for sprint backlog tasks?

Yes, you can use TDD automation for sprint backlog tasks by instructing the agent to implement the next available task, which automatically writes failing tests, implements code, and commits changes.

Does automated testing workflow require external dependencies?

The automated testing workflow operates without external dependencies, relying solely on its internal scripts and references to manage the complete TDD cycle and quality auditing.

Why should I codify reusable patterns after refactoring?

You should codify reusable patterns after refactoring to document successful code implementations, ensuring adherence to coding standards and improving developer workflow productivity.