tdd-reference

Retrieve topic-specific TDD guidance with exact file and line extraction.

16|7|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/jackspace/ClaudeSkillz --skill tdd-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-reference
Source: https://github.com/jackspace/ClaudeSkillz/tree/main/skills/tdd-reference
Command: npx skills add https://github.com/jackspace/ClaudeSkillz --skill tdd-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides targeted, on-demand TDD guidance without loading entire documentation into context.

Core Features & Use Cases

  • Quick RED/GREEN/REFACTOR guidance with examples
  • Refactoring and test-quality checklists
  • Targeted retrieval of guideline sections

Quick Start

Ask for RED fields, or for a refactoring checklist, and receive concise, actionable guidance.

Frequently Asked Questions about tdd-reference

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

FAQPage Schema
How do I structure tests using the RED-GREEN-REFACTOR cycle?

RED-GREEN-REFACTOR is a TDD workflow: write a failing test (RED), make it pass with minimal code (GREEN), then improve the code without changing behavior (REFACTOR). This Skill provides concise guidance for each phase, helping you apply the cycle consistently without manual lookups.

What's the difference between RED and GREEN phases in TDD?

RED means writing a test that fails because the feature doesn't exist yet. GREEN means writing just enough code to make that test pass. This Skill offers targeted examples for both phases to accelerate your TDD workflow.

How do I know when to refactor during a TDD cycle?

Refactor after tests pass and your code is GREEN. This Skill includes refactoring checklists and test-quality guidelines to help you identify improvement opportunities without introducing bugs or losing test coverage.

Can I use this for quick TDD reference during development?

Yes. This Skill retrieves concise, topic-specific TDD guidance on demand without loading full manuals into context, making it suitable for rapid lookups during RED-GREEN-REFACTOR workflows and guideline-index checks.

What should I check before refactoring my tests?

This Skill provides test-quality checklists covering common issues like unclear test names, overly broad assertions, and missing edge cases. Use these before refactoring to ensure your tests remain maintainable and accurate.

How does this Skill integrate with RAG pipelines?

This Skill outputs formatted TDD guidance suitable for downstream RAG systems, enabling exact file and line extraction, topic-aware content selection, and structured retrieval across multiple guideline documents.