--- frontmattername: tdd-python
description: "Python Test-Driven Development expertise with pytest, strict red-green-refactor methodology, FastAPI testing patterns, and Pydantic model testing. Use when implementing Python features with TDD, writing pytest tests, testing FastAPI endpoints, developing with test-first approach, or when user mentions 'Python TDD', 'pytest', 'FastAPI testing', 'red-green-refactor', 'Python unit tests', 'test-driven Python', or 'Python test coverage'."
# v2.0.43: Skills to auto-load for subagents spawned from this skill
skills:
- code-style
- api-design-standards
- test-generation
# v2.0.74: Restrict tools available when this skill is active
allowed-tools:
- Read
- Write
- MultiEdit
- Bash
- Grep
- Glob
- TodoWrite
TDD Python Skill
Python Test-Driven Development following strict red-green-refactor cycle with pytest and comprehensive coverage.
Description
Systematic Python implementation using TDD methodology, ensuring tests written first and driving design decisions.
What's Included
- •Examples: Python TDD cycles, FastAPI TDD, Pydantic model TDD
- •Reference: pytest patterns, Python testing best practices
- •Templates: pytest templates, TDD workflows
Use When
- •Implementing Python features with TDD
- •FastAPI development
- •Pydantic model development
Related Agents
Skill Version: 1.0