tdd-workflow-python

Community

Enforce TDD for Python code.

AuthorRx-K8
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures all Python code development adheres to Test-Driven Development (TDD) principles, guaranteeing robust, well-tested code and preventing regressions.

Core Features & Use Cases

  • Mandatory TDD: Enforces writing tests before implementation.
  • Comprehensive Testing: Supports unit, integration, and E2E tests using pytest and Playwright.
  • Quality Gates: Utilizes mypy and ruff for static analysis and linting.
  • Coverage Enforcement: Requires a minimum of 80% code coverage.
  • Use Case: When developing a new API endpoint in a FastAPI application, this Skill will guide you through writing tests for the endpoint, implementing the logic, and verifying coverage before the code is merged.

Quick Start

Use the tdd-workflow-python skill to create a new feature by first writing tests for it.

Dependency Matrix

Required Modules

pytestmypyruffplaywright

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tdd-workflow-python
Download link: https://github.com/Rx-K8/my-claude-code/archive/main.zip#tdd-workflow-python

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.