Skip to content
Back to skills

Tdd Workflow

ASecurity

This skill orchestrates full-cycle TDD development by integrating multiple specialized plugins into a cohesive workflow.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
developmentpythongorefactoringdocumentation

Works with

  • claude code

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add ruslan-korneev/claude-plugins --skill tdd-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tdd Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tdd Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ruslan-korneev-tdd-workflow/badge)](https://www.skillsdirectory.com/skills/ruslan-korneev-tdd-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# TDD Workflow Orchestration

This skill orchestrates full-cycle TDD development by integrating multiple specialized plugins into a cohesive workflow.

## When to Use This Skill

Use this skill when the user wants to:
- Develop a feature "from scratch to production"
- Follow strict TDD methodology (Red-Green-Refactor)
- Get help with the complete development cycle
- Orchestrate multiple development tools automatically
- Create a development plan with test cases

**Trigger phrases:**
- "Develop feature X end-to-end"
- "Full TDD cycle for..."
- "Create complete implementation of..."
- "Help me build X from start to finish"
- "Plan and implement..."

## Core Principles

### 1. Red-Green-Refactor Cycle

```
┌─────────────────────────────────────────────────────────┐
│                    TDD CYCLE                            │
│                                                         │
│   ┌─────────┐    ┌─────────┐    ┌───────────┐          │
│   │   RED   │───▶│  GREEN  │───▶│ REFACTOR  │──┐       │
│   │  Write  │    │  Make   │    │  Improve  │  │       │
│   │  Failing│    │  Test   │    │  Code     │  │       │
│   │  Test   │    │  Pass   │    │  Quality  │  │       │
│   └─────────┘    └─────────┘    └───────────┘  │       │
│        ▲                                        │       │
│        └────────────────────────────────────────┘       │
│                                                         │
└─────────────────────────────────────────────────────────┘
```

### 2. Three-Phase Orchestration

| Phase | Agent | Model | Purpose |
|-------|-------|-------|---------|
| **Explore** | codebase-explorer | sonnet | Fast module discovery |
| **Plan** | planning-agent | opus | Deep analysis, user questions |
| **Execute** | execution-agent | opus | TDD implementation |

### 3. Plugin Integration

This workflow integrates with existing plugins:

- **pytest-assistant** — Creating failing tests first (Red phase)
- **clean-code** — Code review and refactoring suggestions
- **ruff-lint** — Auto-formatting via hooks
- **python-typing** — Type checking via hooks
- **software-architect** — Architecture decisions during planning

## Workflow Overview

```
User Prompt
    │
    ▼
┌─────────────────┐
│ Codebase        │  Find relevant modules
│ Explorer        │  Understand project structure
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│ Planning        │  Ask clarifying questions
│ Agent           │  Create development plan
└────────┬────────┘  Define test cases
         │
         ▼
┌─────────────────┐
│ EnterPlanMode   │  User reviews and approves
│ (Claude Code)   │  the development plan
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│ Execution       │  TDD cycle for each test
│ Agent           │  Quality gates
└────────┬────────┘  Documentation
         │
         ▼
    Completed Feature
```

## Memory Anchors

Plans include Memory Anchors — structured context that persists across sessions:

```yaml
---
id: dev-{uuid}
feature: {name}
status: draft | approved | in_progress | completed
---
```

Anchors capture:
- **TASK**: The end goal
- **APPROACH**: Chosen implementation strategy
- **CONSTRAINTS**: Technical limitations

## Explicit Phase Separation

Each TDD phase should be tracked explicitly. Use TaskCreate to make phase transitions visible:

```
TaskCreate: "RED — Write failing test for <feature>"
  → Write test, verify it fails
  → TaskUpdate: completed

TaskCreate: "GREEN — Minimal implementation for <feature>"
  → Write just enough code to pass
  → TaskUpdate: completed

TaskCreate: "REFACTOR — Clean up <feature> implementation"
  → Improve code quality, tests stay green
  → TaskUpdate: completed
```

**Why:** Without explicit separation, phases blur together. Developers skip Red (writing tests after code) or skip Refactor (moving on too quickly). Tracking forces discipline.

## References

- [Plan Format](references/plan-format.md) — Development plan structure
- [Context Handoff](references/context-handoff.md) — How context flows between agents
- [Plugin Integration](references/plugin-integration.md) — How plugins work together

Files in this skill

  • SKILL.md5 KB
  • references/context-handoff.md4.3 KB
  • references/plan-format.md2.6 KB
  • references/plugin-integration.md3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.