tdd-mastery
Test-driven development workflow with Red-Green-Refactor cycle across languages
Content Preview
--- name: tdd-mastery description: Test-driven development workflow with Red-Green-Refactor cycle across languages --- # TDD Mastery ## Core Cycle: Red-Green-Refactor 1. **Red** - Write a failing test that defines the desired behavior 2. **Green** - Write the minimum code to make the test pass 3. **Refactor** - Clean up while keeping tests green Never write production code without a failing test first. Each cycle should take 2-10 minutes. ## Test Structure Use the Arrange-Act-Assert patter
How to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/tdd-mastery.md \
https://raw.githubusercontent.com/rohitg00/awesome-claude-code-toolkit/main/skills/tdd-mastery/SKILL.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/rohitg00/awesome-claude-code-toolkitThen reference at skills/tdd-mastery/SKILL.md
Related Skills
Test-Driven Development (TDD)
Write the test first, watch it fail, write minimal code to pass
test-driven-developmenttestdriven development (tdd)
by Jesse Vincent (community) · obra-superpowers-skills
Writing Skills
TDD for process documentation - test with subagents before writing, iterate until bulletproof
writing-skillswriting skillstdd
by Jesse Vincent (community) · obra-superpowers-skills
django-tdd
Django testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs.
django-tdddjangotddtesting
by affaan-m · everything-claude-code
python-testing
pytest、TDD手法、フィクスチャ、モック、パラメータ化、カバレッジ要件を使用したPythonテスト戦略。
python-testingpythontestingtdd
by affaan-m · everything-claude-code