tdd

Installation
SKILL.md

Test-Driven Development

Collaborating skills

  • Refactor: skill: refactor for systematic code improvement during the refactor phase
  • Vitest: skill: vitest for JavaScript/TypeScript testing with Vitest framework
  • Design Patterns: skill: design-pattern-adopter for applying design patterns when refactoring test-covered code

Guide for Red-Green-Refactor workflow. Supports Python (pytest) and Ruby (RSpec).

Quick Reference

Python (pytest) Ruby (RSpec)
Naming test_<fn>_<scenario>_<expected> describe ".method" / "#method"
Structure Mirror src/ in tests/ One expectation per it
Data @pytest.fixture + type hints let / let!
Variants @pytest.mark.parametrize context blocks
Exceptions pytest.raises(Error, match=) expect { }.to raise_error
Related skills
Installs
1
First Seen
Apr 2, 2026