--- name: planning description: Use when you have a spec or requirements for a multi-step task, before touching code --- # Planning ## Overview Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well. **Announce at start:** "I'm using the planning skill to create the implementation plan." **Save plans to:** `/plans/YYYY-MM-DD_HH:MM_.md` ## Plan Structure ```markdown # Plan: ## Summary ## Prerequisites ## Open Questions ## Out of Scope ## Overview ## Task : **Files:** `path/to/file.ts:42`, ... **Depends on:** Task (if any) **Verify:** ``` ## Remember - Exact file paths always, with line-numbers if relevant - Verbose description of implementation, or even complete code in plan (not "add validation") - Exact commands with expected output - Reference relevant skills - Order tasks by dependency; call out blocking relationships - Each task should be independently verifiable - When open questions are answered, integrate the answers into the plan and remove them from **Open Questions** - When prerequisites are satisfied or resolved, integrate them into the plan and remove them from **Prerequisites**