Dp plan review apply
Skill kostia-official/claude-dev-pipeline-plugin/skills/dp-plan-review-apply
Use when an active dev-pipeline run is at the plan-review-apply step. Walks plan-review.md findings one-by-one as todos, reasons about each fix in isolation, asks the user with concrete options when direction is unclear, and patches plan.md. Self-contained.From its SKILL.md
npx -y skills add kostia-official/claude-dev-pipeline-plugin --skill dp-plan-review-applyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.6 KB, as published. Nobody here has run it
dp:dp-plan-review-apply
Apply review findings to plan.md, one finding at a time. The findings in plan-review.md are already adversarially verified by dp:dp-plan-review (CONFIRMED or PLAUSIBLE) — this step does not re-litigate whether they are real; it decides the fix and patches the plan.
Inputs
RUN_DIR— run directory.<RUN_DIR>/plan-review.md— verified findings fromdp:dp-plan-review.<RUN_DIR>/plan.md— target file to patch.<RUN_DIR>/state.json— for theautonomousflag.
If plan-review.md says No issues found., skip to step 5 (advance) and hand off.
Procedure
Session id: if a DP_SESSION_ID=<id> line is present in your conversation context (see the orchestrator command's "Session id capture and propagation" section for the matching rule), substitute that value for every <DP_SESSION_ID> placeholder in the bun commands below. If the line is not in context, drop the --session "<DP_SESSION_ID>" argument entirely; advance.ts falls back to process.env.DP_SESSION_ID.
1. Mark running
bun ${DP_PLUGIN_ROOT}/scripts/cli/advance.ts set <RUN_DIR> steps.dp-plan-review-apply.status running --session "<DP_SESSION_ID>"
2. One todo per finding — think separately per todo
Create a todo for each finding in
plan-review.md, plus one final todo: "Check plan consistency". Work each todo one by one: read that single finding, reason about its fix in isolation, ask an interactive question with proper explanation if direction is unclear, patchplan.md, then move to the next todo.
Reason about each fix independently — never draft one batched fix for all findings at once. Each finding gets its own focused decision and its own edit.
- Read findings from
<RUN_DIR>/plan-review.md. - Use
TodoWriteto create one todo per finding + a final "Check plan consistency" todo. - Patch
<RUN_DIR>/plan.mdin place, one finding at a time. - "auto" mode is determined by
state.json.autonomous— read it once and apply throughout. Ifautonomous === true, decide everything yourself; never ask.
3. CONFIRMED vs PLAUSIBLE
Findings are tagged [CONFIRMED · …] or [PLAUSIBLE · …].
- CONFIRMED — apply the fix. Editing plan text is cheap and reversible, so there is no reason to leave a confirmed plan defect in place.
- PLAUSIBLE — apply if the fix is clearly an improvement; otherwise (autonomous off) surface it with
AskUserQuestionand let the user decide. Do not silently drop a PLAUSIBLE finding.
4. Options instead of open prompts
When a fix direction is unclear and autonomous === false:
- Use
AskUserQuestionwith concrete options (not an open-ended prompt). Always include an explicit "Decide for me" option as the last choice — it falls back to your best-guess fix and proceeds. - We want the user to point at A or B, not to type an essay.
When a fix direction is clear (the finding's suggested fix is unambiguous, or autonomous mode), just patch and move on.
5. Final todo — consistency check
Re-read the entire plan.md. Look for contradictions between sections that may have appeared after multiple patches (e.g. approach says "use existing X", file-by-file now uses Y). Fix any you find. Update the file in place.
6. Mark done and advance
bun ${DP_PLUGIN_ROOT}/scripts/cli/advance.ts advance <RUN_DIR> dp-plan-review-apply --session "<DP_SESSION_ID>"
7. Hand off to dp:dp-plan-wrapup — do not text-stop
The plugin's Stop hook gates progression on Claude Code (hard block while steps.dp-plan-wrapup.status === "pending") and auto-prompts the next skill on Cursor (soft auto-submit). Either way, advancing state.json correctly is mandatory.
Print a one-liner first, referencing the patched plan.md as a markdown link:
Review fixes applied — open [plan.md](${DP_STATE_DIR}/feature-pipeline/<feature>/plan.md). Finalizing now.
On Claude Code: your very next action MUST be a Skill-tool invocation in this same turn:
Skill(skill_name = "dp:dp-plan-wrapup")
On Cursor: there is no Skill tool — end your turn after the one-liner above. The plugin's stop hook will auto-submit /dp-plan-wrapup as a follow-up turn, triggering the next skill via slash-prefix auto-discovery.