/dpf-platform:dpf-use-shared-nonprod-environmentfrom dpf-platform
Claims and manages shared nonproduction environments for DPF preview and UX verification, preventing port conflicts from unmanaged servers.
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.
Use governed shared localhost environments for preview and UX verification instead of starting unmanaged servers.
Thread worktrees give source-control isolation. They do not give a runtime. When a task needs runtime-bound verification (portal up, MCP reachable, Build Studio executing, a route rendered in a real browser), the answer is this skill, not "make the worktree runnable." The canonical local install and the governed shared nonprod environments are where runtime verification happens; the worktree is where the diff under test lives. See worktree-is-source-control-not-runtime and AGENTS.md §5.
If no shared environment is available and the canonical local install is the right target, verify there and record the URL + run evidence in the PR. Reserve "spin up a disposable runtime clone" for the rare task whose explicit deliverable is exactly that.
kernel/principles/no-assumptionskernel/principles/responsible-capacity-utilizationclaimKey for this exact attempt.queued, do not touch the runtime and do not call claim
again. Stop. The returned TaskRun resumes the wait. Reusing claimKey
only preserves the place in line for that one wait; it is not a poll loop.
The order is the overseer's policy, not first-come: gates and AI review
turns first, then verification, then previews, with a fair share per
session. Report the returned estimatedWaitMs and queueReason as they are.lease_terminal (retryable: false), stop. That claimKey
is finished. Do not call again with it, and do not walk :rerun-1,
:rerun-2, and onward. A new admission needs a new claimKey, and only
when the work is still wanted.admitted result authorizes verification against the provided URL.leaseId — the exact id the claim returned (NPEL-…). Release an
admitted lease when verification is complete or blocked, and release a queued
lease to cancel the request when the task stops waiting.
environmentKey does NOT release anything. It names the environment, not
your claim on it, and the release call rejects it: missing_required,
retryable: false. Keep the leaseId from step 3; if you no longer have
it, list the leases and read it back.claimKey (step 3) is not the leaseId either. It names the one wait;
only the returned leaseId releases. Do not re-call claim to "check".admitted is.lease_lost / yielded while another
session waits. Stop and re-claim only if the work is still wanted; do not
release and re-claim to jump the queue — a session just served waits its
fair share.nonprod_lease_not_owner on release means the lease is someone else's, or it
is a durable queue task that outlives your process. It is not a transient
error and re-calling cannot fix it (retryable: false) — list the leases and
leave it alone. Blind-retrying it is how a healthy queued run gets reported as
a failure.A Build Studio UX check needs localhost. This skill requests durable, policy-ordered
admission once. A queued result stops the caller; the TaskRun resumes the
wait. A terminal result stops the caller too. Once admitted it returns an
"Open environment" link and records the lease in audit details. The operator
sees readiness and one action, not the MCP lease payload.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dpf, nonprod-environment, environment-leasing, preview-server
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