/before-deploy:assure [artifact-or-repository] [selector]from Before Deploy
Run Before Deploy evidence, remediation, verification, and release workflows through the installed before-deploy CLI. Use when the user explicitly asks Claude Code to operate Before Deploy; never use this skill to bypass the deterministic CLI or to invent approval/release authority.
Ships in Before Deploy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a client of the installed before-deploy CLI. The CLI artifacts and validators are the source of truth. Do not reproduce core policy, hashing, validation, patching, verification, or release-decision logic in your own reasoning.
PolicyDecision, authority, gate_effect, content SHA-256, verification status, history pointer, or release disposition.READY, HOLD, BLOCK, or ERROR from your own judgment. Only report a canonical before-deploy release result.before-deploy release can emit the final release status.before-deploy approve unless the user explicitly supplies the workflow decision, declared approver identity, and exact proposal_sha256 being confirmed. Do not infer consent from phrases such as “continue”, “go”, or “fix it”.before-deploy regress unless the user explicitly confirms the exact patch_sha256 and supplies the declared operator identity for that mutation.Before using a subcommand, run before-deploy <subcommand> --help and follow the installed CLI contract rather than relying on remembered flags. If before-deploy is not on PATH, stop and tell the user the CLI must be installed; do not implement an alternative gate inside Claude.
Use repository-relative paths in client-created artifacts whenever the CLI contract permits them. Keep client response files under a dedicated directory such as reports/claude/ unless the user specifies another location.
For inspect, investigate, explain, and propose:
response_contract.authority, gate_effect, severity, confidence, release_decision, approval, or provider-chosen content IDs unless the request explicitly permits them.Every explanatory, investigative, or remediation claim must cite only the evidence IDs that the request allows. Do not introduce repository locations or evidence that are outside the validated request context.
When the workflow reaches a remediation proposal:
proposal_sha256 and proposal summary to the user.APPROVE or REJECT for that exact digest, plus the declared approver identity required by the CLI.before-deploy approve only with those user-supplied values.For fix:
patch_sha256, target paths, and review status to the user.UNREVIEWED patch has been human-reviewed.Before regress mutates the workspace:
patch_sha256 and the declared operator identity.before-deploy regress with that exact confirmation.Regression commands execute outside the PR34 materializer. If the user asks Claude to run them, execute only the exact approved commands, preserve their real exit status/duration/output digests, and import the structured evidence. Otherwise leave observations NOT_RUN or let the user provide the evidence; never invent a passing result.
Use before-deploy verify to derive verification from persisted evidence. A verification PASS is evidence-only and is not release readiness.
Use before-deploy history to create or append the immutable verification ledger. Never select an older, more favorable result: the current verification is whatever the validated append-order history says is current.
Use before-deploy release only with the persisted deterministic policy report, validated verification history, exact materialization artifact, and current repository required by the CLI. Pass any stricter trust requirements the user or repository policy explicitly requests.
Report the canonical release status, reason codes, limitations, disposition SHA-256, and process exit code. Do not soften a HOLD, BLOCK, or ERROR, and do not upgrade a result because Claude believes the code is safe.
A READY result means only that the declared deterministic policy, verification, snapshot, and configured trust requirements were satisfied for the bounded release scope. Never describe it as proof that the code has no defects or vulnerabilities.
At the end of a Before Deploy workflow, summarize:
before-deploy release was actually executed.Do not present Claude's own judgment as an additional gate result.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub haytamaroui/preflight --plugin before-deploy