grey-haven-tdd-python
"Python测试驱动开发专业知识,使用pytest、严格的红灯-绿灯-重构方法、FastAPI测试模式和Pydantic模型测试。当使用TDD实现Python功能、编写pytest测试或用户提到相关术语时使用。"
name: grey-haven-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:
- grey-haven-code-style
- grey-haven-api-design-standards
- grey-haven-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
tdd-python-implementer
Skill Version: 1.0