tdd-master

Guide Python developers through Red-Green-Refactor TDD cycles for feature development and bug fixes.

10|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/spumer/i-m-senior-developer --skill tdd-master-spumer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-master
Source: https://github.com/spumer/i-m-senior-developer/tree/main/plugins/tdd-master/skills/tdd-master
Command: npx skills add https://github.com/spumer/i-m-senior-developer --skill tdd-master-spumer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing reliable tests before production code is hard without a clear, repeatable process; this skill provides a disciplined TDD workflow to guide developers from failing tests to working features.

Core Features & Use Cases

  • Step-by-step Red-Green-Refactor workflow aligned with Kent Beck and Uncle Bob.
  • FIRST testing principles to improve test quality (Fast, Independent, Repeatable, Self-validating, Timely).
  • Applicable to feature development, bug fixes, code reviews, and test planning across Python projects and Django apps.

Quick Start

Write a failing test for the intended feature, then implement the minimal production code to pass it.

Frequently Asked Questions about tdd-master

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

FAQPage Schema
How do I write tests before coding using the Red-Green-Refactor cycle in Python?

To write tests before coding in Python, you follow the Red-Green-Refactor cycle: write a failing test, implement minimal production code to pass it, then refactor. This enforces a disciplined TDD workflow from failing tests to working features.

What are the FIRST testing principles and how do they improve test quality?

The FIRST testing principles require tests to be Fast, Independent, Repeatable, Self-validating, and Timely. Applying these principles improves test quality by ensuring your TDD workflow produces reliable, maintainable, and efficient test suites.

Can I apply TDD workflows to bug fixes and code reviews in Django apps?

Yes, you can apply TDD workflows to bug fixes and code reviews in Django apps. The process enforces testability and guides developers to write failing tests that validate bug fixes before implementing the actual production code.

What's the best way to start feature development with a failing test?

The best way to start feature development with a failing test is to write a test for the intended feature first, then implement the minimal production code required to pass that test, maintaining a strict Red-Green-Refactor cycle.

What common TDD anti-patterns should I avoid when writing Python tests?

Common TDD anti-patterns are prevented through anti-pattern awareness built into the workflow, ensuring you avoid common pitfalls that compromise testability and violate the FIRST testing principles during Python feature development.