/dpf-platform:dpf-promote-to-build-studiofrom dpf-platform
Promotes a DPF backlog item to Build Studio when triaged for build execution. Handles the BI-to-BS handoff for bounded-scope work.
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.
Build Studio is one DPF delivery surface, not the mandatory route for all development. The current rule is: choose the delivery surface by fit, and track the work centrally through the MCP/capsule/evidence plane. File or adopt the BI/Workroom, record evidence, and ship through PR health whether the executor is embedded Build Studio or an external Claude Code / Codex / Grok host worktree.
This skill is the handoff for the subset of backlog work that should enter the embedded Build Studio pipeline: BI → promote → approve Ideate → let BS run. It is not a reason to stop in-session implementation when the operator has asked for work here, when BS is limited/degraded, or when the work is too large, complex, cross-cutting, or tool-sensitive for BS to handle well.
outcome=build and effortSize set.triaging status — promote requires outcome=build. Triage first (mcp__dpf__triage_backlog_item).add-skill coworker skill instead) or a kernel-page edit (use draft-kernel-edit-pr).dpf-file-backlog-item first.| Source | Path | What to extract |
|---|---|---|
| BI state | mcp__dpf__get_backlog_item({ itemId }) | Current status, triageOutcome, effortSize, body — promotion preconditions |
| BS runtime health | mcp__dpf__list_build_activity_since or the /build page | Whether the BS runtime is online and has capacity |
| BS pipeline phases | apps/web/lib/build/build-orchestrator.ts | The lifecycle gates this BI will traverse (Ideate → Plan → Build → Verify → Ship) |
| Delivery-surface doctrine | AGENTS.md §12 | BS is optional; external host-worktree builds are peers when centrally tracked |
kernel/principles/architecture-over-shortcuts — choose the delivery surface that fits the architecture and evidence needs; don't force a limited executor for superficial consistency.kernel/principles/governance-approves-evidence-not-provenance — gates approve evidence quality, regardless of whether BS or an external host-worktree produced it.Verify preconditions. Call mcp__dpf__get_backlog_item({ itemId }). Check:
status is open (post-triage) — not triaging, not done, not deferred.triageOutcome is build.effortSize is set (small/medium/large/xlarge).body is non-empty and includes the acceptance criteria.
If any check fails, do NOT promote — return the user to the upstream skill (dpf-file-backlog-item for missing body; mcp__dpf__triage_backlog_item for missing triage).Check BS runtime health and fit. Call mcp__dpf__list_build_activity_since({ since: <ISO-2h-ago> }) to confirm the orchestrator is processing. If activity is dead for hours, the runtime may be down — surface to operator before promoting (a promoted BI sitting in a dead queue is worse than an unpromoted one). Also check scope fit: if the work is large/complex or likely to exceed BS's current abilities, keep it on an external host-worktree surface with workroom/evidence tracking.
Call mcp__dpf__promote_to_build_studio({ itemId }). The tool creates a draft FeatureBuild linked to the BI, sets the BI status appropriately, and writes the activity row.
Watch for the Ideate phase output. BS runs Ideate first — produces a refined brief. Use mcp__dpf__get_build_progress_visibility (or watch the /build UI) for the Ideate result. Per feedback_build_studio_design_review_loop, Ideate may fail strict design review on first pass; that's normal.
Approve or refine. When Ideate output is ready:
Surface progress visibility. Don't poll. Use mcp__dpf__get_build_progress_visibility once after promote, then let BS notifications drive the rest. Per feedback_idle_is_not_abandoned and feedback_background_eval_probes, BS work is async by design.
**Promoted to Build Studio.**
- BI: `<BI-XXXXXXXX>` (<title>)
- FeatureBuild: `<FB-XXXXXXXX>` (auto-created by promote)
- Effort: <size>
- Current phase: ideate
- Next operator action: review Ideate output at /build/<FB-id>
If preconditions failed:
**Promotion BLOCKED — preconditions unmet.**
- BI: `<BI-XXXXXXXX>`
- Failed precondition: <which one>
- Resolution: <which upstream skill to invoke>
triageOutcome=build is the contract; promoting a triaging-status BI bypasses governance.proposedOutcome=build and triage flipped to build, surface "promoting <id> to BS" to the operator first if the BI was filed in this same session (PAR — Propose, Acknowledge, Reassign).This bundle's child BIs (BI-98BDFA75, BI-3C1A6451, BI-AD86EE4E) were originally proposed for promotion to BS. The operator overrode the standing rule because BS was down ("Build studio isn't working right now, we are testing in a separate thread, let's do the development here"). The in-session path proceeded: audit done in-session, semantic-fallback fix done TDD in-session, skill authoring (this BI) done in-session.
This is now the standard peer-surface rule, not an exception. The in-session path was correct because:
For future work, those conditions are examples, not a three-part exception test. If the task is too large or complex for BS, or the operator asks to continue in Claude Code / Codex / Grok, the right call is to keep working externally while tracking centrally through Workrooms and evidence.
dpf-file-backlog-itemapps/web/lib/build/build-orchestrator.tsAGENTS.md §12project_build_studio_lifecycle_status (user memory)EP-BUILD-64B599 (see live epic list)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
88 skills in this plugin
/asset-inventory-reconciliationReconcile recorded against observed assets.npx claudepluginhub opendigitalproductfactory/opendigitalproductfactory --plugin dpf-platformOther plugins' skills for the same job