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

$curl -o ~/.claude/skills/writing-plans/SKILL.md --create-dirs "https://raw.githubusercontent.com/SufficientDaikon/archon/main/skills/writing-plans/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/writing-plans/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Writing Plans — TDD-Sized Task Breakdown Compares

Feature / AgentWriting Plans — TDD-Sized Task BreakdownStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

7
from SufficientDaikon/archon

Use when creating new skills, editing existing skills, or verifying skills work before deployment

Executing Plans — Single-Session Fallback

7
from SufficientDaikon/archon

> **Type:** Rigid process

YAML Prompt Library

7
from SufficientDaikon/archon

> Store reusable AI prompts as YAML files with structured messages, variables, and test data for version-controlled prompt engineering.

wireframing

7
from SufficientDaikon/archon

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

7
from SufficientDaikon/archon

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

7
from SufficientDaikon/archon

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

7
from SufficientDaikon/archon

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

7
from SufficientDaikon/archon

> Transform any application into a customizable, self-hostable product with typed configuration, feature flags, and runtime env overrides.

webapp-testing

7
from SufficientDaikon/archon

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

7
from SufficientDaikon/archon

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

7
from SufficientDaikon/archon

> Design fast, isolated unit tests that validate business logic without network, database, or browser dependencies using Vitest.

Verification Before Completion — The Honesty Enforcer

7
from SufficientDaikon/archon

> **Type:** Rigid (follow exactly)