Writing Plans — TDD-Sized Task Breakdown
> **Type:** Rigid process (follow structure exactly)
Best use case
Writing Plans — TDD-Sized Task Breakdown is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
> **Type:** Rigid process (follow structure exactly)
Teams using Writing Plans — TDD-Sized Task Breakdown should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/writing-plans/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Writing Plans — TDD-Sized Task Breakdown Compares
| Feature / Agent | Writing Plans — TDD-Sized Task Breakdown | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
> **Type:** Rigid process (follow structure exactly)
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Writing Plans — TDD-Sized Task Breakdown > **Type:** Rigid process (follow structure exactly) > **Trigger:** Have a spec/requirements for multi-step task, before touching code > **Input:** Approved design document from brainstorming ## Iron Law ``` NO CODING UNTIL THE PLAN IS WRITTEN AND REVIEWED ``` ## Purpose Creates step-by-step implementation plans with TDD-sized tasks that any developer (or agent) with zero codebase context can execute. Each task is one action (2-5 minutes), producing a plan that's mechanically executable. ## Task Granularity Each step is ONE atomic action: ``` Step 1: Write the failing test Step 2: Run it to see it fail Step 3: Implement minimal code to pass Step 4: Run tests to see them pass Step 5: Commit with descriptive message ``` ## Plan Document Structure ```markdown # [Feature Name] Implementation Plan > REQUIRED: Use subagent-driven-development (or executing-plans if no subagents) **Goal:** [one sentence] **Architecture:** [2-3 sentences on approach] **Tech Stack:** [key technologies] --- ### Task N: [Component Name] **Files:** - Create: `exact/path/to/file.py` - Modify: `exact/path/to/existing.py:123-145` - Test: `tests/exact/path/to/test.py` **Steps:** - [ ] Step 1: Write failing test [complete test code] - [ ] Step 2: Verify it fails [exact command + expected output] - [ ] Step 3: Write implementation [complete production code] - [ ] Step 4: Verify it passes [exact command + expected output] - [ ] Step 5: Commit [exact git commands] ``` ## Plan Review Process After writing each chunk (≤1000 lines): 1. Review the plan critically — are tasks truly independent? Are steps atomic? 2. Check for missing edge cases, error handling, test coverage 3. Verify file paths exist or are clearly marked as "create" 4. Ensure each task has clear success criteria 5. Max 5 review iterations, then escalate unclear items to human ## Key Rules - **Complete code in steps** — no "implement the rest" or "similar to above" - **Exact file paths** — no guessing, verify against project structure - **Test FIRST in every task** — TDD is non-negotiable - **Independent tasks** — each task can be executed without knowledge of others - **Line numbers for modifications** — `file.py:123-145` not just `file.py` ## Rationalization Table | Excuse | Reality | |--------|---------| | "Too detailed, wastes time" | Vague plans waste MORE time in execution. Detail prevents rework. | | "The developer will figure it out" | Plans should work for zero-context agents. Explicit > implicit. | | "I can adjust during implementation" | That's scope creep. Plan changes go through review. | | "Tests are obvious, don't need to write them" | If they're obvious, it takes 30 seconds. Write them. | | "This task is too small to break down" | If it takes >5 minutes, break it down further. | ## Transition After plan is approved: - If subagents available → invoke `subagent-driven-development` - If no subagents → invoke `executing-plans` - NEVER start implementing directly — use the execution skills
Related Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Executing Plans — Single-Session Fallback
> **Type:** Rigid process
YAML Prompt Library
> Store reusable AI prompts as YAML files with structured messages, variables, and test data for version-controlled prompt engineering.
wireframing
Wireframing patterns including layout grids, content blocks, responsive breakpoints, and page layout patterns for landing pages, dashboards, and forms. Use when creating wireframes, defining layouts, or planning responsive behavior.
windows-registry-editor
Expert Windows Registry editor and optimizer via PowerShell. Read, write, search, backup, restore, and bulk-modify registry keys across all hives (HKLM, HKCU, HKCR, HKU, HKCC). Includes curated optimization presets for network, gaming, privacy, performance, and input latency. Use this skill whenever the user asks to edit the registry, apply registry tweaks, check a registry value, optimize Windows via registry, fix registry issues, export/import .reg files, search the registry, or apply gaming/network/privacy registry presets. Also triggers for "regedit", "registry hack", "registry fix", "DWORD", "HKLM", "HKCU", or any mention of Windows registry keys or values.
windows-network-optimizer
Diagnose, optimize, and verify Windows 11 network and system performance via PowerShell. Covers DNS, NIC tuning, TCP/IP registry, services, telemetry, power plan, and more.
windows-error-debugger
Diagnose, debug, and fix Windows crashes, BSODs, driver failures, and system errors via PowerShell. Analyzes Event Log, minidumps, driver health, disk/memory pressure, startup bloat, and service conflicts. Builds a growing knowledge base of resolved issues per machine. Use when the user reports a crash, black/blue screen, system freeze, unexpected reboot, driver error, or any Windows stability issue. Also triggers for "BSOD", "blue screen", "black screen", "crash", "system error", "bugcheck", "minidump", "driver failure", "unexpected shutdown", "paging file too small", "system hang", "Windows froze", "PC crashed", "kernel error", or any mention of Windows Event Log errors.
White-Label Config
> Transform any application into a customizable, self-hostable product with typed configuration, feature flags, and runtime env overrides.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
Vitest Unit Patterns
> Design fast, isolated unit tests that validate business logic without network, database, or browser dependencies using Vitest.
Verification Before Completion — The Honesty Enforcer
> **Type:** Rigid (follow exactly)