tdd-with-claude

Guides users through red-green-refactor cycles in AI-assisted coding.

Updated May 6, 2026
One-click install
npx skills add https://github.com/marcin-elj/kto-ma-racje-toolkit --skill tdd-with-claude
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-with-claude
Source: https://github.com/marcin-elj/kto-ma-racje-toolkit/tree/main/skills/tdd-with-claude
Command: npx skills add https://github.com/marcin-elj/kto-ma-racje-toolkit --skill tdd-with-claude

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users enforce test-driven development workflows by guiding them through explicit red-green-refactor cycles, ensuring reliable and maintainable code.

Core Features & Use Cases

  • Structured Workflow Guidance: Provides step-by-step instructions for writing failing tests first, then minimal implementation, and finally refactoring.
  • Comprehensive Instructions: Includes setup, prompt templates, and strategic advice to embed TDD discipline in AI-assisted coding.
  • Use Case: A developer needs to implement a robust feature with test coverage using Claude; this Skill ensures they follow TDD best practices systematically.

Quick Start

Ask Claude to apply TDD methodology to your feature development process step-by-step.

Frequently Asked Questions about tdd-with-claude

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

FAQPage Schema
How do I enforce test-driven development workflows in AI-assisted coding?

To enforce test-driven development workflows in AI-assisted coding, this Skill guides you through explicit red-green-refactor cycles, ensuring you write failing tests first, implement minimal code, and then refactor systematically for reliable code.

What is the red-green-refactor cycle and how does it apply to feature development?

The red-green-refactor cycle in feature development means writing a failing test first, creating the minimal implementation to pass that test, and then refactoring the code to improve its structure while maintaining test coverage.

How do I use TDD prompt templates to implement a feature step-by-step?

You can implement a feature step-by-step by asking Claude to apply TDD methodology, which provides structured workflow guidance, prompt templates, and strategic advice to ensure your feature has robust test coverage systematically.

Can I use this TDD workflow for refactoring existing code in my development environment?

Yes, you can use this TDD workflow for refactoring existing code, as it includes advanced testing strategies and technique guidance to maintain development discipline and ensure reliable, maintainable code during refactoring sessions.

What are common TDD anti-patterns to avoid when using AI coding assistants?

Common TDD anti-patterns to avoid when using AI coding assistants include skipping the failing test phase or writing excessive implementation before refactoring, which this Skill prevents by enforcing disciplined red-green-refactor cycles.