create-a-plan
Conduct a focused technical planning interview to produce an implementable, parallelizable plan or spec with clear dependencies, risks, and open questions.
Best use case
create-a-plan is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Conduct a focused technical planning interview to produce an implementable, parallelizable plan or spec with clear dependencies, risks, and open questions.
Teams using create-a-plan should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/create-a-plan/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How create-a-plan Compares
| Feature / Agent | create-a-plan | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Conduct a focused technical planning interview to produce an implementable, parallelizable plan or spec with clear dependencies, risks, and open questions.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Create a Plan Skill This skill runs a structured technical interview to turn a rough idea or an existing spec into a detailed, implementable plan. The output is organized for parallel execution: foundations first, then independent workstreams, then merge and integration. ## Invocation The user will provide one of: - A path to a spec or plan file (for example: `SPEC.md`, `PLAN.md`, `RFC.md`) - A rough description of what they want to build - A feature request or problem statement Output is always written to `PLAN.md` in the repo root. ## Process ### Phase 0: Preflight 1. If a file path is provided, read it first and note goals, non-goals, constraints, and gaps. 2. Confirm you will produce `PLAN.md` as the output in the repo root. If `PLAN.md` already exists, update it rather than creating a new file. ### Phase 1: Discovery Summarize what is known, then identify missing details. Focus on: - Goals and non-goals - Constraints (time, budget, platform, dependencies) - Success metrics and acceptance criteria ### Phase 2: Deep Interview Use the `AskUserQuestion` (Claude) and/or `request_user_input` (Codex) tools in rounds. Ask 1-3 questions per round. Each round should go deeper and avoid repeating what is already known. CRITICAL RULES: 1. Never ask obvious questions. If the codebase or spec already answers it, do not ask it again. 2. Ask about edge cases and failure modes. 3. Probe for hidden complexity (state transitions, migrations, concurrency). 4. Challenge assumptions when they create risk or ambiguity. 5. Identify parallelization boundaries and serial dependencies. 6. If the user is unsure, propose a default and ask for confirmation. Question categories to cover as relevant: - Technical architecture and data flow - Data model and state management - API contracts and versioning - Caching and invalidation - Background jobs, retries, and idempotency - Error handling and recovery - Observability and debugging - Performance, scale, and SLAs - Security, privacy, and compliance - Integrations and external dependencies - UX flows, accessibility, and responsiveness - Rollout, migration, and rollback - Testing strategy and validation ### Phase 3: Dependency Analysis Identify: 1. Serial dependencies that must complete first 2. Parallel workstreams that can run independently 3. Merge points where work reconvenes ### Phase 4: Plan Generation Write the final plan to `PLAN.md`. Ensure the plan includes concrete verification steps the agent can run end to end. If the user only wants a plan in chat, provide it inline and mention that it would be written to `PLAN.md`. ## Output Format The generated plan MUST follow this structure: ```markdown # [Feature Name] Implementation Plan ## Overview [2-3 sentence summary of what this implements and why] ## Goals - [Explicit goal 1] - [Explicit goal 2] ## Non-Goals - [What this explicitly does NOT do] ## Assumptions and Constraints - [Known constraints or assumptions] ## Requirements ### Functional - [Requirement] ### Non-Functional - [Performance, reliability, security, compliance] ## Technical Design ### Data Model [Schema changes, new entities, relationships] ### API Design [New endpoints, request/response shapes, versioning] ### Architecture [System diagram in text or mermaid, component interactions] ### UX Flow (if applicable) [Key screens, loading states, error recovery] --- ## Implementation Plan ### Serial Dependencies (Must Complete First) These tasks create foundations that other work depends on. Complete in order. #### Phase 0: [Foundation Name] **Prerequisite for:** All subsequent phases | Task | Description | Output | |------|-------------|--------| | 0.1 | [Task description] | [Concrete deliverable] | | 0.2 | [Task description] | [Concrete deliverable] | --- ### Parallel Workstreams These workstreams can be executed independently after Phase 0. #### Workstream A: [Name] **Dependencies:** Phase 0 **Can parallelize with:** Workstreams B, C | Task | Description | Output | |------|-------------|--------| | A.1 | [Task description] | [Concrete deliverable] | | A.2 | [Task description] | [Concrete deliverable] | #### Workstream B: [Name] **Dependencies:** Phase 0 **Can parallelize with:** Workstreams A, C | Task | Description | Output | |------|-------------|--------| | B.1 | [Task description] | [Concrete deliverable] | --- ### Merge Phase After parallel workstreams complete, these tasks integrate the work. #### Phase N: Integration **Dependencies:** Workstreams A, B, C | Task | Description | Output | |------|-------------|--------| | N.1 | [Integration task] | [Concrete deliverable] | --- ## Testing and Validation - [Unit, integration, end-to-end coverage] - [Manual test plan if needed] ## Rollout and Migration - [Feature flags, staged rollout, migration steps] - [Rollback plan] ## Verification Checklist - [Exact commands or manual steps the agent can run to verify correctness] - [Expected outputs or success criteria] ## Risk Assessment | Risk | Likelihood | Impact | Mitigation | |------|------------|--------|------------| | [Risk description] | Low/Med/High | Low/Med/High | [Strategy] | ## Open Questions - [ ] [Question that still needs resolution] ## Decision Log | Decision | Rationale | Alternatives Considered | |----------|-----------|------------------------| | [Decision made] | [Why] | [What else was considered] | ``` ## Interview Flow Example Round 1: High-Level Architecture - "The spec mentions a sync engine. Is this push-based (webhooks), pull-based (polling), or event-driven (queue)?" - "What is the expected data volume and throughput?" Round 2: Edge Cases - "If a batch fails mid-run, do we retry the whole batch or resume from a checkpoint?" - "What happens when source data is deleted but still referenced downstream?" Round 3: Parallelization - "Can we process different categories independently, or are there cross-category dependencies?" - "Is there a natural partition key that allows sharding?" Round 4: Operational - "What is the acceptable latency for sync or processing?" - "How will operators debug failures and what visibility do they need?" ## Key Behaviors 1. Persist until the plan is implementable and verifiable by the agent, but avoid user fatigue by batching questions. 2. Challenge vague answers when they affect design decisions. 3. Identify hidden work and operational overhead. 4. Think about the merge and integration steps early. 5. Summarize understanding and confirm before writing the final plan. ## Completing the Interview After sufficient rounds of questions: 1. Summarize your understanding back to the user 2. Confirm the parallelization strategy 3. Write the complete plan to the target file 4. Ask if any sections need refinement
Related Skills
create-pr
Create or update a PR from current branch to main, watch CI, and address feedback
ui-ux-pro-max
UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, and check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, and mobile app. Elements: button, modal, navbar, sidebar, card, table, form, and chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, and flat design. Topics: color systems, accessibility, animation, layout, typography, font pairing, spacing, interaction states, shadow, and gradient. Integrations: shadcn/ui MCP for component search and examples.
ui-architecture
UI component patterns for the Nums game client — Radix primitives, elements, containers, theming, Storybook conventions. Use when creating or modifying UI components, adding storybook stories, or working with the design system.
ui-architecture-icon
Add SVG icons to the Nums game client — convert SVG, create component, export, update storybook. Use when adding, modifying, or removing icon components.
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
render-daily-replay
Auto-render a Remotion video replay of a Nums game on Mainnet. Resolves the target `gameId` from Torii (best reward of the day OR best score of the day, OR a specific gameId the user provides), silently auto-fetches the current NUMS price from Ekubo, then runs `pnpm remotion:render:game` with the right props. Use when the user asks to render today's top game, the daily winner, the biggest reward, the highest score, or any specific gameId, without having to assemble the render command by hand.
remotion-best-practices
Best practices for Remotion - Video creation in React
nums-remotion-replay
Project-specific skill for the Nums Remotion package that generates game replay videos by reusing the existing client React components. Covers the cross-package webpack setup, client-component overrides, Torii data fetching, font loading, render flow quirks, and hosting. Use when working on `remotion/` or the `SlidingNumber` component, adding new compositions, debugging font/animation issues, or setting up hosting for the Remotion Studio. Pairs with the generic `remotion-best-practices` skill.
dojo
Dojo Engine framework patterns — World, Systems, Models, Events, Components, Store, permissions, testing with spawn_test_world, and deployment with sozo.
dojo-world
Manage world permissions, namespaces, resource registration, and access control. Use when configuring world ownership, setting up authorization policies, or managing resource permissions.
Cartridge VRF Integration
Integrate Cartridge's Verifiable Random Function (VRF) for provably fair, atomic randomness in Dojo games.
dojo-token
Implement, deploy, and index ERC20 and ERC721 tokens in Dojo. Use when adding token contracts, deploying them, or configuring Torii to index balances and transfers.