kb-tdd-workflow

Guide agents through test-driven development planning, implementation, and review tasks.

2|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/Conava/claude-devline --skill kb-tdd-workflow
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: kb-tdd-workflow
Source: https://github.com/Conava/claude-devline/tree/main/skills/kb-tdd-workflow
Command: npx skills add https://github.com/Conava/claude-devline --skill kb-tdd-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Domain logic for test-driven development is injected into agents that implement code, guiding the workflow and improving code quality.

Core Features & Use Cases

  • Guided TDD cycle: enforces Red-Green-Refactor discipline throughout development tasks.
  • Right-level testing: promotes integration tests and real dependencies over over-mocking where possible.
  • Structured planning: aligns test goals with implementation tasks to improve maintainability and traceability.

Quick Start

Instruct your agents to follow the TDD workflow for each coding task to ensure test-first development.

Frequently Asked Questions about kb-tdd-workflow

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

FAQPage Schema
How do I enforce test-driven development discipline in AI coding agents?▼

Enforcing test-driven development in AI agents involves injecting domain logic that guides coding workflows through strict red-green-refactor cycles. This ensures agents adopt a test-first convention for robust code implementation.

What is the best way to structure agent workflows for test-first code implementation?▼

The best way to structure test-first workflows is aligning test goals with implementation tasks to improve maintainability and traceability. This structured planning guides agents through design, implementation, and review tasks.

How does the red-green-refactor cycle apply to software-engineering agents?▼

The red-green-refactor cycle applies to software-engineering agents by enforcing guided TDD discipline throughout development tasks. Agents write failing tests first, implement code to pass tests, then refactor while maintaining passing tests.

Can test-driven development agents use real dependencies instead of mocks?▼

Test-driven development agents can use real dependencies instead of mocks. The workflow promotes right-level testing with real dependencies over over-mocking where feasible to ensure appropriate integration test coverage.

When do I need to apply TDD workflow discipline to agent coding tasks?▼

You need to apply TDD workflow discipline to agent coding tasks during planning, design, implementation, and review. It satisfies requirements for enforcing appropriate test levels and strict test-first conventions in software-engineering workflows.