/planner:planner-reflectfrom planner
Reflects on completed planner executions by comparing PLANNER_EXECUTION.md with git history, review files, agent results, and user corrections. Appends stable lessons to planner-context.md for continuous improvement.
Ships in planner. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Compare the saved execution plan with what actually happened. Append only supported, reusable lessons to <project-root>/.claude/planner-context.md, then return a short Lessons learned summary.
Reflection observes completed work. It does not revise the plan, change code, invoke agents, or start another command.
Read these sources in order:
<feature-dir>/PLANNER_EXECUTION.md — planned phases, agents, models, estimates, risks, and gates. This is the required source.git log and the changed-file list since the plan — completed work and scope changes.<feature-dir>/review-request-changes/ — confirmed defects and repeated categories.ARCHITECTURE.md may be read to distinguish an implementation deviation from an architecture change, but it is supporting evidence, not a sixth independent source.
A legacy PLANNER_OUTPUT.md is historical context only. Do not use it as the current execution plan.
PLANNER_EXECUTION.md → return nothing to reflect on; run /plan on the architecture first and write nothing.plan exists but was not executed; nothing to reflect on and write nothing.Do not reconstruct a missing plan from Git history.
Write a lesson only when its trigger is visible in the evidence.
Trigger: the orchestrator used a generic fallback because .claude/planner-context.md had no active agent for the required role or stack.
Destination: agent catalog. Record the missing role, observed fallback, and date. Do not blame the agent or orchestrator.
Trigger: repeated failed attempts, explicit escalation, or several correction commits on the same bounded task.
Destination: model table. Name the task type and this project's context. Avoid categorical claims about a model. One run without a retry pattern is insufficient evidence.
Trigger: the user explicitly rejected a process or behavior and supplied the preferred rule.
Destination: project lessons. Record the reusable guard, not the wording or emotional tone of the correction.
Trigger: an estimate recorded in PLANNER_EXECUTION.md differs from observed time or token use by more than 30 percent.
Destination: model table or project lessons. Record the numeric difference and task type. Do not invent a cause.
If the execution plan contains no estimate, skip this lesson type rather than fabricating a baseline.
The only writable file is <project-root>/.claude/planner-context.md.
<!-- learned YYYY-MM-DD -->.ARCHITECTURE.md, PLANNER_EXECUTION.md, review files, code, or memory files.If the same lesson already exists, do not add a duplicate. When the same pattern has appeared in at least two distinct sessions, ask the user whether to promote it to persistent memory; never create memory without explicit confirmation.
Before writing, mask sensitive fragments in proposed additions:
<email>;<token>;<user> while preserving the remaining path.Never copy raw transcript excerpts. Extract an abstract pattern. If masking removes the useful meaning, skip that lesson and mention the omission in chat.
Always end a completed reflection with:
planner-context.md updated:
- <section and concise change>
- evidence used: <sources>
- evidence unavailable: <sources or none>
## Lessons learned (<task name>, YYYY-MM-DD)
- <lesson>
If evidence supports no addition:
## Lessons learned (<task name>, YYYY-MM-DD)
_no actionable lessons this session_
Keep the summary within one terminal screen. Empty is valid; never invent a lesson to make the run look useful.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub spumer/i-m-senior-developer --plugin planner4 skills in this plugin
/plannerBuilds and saves architecture or execution plans. Use when the user asks to plan a task, split implementation work, turn ready feature requirements (a feature README produced by product-discovery) into architecture, or an architecture document into executable phases.
/product-baselineBuilt-in limited product provider — the last-resort fallback of the planner product-discovery pipeline. Selected by routing only when no capable external provider is available. Turns the current formulation and collected statements into a normalized consultation draft (problem, outcome, actors, scope, assumptions, unknowns, candidate slices, recommended outcome, limitations) and returns it to the calling skill. Never writes files. Never claims user or market research, real-person feedback, independent multi-role review, or hypothesis confirmation; limitations are stated in every response.
/product-discoveryOther plugins' skills for the same job