Planning patterns
/SKILLStructured planning methodology with research, brainstorming, phased plan creation, risk assessment, and plan-to-build continuity.
--- name: planning-patterns description: A structured planning methodology that includes research, brainstorming, phased plan creation, risk assessment, and continuity from planning to implementation. allowed-tools: Read, Write, Edit, Bash, Grep, Glob, WebSearch, WebFetch --- # Planning Patterns ## Overview A structured methodology for comprehensive planning that flows directly into the BUILD execution phase through plan-to-build continuity. ## Planning Process ### 1. Research Phase - Search for existing solutions and patterns - Identify relevant libraries and tools - Find best practices in the domain - Check for known pitfalls ### 2. Brainstorming Phase - Generate at least 3 alternative approaches - Evaluate trade-offs: complexity, time, risk, scalability - Consider build-vs-buy decisions - Rank by feasibility and alignment ### 3. Plan Creation - Structure the plan into phases, tasks, and milestones - Define acceptance criteria for each phase - Map dependencies between tasks - Include a risk assessment with mitigation strategies - Define a TDD strategy for each coding phase - Estimate effort and timeline ### 4. Review Gate - Verify completeness against the original request - Validate the logical order of phases - Check the feasibility of risk mitigations - Score plan completeness (>=80 to pass) ## Plan-to-Build Continuity - Save plans to the docs/plans/ directory - Reference the plan file in session memory - BUILD workflow reads the plan during requirements clarification - Component-builder follows documented phases ## When to Use - PLAN workflow (primary) - Any task requiring strategic thinking before execution ## Agents Used - planner (primary consumer) - github-researcher (research phase)