SKILL.md--- name: planning-workflow description: "Jeffrey Emanuel's comprehensive markdown planning methodology for software projects. The 85%+ time-on-planning approach that makes agentic coding work at scale. Includes exact prompts used." --- # Planning Workflow — The Foundation of Agentic Development > **Core Philosophy:** "Planning tokens are a lot fewer and cheaper than implementation tokens." > > The models are far smarter when reasoning about a detailed plan that fits within their context window. This is the key insight behind spending 80%+ of time on planning. --- ## Why Planning Matters Before burning tokens with a big agent swarm: - **Measure twice, cut once** — becomes "Check your plan N times, implement once" - A very big, complex markdown plan is still shorter than a few substantive code files - Front-loading human input in planning enables removing yourself from implementation - The code will be written ridiculously quickly when you start enough agents with a solid plan --- ## The Planning Process (Overview) ``` ┌──────────────────────────────────────────────────────────────┐ │ 1. INITIAL PLAN (GPT Pro / Opus 4.5 in web app) │ │ └─► Explain goals, intent, workflows, tech stack │ ├──────────────────────────────────────────────────────────────┤ │ 2. ITERATIVE REFINEMENT (GPT Pro Extended Reasoning) │ │ └─► 4-5 rounds of revision until steady-state │ ├──────────────────────────────────────────────────────────────┤ │ 3. MULTI-MODEL BLENDING (Optional but recommended) │ │ └─► Gemini3 Deep Think, Grok4 Heavy, Opus 4.5 │ │ └─► GPT Pro as final arbiter │ ├──────────────────────────────────────────────────────────────┤ │ 4. CONVERT TO BEADS (Claude Code + Opus 4.5) │ │ └─► Self-contained tasks with dependency structure │ ├──────────────────────────────────────────────────────────────┤ │ 5. POLISH BEADS (6+ rounds until steady-state) │ │ └─► Cross-model review, never oversimplify │ └──────────────────────────────────────────────────────────────┘ ``` --- ## Phase 1: Creating the Initial Plan ### Where to Write It Use **GPT Pro with Extended Reasoning** in the web app. No other model can touch Pro on the web when dealing with input that fits its context window. **Alternative:** Claude Opus 4.5 in the webapp is also good for initial plans. ### What to Include 1. **Goals and Intent** — What you're really trying to accomplish 2. **Workflows** — How the final software should work from the user's perspective 3. **Tech Stack** — Be specific (e.g., "TypeScript, Next.js 16, React 19, Tailwind, Supabase") 4. **Architecture Decisions** — High-level structure and patterns 5. **The "Why"** — The more the model understands your end goal, the better it performs You don't even need to write the initial markdown plan yourself. You can write that with GPT Pro, just explaining what it is you want to make. --- ## Phase 2: Iterative Refinement ### THE EXACT PROMPT — Plan Re