Skip to content
Development
Skill

/writing-plans

Use when you have a spec or requirements for a multi-step task, before touching code.

From plugin
agent-powerups
8114 skills46 agents54 commands

Claude Code

$ npx -y skills add yeaight7/agent-powerups --skill writing-plans --agent claude-code

SKILL.md

writing-plans.SKILL.md
name: writing-plans
description: Use when you have a spec or requirements for a multi-step task, before touching code.

Purpose

Turn a spec into a detailed, executable multi-step implementation plan. Prevents implementation drift and gives any engineer — or agent — enough detail to build without guessing.

When to Use

  • Before implementing any multi-subsystem or non-trivial feature.
  • When a spec or requirements document exists and needs to become actionable tasks.
  • When the implementation requires coordinating multiple files or components.

If the spec covers multiple independent subsystems, break it into separate plans — one per subsystem. Each plan should produce working, testable software on its own.

Inputs

  • Spec or requirements document.
  • Access to the codebase (for file paths and existing patterns).

Workflow

1. **Scope check** — Identify all affected subsystems. If multiple independent subsystems, suggest separate plans.

2. **Design file structure** — Before defining tasks, map which files will be created or modified and what each is responsible for. Units should have clear boundaries, focused responsibility, and well-defined interfaces.

3. **Write the plan header:**

   # [Feature Name] Implementation Plan

   **Goal:** [One sentence describing what this builds]

   **Architecture:** [2-3 sentences about approach]

   **Tech Stack:** [Key technologies/libraries]

   ---

4. **Break work into bite-sized tasks** — Each step should take 2–5 minutes:

  • "Write the failing test" — step
  • "Run it to verify it fails" — step
  • "Implement the minimal code to pass the test" — step
  • "Run tests and confirm pass" — step
  • "Commit" — step

5. **Write each task** using this structure:

   ### Task N: [Component Name]

   **Files:**
   - Create: `exact/path/to/file.py`
   - Modify: `exact/path/to/existing.py`
   - Test: `tests/exact/path/to/test.py`

   - [ ] **Step 1:** [Action]
   ```code
   # Actual code here
  • [ ] **Step 2:** Run: `<exact command>`

Expected: `<exact output>`


6. **No placeholders** — These are plan failures; never write them:

TBD / TODO / implement later / fill in details "Add appropriate error handling" / "handle edge cases" "Write tests for the above" (without actual test code) "Similar to Task N" (repeat the code — engineer may read tasks out of order) Steps that describe without showing how (code blocks required for code steps)


7. **Self-review before saving:**
   - Spec coverage: Can you point to a task for every requirement?
   - Placeholder scan: No undefined, deferred, or vague steps?
   - Type consistency: Do types and method names in later tasks match earlier definitions?

8. **Save to** `docs/plans/YYYY-MM-DD-<feature-name>.md`.

## Output

A Markdown plan file with:

- Header (goal, architecture, tech stack)
- Tasks with checkbox steps, exact file paths, actual code blocks, exact commands with expected output
- No placeholders of any kind

## Verification

- [ ] All spec requirements covered (point to a task for each)
- [ ] No undefined, deferred, or vague steps present
- [ ] File paths are exact (not `path/to/file`)
- [ ] Tasks are 2–5 minutes each
- [ ] Code blocks contain actual code, not descriptions
- [ ] Commands include expected output
- [ ] Plan saved to `docs/plans/`

## Failure Modes

- **Vague tasks** — A reader who cannot execute a step without guessing means the task is incomplete.
- **Missing spec coverage** — Implementation diverges from requirements.
- **Placeholder content** — Implementation stalls when an engineer hits an undefined or deferred step.
- **Stale type references** — Function named `clearLayers()` in Task 3 but `clearFullLayers()` in Task 7 is a bug in the plan.
Read more
@yeaight7
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other skills on agent-powerups.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about writing-plans.

Which coding agents can use writing-plans?
writing-plans installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.