create-plan
Skill0 starsChanged 10 months agoMITView on GitHub
Create complete implementation plans with phases for new features or projects. Use when starting a new feature, planning a refactor, or designing a system ('create a plan', 'plan this feature', 'design the phases for...', 'plan the implementation'). Do NOT use for implementing code (use /implement), reviewing existing plans (use /review-plan), or quick single-file changes.
26 other projects use a version of this.
Adopted by
Most recently taken up by
- zzacong/agent-skillstheir own version, first seen Oct 4, 2026
- broneq/bdktheir own version, first seen Sep 25, 2026
- maxedapps/agent-skillstheir own version, first seen Sep 24, 2026
- ConsolaDev/Consolatheir own version, first seen Sep 23, 2026
- atomicinnovation/acceleratortheir own version, first seen Sep 22, 2026
- braincandy-parallel/tamarindos-workflow-kittheir own version, first seen Sep 18, 2026
Used with
Projects with it also use codebase-migrate, email-draft-polish and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
composio-communitySkillcodebase-migrate
Run large codebase migrations and multi-file refactors. Uses the Composio CLI to coordinate issue tracking, batched PRs, and CI verification while the agent executes the transforms locally across hundreds of files.
Also in 3 projects that use this
composio-communitySkillemail-draft-polish
Draft, rewrite, or condense emails with target tone, length, and audience; use for cold outreach, replies, status updates, or escalations where clarity and brevity matter.
Also in 3 projects that use this
jesgarramSkillimplement-plan
Convert a plan document into Claude Code tasks with dependencies. Pure parser that reads plans from context/plans/ and creates executable task workflows.
Also in 8 projects that use this
mhylleSkilliterate-plan
Update existing implementation plans through user feedback with thorough research and validation. Also migrates old checkbox-based plans to the new Task tools system. This skill should be used when iterating on implementation plans, updating plans based on new requirements, refining technical approaches in existing plans, migrating old plans to Task tools, or when the user wants to modify a previously created plan file. Triggers on requests like "update the plan", "change the implementation approach", "iterate on this plan", "migrate to new system", or when feedback is provided about an existing plan document.
Also in 3 projects that use this
shawn-dumasSkillvalidate-plan
Validate an orchestration plan after pre-flight certification. Runs adversarial review, deep review (verify prompt data against codebase), and PoC gate for risky approaches. Auto-invoked by orchestrate-* skills at Step 8.
Also in 3 projects that use this
joshuaalpuertoSkillresearch-codebase
Conducts structured research across a codebase to answer questions about architecture, components, and data flow. Use when investigating how code works, where functionality lives, or how systems interact. Decomposes questions, runs parallel investigations, synthesizes findings with file:line references, and produces persistent research documents.
Also in 3 projects that use this
- +3 more from composio-community
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- composio-community/awesome-codex-skills★ 17ksame name
- freestylefly/wesight★ 941same name
- JetBrains/youtrackdb★ 437same name
- maxedapps/agent-skills★ 60same name
- DasDigitaleMomentum/opencode-processing-skills★ 59same name
- flc1125/skills★ 35same name
- atomicinnovation/accelerator★ 34same name
- mhylle/claude-skills-collection★ 19same name
- knwoop/clear-plan-skills★ 9same name
- mhmzdev/hisab-whatsapp★ 9same name
16 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-planSkill
- builder-workflowSkill
- code-reviewSkill
- context7-mcpSkill
- customizeSkill
- devSkill
- hand-crafted-svgSkill
- implementSkill
- improve-promptSkill
- playwright-e2eSkill
- playwright-mcpSkill
- postgres-expertSkill
- react-form-builderSkill
- review-planSkill
- sequential-thinking-mcpSkill
- server-action-builderSkill
- service-builderSkill
- tavily-mcpSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. 0 are common, 13 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Create a complete plan with phases for: $ARGUMENTS
- Very specific: line 38
Read the task description above.
- Distinctive: line 49
If the description says "add voice commands" but doesn't specify which commands, ASK.
- Distinctive: line 55
Read both templates completely:
- Distinctive: line 59
Every section in these templates is required.
- Very specific: line 79
Before creating tasks, run TaskList to check if tasks already exist from a previous session or before a compact.
- Very specific: line 80
Read existing tasks with TaskGet for each task ID
- Distinctive: line 84
If no tasks exist, create them now.
- Very specific: line 101
Write plans/{folder}/plan.md with ALL sections from the template:
- Distinctive: line 119
Before creating phase files, plan the full decomposition.
- Very specific: line 123
If the feature involves React components, Next.js pages, or UI work, invoke this skill BEFORE designing phases:
- Very specific: line 147
Use it.todo('description') for TDD stubs
- Very specific: line 148
Use vi.hoisted() for mock variables needed before module evaluation
- Very specific: line 183
Import paths: import 'server-only', @/ path alias for project root
- Distinctive: line 188
Keep these patterns in mind for every code block you write in phase files.
- Distinctive: line 204
Write the complete phase file following PHASE-TEMPLATE.md exactly.
- Very specific: line 254
After creating each phase file, run these validators to catch issues immediately (before review agents get involved).
- Distinctive: line 270
If any validator exits non-zero, fix the issue before moving to the next phase.
- Distinctive: line 302
After reviews and audit complete, provide the user with:
- Distinctive: line 318
If you notice context was compacted or you're unsure of current progress:
- Very specific: line 320
Run TaskList to see all tasks and their status
- Very specific: line 322
Run TaskGet {id} on that task to read full details
- Distinctive: line 340
Fix: Follow Task List pattern in Step 4 — mark tasks complete as you go.
- Distinctive: line 356
Fix: Use the exact prompt templates from Delegation Guide.
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Complete Plan
Create a complete plan with phases for: $ARGUMENTS
Current Plans
Existing plans in the repository (avoid naming conflicts):
!ls plans/ 2>/dev/null || echo "(no plans directory yet)"
Workflow Overview
This skill creates a full planning package:
- Folder structure with date-prefixed naming
- plan.md with all sections (phases added iteratively)
- Reference reading from actual codebase for pattern accuracy
- Phase files created one at a time with correct code patterns
- Review via sub-agents for template + codebase compliance
Step 1: Clarify Requirements
The user has experienced 20-phase plans built on wrong assumptions — hours of work discarded because a 30-second question wasn't asked upfront. Clarification prevents this waste.
Read the task description above. If anything is ambiguous or underspecified, use AskUserQuestion to clarify before proceeding.
Questions to ask if not clear from the description:
- Problem: What specific problem are we solving? What pain point does this address?
- Scope: Is this a small feature, medium enhancement, or major system?
- Users: Who uses this feature? (specific roles, account types)
- Integrations: Does this connect to external services or APIs?
- Data: What data does this create, read, update, or delete?
- UI: Where does this appear in the app? New page, existing page, component?
If the description says "add voice commands" but doesn't specify which commands, ASK. If it says "improve performance" but doesn't specify what's slow, ASK. The user prefers a brief clarification dialogue over assumptions that lead to rework.
Step 2: Read Templates
The user created these templates specifically so phases don't miss required sections. Skipping template reading causes incomplete phases that require rework during implementation.
Read both templates completely:
references/PLAN-TEMPLATE.mdreferences/PHASE-TEMPLATE.md
Every section in these templates is required.
Step 3: Create Folder Structure
Folder naming pattern: plans/{YYMMDD}-{feature-name}/
Examples:
plans/250202-voice-assistant/plans/250202-notification-system/plans/250202-api-refactor/
Create these items:
- Main folder:
plans/{YYMMDD}-{feature-name}/ - Planning reviews folder:
plans/{YYMMDD}-{feature-name}/reviews/planning/ - Code reviews folder:
plans/{YYMMDD}-{feature-name}/reviews/code/
Step 4: Create Task List
Tasks survive context compacts — skipping this check causes duplicate tasks and lost progress.
Before creating tasks, run TaskList to check if tasks already exist from a previous session or before a compact. If tasks exist:
- Read existing tasks with
TaskGetfor each task ID - Find the first task with status
pendingorin_progress - Resume from that task — do NOT recreate the task list
If no tasks exist, create them now. The user depends on task tracking to prevent skipped sections.
Example task list:
Task 1: Create plan.md structure (all sections except Phase Table content)
Task 2: Read codebase references
Task 3: Design phase breakdown
Task 4: Create Phase 01 - [Title]
Task 5: Create Phase 02 - [Title]
[...continue for all phases...]
Task N: Review complete plan (delegate to review sub-agents)
Task N+1: Flow audit (3+ phases only — /audit-plan)Step 5: Create plan.md (Without Phase Details)
Write plans/{folder}/plan.md with ALL sections from the template:
- YAML Frontmatter (title, status, priority, tags, dates)
- Executive Summary (Mission, Big Shift, Deliverables)
- Phasing Strategy (Phase Constraints, Phase File Naming)
- Phase Table — Header row only, no content rows yet
- Architectural North Star (patterns with Core Principle + Enforcement)
- Component Library Priority (check your UI library before building custom)
- Security Requirements (RLS, Input Validation, Authorization, Error Handling)
- Implementation Standards (Test Strategy, Documentation Standard)
- Success Metrics & Quality Gates
- Global Decision Log (ADRs)
- Resources & References
Complete ALL sections except Phase Table rows. Missing sections are caught during review (Step 9) but cost extra review cycles to fix.
Step 6: Design Phase Breakdown
Before creating phase files, plan the full decomposition.
Load Frontend Guidelines (If Applicable)
If the feature involves React components, Next.js pages, or UI work, invoke this skill BEFORE designing phases:
/vercel-react-best-practicesThis loads 57 performance rules across 8 categories. Reference these when designing data fetching patterns, component architecture, and bundle optimization requirements.
Phase Constraints
Phases that exceed one context window cause Claude to lose earlier context mid-implementation, producing incomplete or inconsistent code. Each phase should be atomic enough for implementation in 1 context window (~15KB document, ~2-3 hour focused session).
30 small phases > 5 large phases
| Wrong Approach | Right Approach |
| "Phase 01: Database + API + UI" | Split into 3 phases |
| "Phase 02: Full Feature Implementation" | Break into atomic steps |
| "Phase 03: Testing and Polish" | TDD is Step 0 in EACH phase |
TDD Note: Both backend and frontend code require full unit tests:
- Backend (services, schemas, APIs): Unit tests in
__tests__/{feature}/ - Frontend (React/TSX): Component tests using happy-dom (default) and @testing-library/react
- The default happy-dom environment works for component tests. Only add
// @vitest-environment happy-domif explicitly overriding another environment. - Use
it.todo('description')for TDD stubs - Use
vi.hoisted()for mock variables needed before module evaluation - For Supabase client mocks, add
.then()method for thenable/awaitable pattern - Path aliases in tests: use your project's configured path alias (e.g.,
@/or~/)
Atomic phase examples:
- Phase 01: Database Schema & RLS Policies
- Phase 02: Service Layer Functions
- Phase 03: Server Actions with Validation
- Phase 04: List View Component
- Phase 05: Create Form Component
The test: Can Claude implement this phase without running out of context? If unsure, split it.
Step 7: Read Codebase References
Code blocks written from memory often don't match the real codebase — this is the #1 source of phase quality issues. Reading actual files before writing phases ensures patterns are accurate.
Identify which file types the feature will need and read one reference for each:
| Feature Needs | Reference to Read |
| Server actions | Glob app/home/[account]/**/*server-actions*.ts → read one |
| Service layer | Glob app/home/[account]/**/*service*.ts → read one |
| Zod schemas | Glob app/home/[account]/**/*.schema.ts → read one |
| SQL migrations / RLS | Glob supabase/migrations/*.sql → read a recent one |
| React components | Glob app/home/[account]/**/_components/*.tsx → read one |
| Page files | Glob app/home/[account]/**/page.tsx → read one |
| Tests | Glob __tests__/**/*.test.ts → read one |
Key patterns to extract and use in phase code blocks:
- Server action pattern:
'use server'+ Zod parse +getSession()auth check - Account resolution: slug → ID via
client.from('accounts').select('id').eq('slug', data.accountSlug).single() - Permission check: your RLS helper function (e.g.,
client.rpc('check_account_access', { ... })) - Supabase client:
createClient()from@/lib/supabase/server - Service factory:
createXxxService(client: SupabaseClient<Database>)wrapping a private class - Import paths:
import 'server-only',@/path alias for project root - File naming:
_lib/schema/(singular),server-actions.ts, exports ending inAction - TypeScript: consider enums or union types for constants,
interfacepreferred for objects - After mutations:
revalidatePath('/home/[account]/...')
Keep these patterns in mind for every code block you write in phase files. The review step (Step 9) will flag any code blocks that deviate from these codebase patterns.
Step 8: Create Phases (Iterative)
For EACH phase, in order:
8a: Add Row to Phase Table
Edit plan.md to add the phase row:
| **01** | [Title](./phase-01-slug.md) | [Focus] | Pending |8b: Create Phase File
Write the complete phase file following PHASE-TEMPLATE.md exactly.
File: plans/{folder}/phase-{NN}-{slug}.md
Include skill in Frontmatter — without it, the implementer won't know which skill to invoke and will use generic patterns instead of project-specific ones.
| Phase Type | Skill Value |
| Database schema, migrations, RLS | postgres-expert |
| Server actions, services, API | server-action-builder |
| React forms with validation | react-form-builder |
| E2E tests | playwright-e2e |
| React components/pages | vercel-react-best-practices |
| UI/UX focused work | web-design-guidelines |
Example frontmatter:
---
title: "Phase 01 - Database Schema"
skill: postgres-expert
status: pending
---For phases spanning multiple concerns, list the primary skill or use comma-separated values:
skill: react-form-builder, vercel-react-best-practicesRequired sections (from template):
- YAML Frontmatter (title, description, status, dependencies, tags, dates, skill)
- Overview (brief description, single-sentence Goal)
- Context & Workflow (How the Project Uses This, User Workflow, Problem Being Solved)
- Prerequisites & Clarifications (Questions for User with Context/Assumptions/Impact)
- Requirements (Functional + Technical)
- Decision Log (phase-specific ADRs)
- Implementation Steps — Step 0: TDD is first
- Verifiable Acceptance Criteria (Critical Path, Quality Gates, Integration)
- Quality Assurance (Manual Testing, Automated Testing, Performance Testing, Review Checklist)
- Dependencies (Upstream, Downstream, External)
- Completion Gate (Sign-off checklist)
Code blocks in phases should match codebase patterns from Step 7 — not memory, not generic examples. Generic code blocks cause the implementer to write code that doesn't follow project conventions, creating rework. If you don't remember the exact pattern, re-read the reference file from Step 7 before writing the code block.
8c: Update Task Status
Mark the phase task as completed, move to next phase.
8d: Validate Phase Quality
After creating each phase file, run these validators to catch issues immediately (before review agents get involved). Run them via Bash — they read from stdin but only need {"cwd": "."}:
# Check for skeleton/placeholder content (catches the Phase 17 lesson)
echo '{"cwd":"."}' | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/validators/validate_no_placeholders.py \
--directory plans/{folder} --extension .md
# Check TDD tasks appear before implementation tasks
echo '{"cwd":"."}' | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/validators/validate_tdd_tasks.py \
--directory plans/{folder} --extension .md
# Confirm the phase file was actually created
echo '{"cwd":"."}' | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/validators/validate_new_file.py \
--directory plans/{folder} --extension .mdIf any validator exits non-zero, fix the issue before moving to the next phase. Placeholder content and missing TDD steps are the two most common causes of rework during implementation.
8e: Repeat
Continue until all phases are created.
Step 9: Review Complete Plan
Independent review agents catch template gaps and codebase compliance issues that self-review misses. The user depends on this step to prevent discovering problems during implementation when they're 10x more costly to fix.
Spawn one agent per file for thorough reviews. See Delegation Guide for:
- Batching rules (max 4 concurrent agents to prevent context window blowout)
- Agent prompt templates for plan.md and phase reviews
- Anti-patterns to avoid when delegating
- Batching examples for plans of different sizes
Step 10: Flow Audit (3+ Phases)
For plans with 3 or more phases, run a flow audit to catch structural issues that per-phase reviews cannot see — circular dependencies, missing dependency declarations, wrong phase ordering, and stale artifacts.
Skip this step for 1-2 phase plans (too small for flow issues).
/audit-plan plans/{YYMMDD}-{feature-name}This invokes /audit-plan which writes a report to {plan-folder}/reviews/planning/flow-audit.md. The /implement orchestrator gate-checks this report before starting implementation — if the overall assessment is "Major Restructuring Needed", implementation blocks.
If the audit finds Critical/High issues: Fix them in the phase files before reporting the plan as ready. Re-run /audit-plan after fixes to confirm the issues are resolved.
Step 11: Report Summary
After reviews and audit complete, provide the user with:
- Folder location:
plans/{YYMMDD}-{feature-name}/ - Files created:
- plan.md
- phase-01-.md through phase-NN-.md
- reviews/planning/ folder with review files
- Review status:
- Plan.md: template score (X/11)
- Each phase: template score (X/12) + codebase score (N issues by severity)
- Flow audit (3+ phases): overall assessment + Critical/High issue count
- Overall verdict: Ready/Not Ready for implementation
- Critical issues (if any) that need addressing before implementation
Resuming After Context Compact
If you notice context was compacted or you're unsure of current progress:
- Run
TaskListto see all tasks and their status - Find the
in_progresstask — that's where you were - Run
TaskGet {id}on that task to read full details - Continue from that task — don't restart from the beginning
Tasks persist across compacts. The task list is your source of truth for progress, not your memory.
Pattern for every work session:
TaskList → find in_progress or first pending → TaskGet → continue work → TaskUpdate (completed) → next taskTroubleshooting
Context Window Overflow
Symptom: Agent loses track of phases mid-creation, produces incomplete or inconsistent output.
Cause: Too many phases being created without task tracking, or review agents spawned without batching.
Fix: Follow Task List pattern in Step 4 — mark tasks complete as you go. For reviews, batch agents in groups of 4 per the Delegation Guide.
Missing Template Sections
Symptom: Review agents flag missing sections in plan.md or phase files.
Cause: Template not read before writing, or sections skipped during creation.
Fix: Re-read the template (references/PLAN-TEMPLATE.md or references/PHASE-TEMPLATE.md) and add the missing sections. Each section exists because omitting it caused implementation problems.
Agent Delegation Failures
Symptom: Review agents skip the /review-plan skill invocation or produce superficial reviews.
Cause: Vague delegation prompts that don't specify the skill to invoke or what success looks like.
Fix: Use the exact prompt templates from Delegation Guide. Include both the imperative command AND explanation of what the review entails.
Patterns That Prevent User-Reported Failures
The user experienced each of these failures. Understanding the harm helps you avoid them:
| Pattern to Avoid | Harm When Ignored |
| Writing code blocks without reading codebase | Phases contain wrong patterns, caught late during implementation |
| Large multi-concern phases | Phases exceed context window, work gets lost mid-implementation |
| Skipping template sections | The user created templates so requirements aren't re-explained each time |
| Assuming instead of asking | Wrong plan built on false premises, hours of wasted effort |
| Self-reviewing the plan | Blind spots missed; /review-plan catches template AND codebase deviations |
| Vague delegation prompts | Agents misinterpret and skip skill invocation |
| Folder without date prefix | Folders become unsorted chronologically |
| Skipping TaskList check | Duplicates tasks if resuming after context compact |
Template Locations
- Plan:
references/PLAN-TEMPLATE.md - Phase:
references/PHASE-TEMPLATE.md
These templates are auto-loaded into your context from the skill's references/ folder. Match them section-by-section.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

