/dpf-platform:dpf-writing-plansfrom dpf-platform
Writes DPF-native implementation plans for filed backlog items before coding. Turns a backlog item into a phased, executable plan with ordering constraints.
Ships in dpf-platform. 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.
When work is bigger than a single obvious edit, write the plan before the code — but in DPF a plan is not a floating document. It hangs off a filed backlog item. This skill is the DPF-native planning step; it replaces the retired upstream writing-plans skill so the flow resolves from one DPF source on every surface.
The order is fixed: BI first, then plan. dpf-file-backlog-item creates the governed work record; this skill turns it into an executable, phased plan.
dpf-file-backlog-item); a plan for floating intent is the substrate violation this skill exists to prevent.dpf-brainstorming → dpf-decision-via-kernel), then plan the chosen approach.Anchor to the BI. Confirm the BI exists and read it (mcp__dpf__get_backlog_item). The plan implements that BI; its acceptance criteria are the plan's definition of done.
Ground in the substrate before sequencing. Don't plan against an imagined codebase:
mcp__dpf__search_specs_and_plans — an approved design or prior plan may already cover this.mcp__dpf__search_code_graph — find the real files/contracts the plan will touch.consult-specs-first + research-before-implementing discipline applied to planning.Consume the start-of-work impact contract. Once exact edit paths are claimed, read the Workroom's verificationState.changeImpactContract (also returned by claim_capsule_scope). Put every testImpact and guardObligation in the relevant phase before implementation begins. If the contract is unresolved, plan exhaustive verification and an explicit impact-resolution step; never translate missing advice into an exemption.
Write phased steps and classify delivery boundaries. Each phase needs a concrete deliverable, touched files, dependencies, and functional verification. Mark whether it is independently shippable or only internal sequencing. For every independently shippable deliverable, query for an existing covering BI and reuse it when present; otherwise compose with dpf-file-backlog-item and file it. An xlarge umbrella always requires this decomposition decision before implementation.
If the plan opens with an agent-execution preamble, use the DPF-native one — never copy the retired superpowers:* boilerplate from older plans (~280 historical plans still carry it; those skills no longer exist on any surface, and the check-no-retired-superpowers-skills CI ratchet fails a new reference). Canonical preamble:
For agentic workers: execute this plan one independently reviewable backlog item at a time — one BI, one branch, one PR. Use
dpf-tddfor red-green implementation,dpf-local-merge-ci-before-pushplus the plan's completion gate before any success claim, anddpf-pr-with-dcofor handoff.
Record live backlog coverage. Call mcp__dpf__record_plan_backlog_coverage with the umbrella BI, plan path, deliverable graph, BI mappings, and decision:
decomposed: every independent deliverable maps to a live new or existing BI;atomic: no deliverable is independently shippable, with a substantive operator rationale explaining why one BI is correct.The server selects the receipt contract from the current delivery shape and sensitivity. Schema v3 binds break-fix, small and medium work to the actual item and declared scope; it does not invent a spec-approval prerequisite. Medium work must have acceptance criteria in the BI body and quote every criterion verbatim in the immutable plan. For v3, all four reference lists must be non-empty and each reference must appear verbatim in the plan. Existing baseline history always retains schema v2 traceability, including smaller work; malformed baseline history must be repaired, never bypassed. Larger and unshaped work also retain schema v2 scope-baseline traceability. Never choose or downgrade the receipt schema in the client. A changed scope, classification or acceptance criterion requires new coverage.
Copy the returned receipt, parent BI, deliverable-to-BI mappings, and dependencies into a ## Backlog coverage plan section. mcp__dpf__check_plan_backlog_coverage is the resumability check. If MCP is unavailable, the tool is missing, or the token lacks scope, stop and report that condition; Markdown checkboxes are not a fallback and planning/backlog completeness cannot be claimed.
This is the decomposition-pack contract, not the initiative-readiness review contract. The minimum shape is:
{
"itemId": "BI-...",
"planPath": "docs/superpowers/plans/YYYY-MM-DD-feature.md",
"planArtifactRef": { "kind": "repo-blob-at-commit", "repo": "owner/repo", "commitSha": "...", "path": "docs/superpowers/plans/YYYY-MM-DD-feature.md", "providerBlobId": "..." },
"decision": "decomposed",
"deliverables": [{ "title": "...", "requirementRefs": ["..."], "contractRefs": ["..."], "flowRefs": ["..."], "verificationRefs": ["..."] }]
}
Use decision: decomposed when independently shippable deliverables map to live BIs, or decision: atomic with a substantive rationale when they do not. Do not send gate, findings, or resolvedFindingRefs from the readiness lane. Do not send pass or fail as the decision; those belong to review writers, not plan coverage. Do not send the literal pass decision value in this contract. Make one corrected coverage call after verifying the BI and immutable plan. If the server returns traceability-incomplete, change only the named prerequisite and retry once; never blind-retry. If the tool is unavailable or shadowed, record the exact refusal and stop rather than calling another lane or fabricating a receipt.
Treat a rejected coverage write as a remediation contract, not a blind retry:
traceability-incomplete, add or repair the initiative baseline and mappings named by the response before making one corrected call. Do not repeat identical arguments.plan-artifact-invalid, reconcile the Workroom to the exact current branch and head SHA, repair the artifact or provenance named by the response, then make one corrected call. Do not mint a new plan path to dodge immutable provenance.retryable: false, stop after following any explicit remediation that changes the request. If no authorized remediation is available, report the returned blocker; repeated calls cannot make the contract valid.Name the risks and the rollback. What could break (blast radius), and how to back out. A plan that only describes the happy path is half a plan.
Save it. docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md, cross-referencing the BI id and the coverage receipt. This path is where search_specs_and_plans and reviewers expect plans to live. Format is opt-in: Markdown is the default and stays fully supported, but when the plan leans on a flow/state diagram, a multi-column table, or side-by-side option fan-out, an HTML artifact often reads better and keeps the operator in the loop — see html-artifacts-guide.md and the _templates/spec.template.html starting point. If you ship HTML-only, leave a short Markdown stub carrying the canonical coverage section so search_specs_and_plans and the guard can find it. A design needs marked objectives: lines like OBJ-1: and acceptance rows that name the objective.
dpf-file-backlog-item — the BI the plan implements.dpf-brainstorming → dpf-decision-via-kernel.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub opendigitalproductfactory/opendigitalproductfactory --plugin dpf-platform88 skills in this plugin
/asset-inventory-reconciliationReconcile recorded against observed assets.Other plugins' skills for the same job