From python-engineering
Guides Python TDD workflow: design typed interfaces, write failing pytest tests (AAA pattern), implement minimally to pass, refactor green, verify with coverage, ruff linting, and type checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/python-engineering:python3-tddThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Consult `python3-core` for standing defaults. Load `python3-testing` for detailed test patterns.
Consult python3-core for standing defaults. Load python3-testing for detailed test patterns.
Task: $ARGUMENTS
python3-typing when boundary types or models are involvedpython3-testing for fixture patterns and test structureuv run pytest -v — confirm failuresuv run pytest -v after each change# Linting, formatting, and type checking
uv run prek run --files src/ tests/
# Fallback when no .pre-commit-config.yaml:
# uv run ruff check src/ tests/
# uv run ruff format --check src/ tests/
# Tests with coverage
uv run pytest --cov=src --cov-report=term-missing
npx claudepluginhub jamie-bitflight/claude_skills --plugin python-engineeringGuides TDD workflow with red-green-refactor cycle: plan interfaces, tracer bullet tests, minimal implementation to green, refactor under tests. For explicit TDD requests only.