Skip to main content

Overview

The Writing Plans skill creates detailed implementation plans that assume the engineer has zero context for your codebase. Every step includes exact file paths, complete code, and expected output.
Plans are written for skilled developers who know almost nothing about your toolset or problem domain.

When to Use

Use when you have a spec or requirements for a multi-step task, before touching code. Typical workflow:
  1. Brainstorming creates the design
  2. Writing Plans creates the implementation plan
  3. Executing Plans or Subagent-Driven Development implements it

Key Principles

Bite-Sized Task Granularity

Each step is one action (2-5 minutes):
  • “Write the failing test” - step
  • “Run it to make sure it fails” - step
  • “Implement the minimal code to make the test pass” - step
  • “Run the tests and make sure they pass” - step
  • “Commit” - step
Don’t write “Add validation” - write the exact validation code. Don’t write “Fix the bug” - write the exact fix.

Complete Information

Every task includes:
  • Exact file paths (not “the config file”)
  • Complete code (not “add error handling”)
  • Exact commands with expected output
  • References to relevant skills with @ syntax

Core Values

  • DRY (Don’t Repeat Yourself)
  • YAGNI (You Aren’t Gonna Need It)
  • TDD (Test-Driven Development)
  • Frequent commits

Plan Structure

Header (Required)

Every plan MUST start with this header:

Task Structure

Each task follows this template:

Complete Example

File Location

Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.md

Execution Handoff

After saving the plan, offer execution choice:
1

Plan Complete

“Plan complete and saved to docs/plans/<filename>.md. Two execution options:”
2

Option 1: Subagent-Driven (this session)

  • Stay in current session
  • Dispatch fresh subagent per task
  • Review between tasks
  • Fast iteration
If chosen: Use superpowers:subagent-driven-development
3

Option 2: Parallel Session (separate)

  • Open new session with executing-plans
  • Batch execution with checkpoints
  • No context switch back to this session
If chosen: Guide them to open new session, which uses superpowers:executing-plans

Best Practices

Always Include

Exact Paths

src/metrics/collector.pyNot: “the collector file”

Complete Code

Full function implementationNot: “add error handling”

Exact Commands

pytest tests/metrics/test_collector.py::test_track -vNot: “run the tests”

Expected Output

Expected: PASSNot: “make sure it works”

Reference Skills

Use @ syntax to reference relevant skills:

Common Mistakes

Don’t:
  • Write “Add validation” (write the exact validation code)
  • Write “Fix the bug” (write the exact fix)
  • Write “Run tests” (specify exact command and file)
  • Write “Commit changes” (specify exact files to commit)
  • Assume they know where files are
  • Assume they know what libraries to use

Checklist

Before considering plan complete:
  • Header includes REQUIRED SUB-SKILL line
  • Goal stated in one sentence
  • Architecture approach described (2-3 sentences)
  • Tech stack listed
  • Each task has exact file paths
  • Each step includes complete code (not “add X”)
  • Each command is exact with expected output
  • Steps are bite-sized (2-5 minutes each)
  • TDD cycle followed (write test, run, implement, run, commit)
  • References to relevant skills included
  • Saved to docs/plans/YYYY-MM-DD-<feature>.md
A good plan can be executed by someone with zero context about your project. If they’d need to ask clarifying questions, add more detail.