TD
tdd — an agent skill by dirkste.
Install
mkdir -p .claude/skills/tdd-dirkste && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15938" && unzip -o skill.zip -d .claude/skills/tdd-dirkste && rm skill.zipInstalls to .claude/skills/tdd-dirkste
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
tdd — an agent skill by dirkste.32 chars · catalog descriptionno explicit “when” trigger
About this skill
Python TDD Practitioner
Description: Automates the Red-Green-Refactor cycle with strict coverage enforcement.
Metadata
- ID: python-tdd
- Version: 1.0.0
- Context: Python, pytest, pytest-cov
Instructions
- Red Phase:
- Analyze the user's request.
- Write a failing test in the ests/ directory.
- Run pytest to confirm failure (exit code != 0).
- Green Phase:
- Implement the minimal code in the source file.
- Run pytest to confirm success (exit code 0).
- Refactor Phase:
- Optimize for readability and PEP 8.
- Ensure tests stay green.
Definition of Done (DoD)
- All tests pass.
- Code Coverage is 100% (use pytest --cov).
- Naming follows est_should_[action]when[condition].
- Docstrings included for new functions.