tdd-patterns

Identify stack-aware TDD patterns and anti-patterns for test design.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Kiwi-Home/ai-coding-resources --skill tdd-patterns-kiwi-home
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-patterns
Source: https://github.com/Kiwi-Home/ai-coding-resources/tree/main/plugins/coding-workflows/skills/tdd-patterns
Command: npx skills add https://github.com/Kiwi-Home/ai-coding-resources --skill tdd-patterns-kiwi-home

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stack-aware TDD patterns, anti-patterns, and quality heuristics to help engineers design robust tests and avoid common AI-assisted testing pitfalls.

Core Features & Use Cases

  • Universal TDD patterns applicable across stacks to guide test design and evaluation.
  • Anti-pattern identification and remedies to prevent brittle tests.
  • Stack-aware guidance for planning, implementation, and review to improve test quality in real-world projects.

Use Case: When designing tests for AI-assisted systems, apply the patterns to prevent happy-path bias, over-mocking, and under-testing observable behavior.

Quick Start

Review these universal patterns and anti-patterns during your next test-design session to improve coverage and reliability.

Frequently Asked Questions about tdd-patterns

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

FAQPage Schema
What are common TDD anti-patterns for test design?

Common TDD anti-patterns include over-mocking, happy-path bias, and under-testing observable behavior. Identifying these anti-patterns during test design prevents brittle tests and improves software quality.

How do I apply universal TDD patterns across multiple tech stacks?

Apply universal TDD patterns across multiple tech stacks by enforcing the TDD loop and balanced assertions during planning and review. Stack-aware guidance adapts these universal rules to specific project environments.

How do I avoid over-mocking when designing tests for AI-assisted systems?

Avoid over-mocking in AI-assisted systems by applying stack-aware TDD patterns that ensure observable behavior. These patterns guide test design to prevent happy-path bias and maintain balanced assertion quality.

Does stack-aware test design work for reviewing existing test suites?

Stack-aware test design works for reviewing existing test suites by applying universal patterns and anti-pattern guidance. It identifies limitations like over-mocking and under-testing observable behavior during the review phase.

Why do my tests fail to verify observable behavior?

Tests fail to verify observable behavior due to happy-path bias and under-testing. Applying stack-aware TDD patterns enforces observable behavior verification and balanced assertion quality to resolve these testing gaps.