--- name: plan-documentation description: Structured plan file generation for large tasks -- phased planning, completion tracking, and decision documentation --- # Plan Documentation Generate structured plan files when starting large features, refactoring efforts, or multi-phase work. Plans create a paper trail that survives context resets and helps collaborators understand what was planned, what changed, and why. ## When to Generate Plan Files Create a plan document when: - The task spans more than 2 files or requires multiple coordinated changes - Work will take more than one session or phase - Multiple approaches exist and the chosen path should be documented - Other people (or future you) need to understand the sequence of work Do NOT create plan files for: - Single-file fixes or tweaks - Routine maintenance (dependency updates, formatting) - Tasks that can be completed in under 15 minutes ## Plan Document Template Create the plan at `plans/-plan.md` in the project root. ```markdown # Plan: Created: Status: IN_PROGRESS | COMPLETE | ABANDONED ## Summary <2-3 sentences explaining what this work accomplishes and why it matters.> ## Phases ### Phase 1: - [ ] Step 1 description - [ ] Step 2 description - [ ] Step 3 description **Acceptance Criteria:** - - ### Phase 2: - [ ] Step 1 description - [ ] Step 2 description **Acceptance Criteria:** - ### Phase N: ... ## Open Questions 1. -- Suggested: