uplan
Use after design to turn a validated spec into a lean implementation plan. Outputs the `## Plan` section of the task file — files, line numbers, class/method…
by btseytlin★ 46 GitHub stars
Install uplan in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Plan
Convert the approved design into an implementation contract for uexecute. Fill ## Plan in the existing docs/tasks/<slug>.md. Do not create a separate plan file.
Read the brevity rules and global principles before planning. Preserve required content and omit optional sections with no useful content. Deviations, deferrals, failures, and risks retain evidence and reasons.
Scope
Design decides the outcome and scope. Planning names the concrete changes needed to reach it. If a new finding requires splitting the task, changing the design, or expanding scope, stop and ask the user. Do not silently rewrite the goal.
Process
- Read context, design, invariants, principles, assumptions, and unknowns in the task file.
- Identify files, symbols, and interfaces to change. Include only defects within the approved scope in the plan. Report unrelated findings under
## Code smellswithout adding their fixes. - Divide the work into coherent phases with at least one commit per phase.
- Write concrete file changes, interfaces, verification behavior, and dependencies. Follow the design's test-driven-development decision.
- Map compatibility risks to phases and mitigation steps. If a new break was not covered by the design, stop and ask the user. For greenfield work, state that this check does not apply.
- Review the plan for coverage, correctness, and simplicity using the checks below.
- Present the plan. In interactive mode, wait for approval before invoking uexecute. In hands-off mode, follow the contract below.
Required contents
Always include:
- Approach and why it fits the design.
- Each changed or new file as
path:lineA-lineB, with affected symbols and concrete changes. For example, nameParser.tokenize()rather than just "modify parser". - New or changed signatures without implementation bodies.
- Ordered phases and intended commits.
- References to the design constraints each phase preserves or relies on.
Include when relevant:
- Test strategy: behaviors to cover, with failing tests first when
TDD: yes. - Dependencies, open questions, risks, and rollback.
- Cross-phase interfaces when two or more phases share a signature, anchor, or other contract.
- An interface graph for multi-phase plans. Omit it for a single phase.
- A snippet only when prose cannot express the most critical detail in a phase. Do not write full implementations in the plan.
ID conventions
PH1,PH2, and so on identify phases. Each phase heading is### PH<N> — <name>.RK1,RK2, and so on identify risks, each defined in one sentence.IF1,IF2, and so on identify cross-phase interfaces.- Reference existing design entities by their IDs rather than repeating definitions.
Format
## Plan
Approach: <strategy and reason>
### PH1 — <name>
- 1.1 `path/to/file.ext:lineA-lineB` (create|modify)
- `Class.method(arg: Type) -> Ret` — <concrete change>
- Respects: IV2, AS1
- Commit: <message>
### Test strategy
- <behavior and affected file or phase>
### Order & dependencies
- <what blocks what>
### Risks / rollback
- RK1 — <risk and mitigation>
### Interfaces
- IF1 — <signature and contract>
- IF2 [blocks] — <signature, contract, and why the consumer must wait>
### Interface graph
- PH1 -> IF1, IF2 @ src/producer.py
- PH2 IF1 -> @ src/consumer.py
- PH3 IF2 -> @ src/generated_consumer.py
Repeat phase entries as needed. The graph above illustrates dependencies for three phases, whose concrete change bullets must also be written. Omit irrelevant optional sections.
When to declare interfaces
An interface is a contract shared by phases: a function signature, class shape, file format, or skill section anchor. The consume arrow names an interface the phase uses. A phase that only reads an earlier phase's plan text does not consume its output.
For each graph line, declare consumed interfaces, produced interfaces, and owned paths after @. An empty consume side is a source. An empty produce side is a sink.
Only [blocks] interfaces create wave boundaries. Non-blocking consumers can be implemented against the declared signature while the producer runs. Do not hand-declare waves. The executor derives them and checks that concurrent phases own disjoint paths.
Blocking interfaces
Use [blocks] when a consumer needs actual producer output, such as a generated file or applied migration, or when a large or critical producer must be completed and verified first. State the reason in the interface contract.
Leave ordinary signature dependencies non-blocking when their declarations provide enough context. The executor's wiring check reconciles drift after the final wave.
Self-review
- Every invariant, principle, assumption, and unknown maps to a plan bullet or an explicit deferral to execution or verification.
- File paths and symbols are concrete and consistent. Remove placehol
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the uplan skill do?
Use after design to turn a validated spec into a lean implementation plan. Outputs the `## Plan` section of the task file — files, line numbers, class/method names, invariants, test strategy, order. Ends with a scope-creep / simpler-way check.
How do I install the uplan skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the uplan skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…