microsoft/rpi-plan
Create evidence-based RPI plans and phase details from supplied context, research, drafts, and decisions. Use when implementation planning is needed.
npx skills add https://github.com/microsoft/hve-core --skill rpi-plan
Produce an implementation-ready, ordinary Markdown plan and separate phase details. Record user intent in a concise freeform ## User Decisions and Requirements list, then maintain independently editable planner-synthesized goals, scope, requirements, and acceptance criteria. The primary planner owns both artifacts, orchestration, revisions, critique timing, and the final readiness decision.
Read references/planning.md for readiness, executive-summary, delegation, and artifact guidance.
## User Decisions and Requirements from user prompts, user-pointed external documents, tasks, issues, and prior research that captures the user's task, goals, requirements, or accepted decisions. Preserve the user's meaning without forcing entries into categories. Distinguish evidence, assumptions, and open choices. Treat supplied evidence as the starting point, not as a reason to repeat investigation.Pxx phase IDs, and current Pxx-Txx task IDs. Initialize and maintain the plan's ## Follow-Up Items section for discovered work outside the active approved plan..copilot-tracking/plans/{{YYYY-MM-DD}}/{{task_slug}}-plan.md.copilot-tracking/details/{{YYYY-MM-DD}}/{{task_slug}}-phase-details.mdRPI Plan opening after that state is persisted and before substantive phase drafting or delegation. Follow the opening shape in references/planning.md.rpi-research only when one of those dimensions reveals a demonstrated planning gap.## User Decisions and Requirements as a concise freeform list, with optional source pointers in entries when useful. Before ## Phase Checklist, maintain separate top-level ## Goals, ## Scope and Non-Goals, ## Functional Requirements, ## Non-Functional Requirements, and ## Acceptance Criteria sections. Synthesize and update those sections from current user input and evidence without duplicating the list. Follow the executive-summary protocol, placing the summary after task metadata and before sources, and keep it synchronized with every material plan change. Put contextual phase and task markers immediately before their headings.RPI Planner subagents for bounded planning assignments. A dispatch may refine phase details, examine supplied evidence, propose decisions or options, expose assumptions, or challenge and refute current goals, phases, or tasks with counter-evidence. Give each dispatch the exact artifacts, relevant evidence, assignment, allowed write boundary, and expected return. Run independent assignments in parallel and dependent assignments sequentially. The primary planner evaluates every return and decides whether to add, update, delete, recreate, reorder, split, merge, or replace goals, scope, non-goals, requirements, acceptance criteria, phases, tasks, or details. Subagent output does not automatically become plan content.vscode_askQuestions set. Before asking, send a conversation message that states the affected user decision or requirement and plan area, the evidence or conflict, viable choices, material consequences, a recommendation when evidence supports one, and Markdown links to relevant planning artifacts, documents, code, or authoritative external sources when available. Apply the user's answer to the freeform list and all affected synthesized sections. Reconcile current sections, IDs and markers, dependencies, executive summary, details, and ## Follow-Up Items after every material revision.Pxx and Pxx-Txx markers for navigation. During planning, the primary planner may add, update, delete, recreate, reorder, split, merge, or replace phases and tasks, and may renumber current IDs so the plan and details remain aligned. Remove obsolete active content rather than retaining it for identifier history.10. Run one final-candidate internal critique by default, only when the primary planner judges both the plan and phase details to be implementation-ready candidates.
none, maximum additions, canonical and generated targets, semantic-versus-regression coverage, and validation evidence in the candidate.rpi-plan-critique with the exact task context, caller requirements, research and evidence pointers, plan and details paths, current user decisions and requirements, dependencies, acceptance criteria, and one critique output path.PC-xxx records its action owner, exact resolving evidence, and whether the planner can apply it directly or needs a significant or divergent user decision.## Critique Disposition section and finalize without running another critique. A Revise verdict means revise the candidate or obtain the required user decision; it never creates a critique loop.11. Prepare the plan, phase details, critique, and downstream changes-record path for the next stage. Treat executive-summary synchronization as a readiness condition. The implementation phase owns creation of .copilot-tracking/changes/{{YYYY-MM-DD}}/{{task_slug}}-changes.md.
applyTo metadata.## User Decisions and Requirements list, separate current synthesized sections for goals, scope and non-goals, functional requirements, non-functional requirements, and acceptance criteria, current phase and task IDs with contextual markers, ## Follow-Up Items, and a clear handoff.RPI Planner assignments as needed.Pxx and Pxx-Txx completion and acceptance claims.✅ denotes an evidence-backed settled decision or achieved readiness, ⚠️ a proposal, unresolved item, critique concern, or revision need, and ⛔ a blocker./compact only when stale tool output, superseded reasoning, or completed-stage detail outweighs useful current context and the plan, phase details, and critique artifacts are current. When advising it, name the state and artifact pointers to retain. Otherwise omit compaction guidance.rpi-implement. State /rpi-implement as the exact next command only when the plan is implementation-ready. Otherwise state the explicit stop or no-handoff reason. In an active rpi-quick or confirmed automatic RPI Agent context, state that the parent continues to the eligible next stage automatically unless a blocker or required confirmation returns control to the user.| actual/workspace-relative/path.ext | Short description |, using that artifact's actual workspace-relative path as both link text and destination; omit unavailable files and render the table immediately before the final ## Next Steps section. End with ## Next Steps: state the exact eligible user command, active-parent action, blocker-clearing action, or that no user action is required. When compaction is warranted, tell the user to run /compact before the next RPI command; otherwise omit compaction guidance.vscode_askQuestions, preserve the unresolved item and do not guess.The critique gate returns to this planning parent and is not a peer lifecycle transition. For a standalone implementation-ready plan, advise the user to run /rpi-implement with .copilot-tracking/changes/{{YYYY-MM-DD}}/{{task_slug}}-changes.md as its changes-record path. Do not invoke the peer stage. In rpi-quick or confirmed automatic RPI Agent mode, return the ready artifacts to the parent so it can continue automatically after all gates and required confirmations pass.
Return a concise user-facing version of the executive summary, covering planning execution status, planning readiness, important decisions and consequences, information the user may not immediately know, and unresolved decisions or blockers. Follow the Conversation guidance section for conditional compaction advice, standalone or parent-orchestrated continuation, the linked artifact table, and final next steps.
Take microsoft/rpi-plan from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.