Test-Driven Development (TDD) Coach

Enforce the Red-Green-Refactor cycle with stack-specific testing patterns.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/idallasj/oneclaw --skill test-driven-development-tdd-coach
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Test-Driven Development (TDD) Coach
Source: https://github.com/idallasj/oneclaw/tree/main/llm_settings/skills/tdd
Command: npx skills add https://github.com/idallasj/oneclaw --skill test-driven-development-tdd-coach

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that all code development strictly adheres to the Test-Driven Development (TDD) methodology, preventing the common anti-patterns of writing implementation before tests and promoting a more robust and maintainable codebase.

Core Features & Use Cases

  • Enforces Red-Green-Refactor Cycle: Guides the user through writing failing tests first, then the minimum code to pass, and finally refactoring.
  • Identifies Anti-Patterns: Flags common TDD mistakes like writing implementation first or testing private methods.
  • Provides Stack-Specific Examples: Offers concrete examples for Python/Boto3, PostgreSQL, Zabbix API, Glue Job Logic, and Step Functions.
  • Use Case: When starting a new feature, the coach will ensure a failing test is written before any implementation code, guiding the entire development process.

Quick Start

Begin a new coding task by writing a failing test for the behavior you intend to implement.

Frequently Asked Questions about Test-Driven Development (TDD) Coach

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

FAQPage Schema
How do I enforce the Red-Green-Refactor cycle when writing Python code?

To enforce the Red-Green-Refactor cycle, you must first write a failing test for the intended behavior, implement the minimum code to pass that test, and then refactor. This TDD approach prevents writing implementation before tests.

What are common Test-Driven Development anti-patterns I should avoid?

Common Test-Driven Development anti-patterns to avoid include writing implementation code before writing tests and testing private methods. Identifying these anti-patterns ensures a robust, maintainable codebase through strict TDD methodology.

Can I use TDD for AWS Glue Job Logic and Step Functions?

Yes, you can apply TDD to AWS Glue Job Logic and Step Functions. The TDD coaching provides stack-specific testing patterns and concrete examples for these services, alongside Python/Boto3, PostgreSQL, and Zabbix API.

What is the best way to start a new feature using Test-Driven Development?

The best way to start a new feature using Test-Driven Development is to write a failing test for the behavior you intend to implement. This ensures strict adherence to the Red-Green-Refactor cycle from the beginning.

How does writing a failing test first improve code quality?

Writing a failing test first improves code quality by enforcing the TDD methodology, which prevents over-engineering and ensures all implementation is directly driven by test requirements. This leads to a more robust, maintainable codebase.

Does Test-Driven Development work with PostgreSQL and Zabbix API?

Yes, Test-Driven Development works with PostgreSQL and the Zabbix API. The coaching offers concrete, stack-specific testing patterns for these technologies to guide your Red-Green-Refactor cycle effectively.