/mthines-agent-skills:deployment-verify [run|tick|approve|override|setup] [<pr-url|pr-number>|--all] [--env production|preview|local] [--steps 1,10,50,100] [--rollback ask|auto|never] [--deployed-at <ISO>] [--unattended] [--no-comment]from mthines-agent-skills
Verifies merged changes in production by rolling out feature flags through progressive percentages (1, 10, 50, 100), comparing telemetry cohorts, and automatically rolling back on failure. Resumable for unattended scheduled automation. Triggers on 'verify the deploy', 'is it working in production', 'roll out this flag'.
Ships in mthines-agent-skills. 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.
Read when SKILL.md points to them; scripts run unread.
The suite before the merge proves the change works; this skill proves it keeps working where users are, takes it back out when it does not, and tells someone.
A script runs the rollout; the agent sets it up and handles what the script cannot.
A clean rollout spends no model tokens: scripts/tick.mjs measures, scripts/decide.mjs decides, and an agent is woken only for an exception.
Why it is shaped this way: references/design.md.
/deployment-verify <pr> # run: tick until the rollout ends, waiting between ticks
/deployment-verify tick --all --unattended # one tick for every in-progress PR, then exit (automations)
/deployment-verify <pr> --env local --deployed-at 2026-11-11T08:38:38Z
/deployment-verify approve <pr> # at a hold: continue the rollout (interactive only)
/deployment-verify override <pr> # at a hold: flag off, outcome OVERRIDDEN (interactive only)
/deployment-verify setup # write or validate .agents/aw/release.yml (interactive only)
| Argument | Meaning |
|---|---|
<pr> | A merged PR carrying a contract; --all = every merged PR labelled deployment-verify |
run (default) | Tick repeatedly, waiting until the next unit is due, until the outcome is terminal |
tick | Do every unit that is due now, then exit (rules/state.md) |
approve, override | A human's decision at a hold_after hold: tick.mjs --pr <n> --approve or --override (rules/hold.md); refused unattended |
--env | A release.yml environment; default is the contract's env, else production |
--steps | Override release.yml → steps |
--rollback | Override the personal rollback policy for this run |
--deployed-at | Required when the environment's deploy detection is manual |
--unattended | No questions; the automation answers apply (rules/automation.md). Implied in a prepared Agent0 sandbox |
--no-comment | Post nothing to the PR; state then lives only in this session, so tick is refused |
.agents/aw/release.yml and telemetry.yml plus the personal overlay (rules/config.md). Missing release.yml → STOPPED — run /deployment-verify setup first.node ${CLAUDE_SKILL_DIR}/scripts/decide.mjs --self-test; a failure stops every PR: the verdict rule is broken.gh pr view <pr> --json body,mergeCommit,mergedAt,state,url,labels. Closed without mergedAt → remove the label, stop: nothing deployed.rules/contract.md). No contract and not merged → tick.mjs --draft-contract --pr <n> (rules/contract.md § Draft from the criteria).PASS, the controller marks 🚀 on every criterion a contract root span watched, in the PR's intent region (through aw-verify's verify-comment.mjs --marks, which changes only that mark). aw-verify not installed → criteria not marked 🚀, never a stop; a rollback marks nothing.intent region /aw-verify wrote) into the report's criteria: block; none on the PR → criteria: none on the PR, never a stop.node ${CLAUDE_SKILL_DIR}/scripts/tick.mjs --pr <n> [--run] [--env <env>] # PR mode, state in the PR comment
node ${CLAUDE_SKILL_DIR}/scripts/tick.mjs --all # every in-progress PR, one tick each
node ${CLAUDE_SKILL_DIR}/scripts/tick.mjs --local <state.json> --contract <contract.json> --env local --deployed-at <ISO> --run
tick = one pass, then exit; --run = keep ticking until the outcome is terminal.
A rollout that already ended is reported from its stored state and never ticked again, so a re-run is safe; the relabel to deployment-verify:done does not need the PR to carry the deployment-verify label (a --pr run never adds it).
Never re-implement a step the controller performs; read its stderr and the report it writes.
A tick that moves the rollout also exports one gauge point for the live pipeline board when an export endpoint is set (rules/rollout-state.md).
In PR mode it prints one status line per PR on stdout (deployment-verify #<n>: <status> — <detail>); the report itself lives in the PR comment.
It implements these rules, which stay its specification:
| Phase | Rule |
|---|---|
deploy | Wait for the merged commit to serve — rules/config.md § Deploy detection |
baseline, step | Measure, confirm live, decide.mjs, act — rules/loop.md, queries per rules/telemetry.md; a no-flag change with a probes.yml sends the same requests before and after, judged per route — rules/probes.md |
hold | Wait for a human at hold_after; print the recommendation — rules/hold.md, rules/autonomy.md |
rollback | Reverse, prove recovery, hand off the cause — rules/rollback.md |
The controller exits 3 and runs release.yml → on_exception when a rollout ends ROLLED_BACK, ESCALATE, or INCONCLUSIVE, and once when it reaches a hold (AWAITING_APPROVAL).
Woken by AWAITING_APPROVAL: notify (rules/notify.md) with the hold: and recommend: lines, and stop; never approve or override.
Woken by any other event, or by exit 3:
rules/rollback.md § Hand off the cause).ESCALATE with rollback needs a human and no platform rollback → open the revert PR (rules/rollback.md § Act); with a promotion: rule, record it only when the report has no signal: line (the controller already recorded this rollback): node ${CLAUDE_SKILL_DIR}/scripts/signal.mjs --event revert --repo <owner/name> --risk-class <class> (rules/autonomy.md).rules/notify.md) and add the cause and the notify: line to the report comment.PASS, OVERRIDDEN, and STOPPED need no agent; the controller's PR comment is the whole report.
The controller writes the PR's report comment (marker <!-- deployment-verify:v1:report -->) with this block and the state line; the agent only appends cause: and notify::
DEPLOYMENT <IN PROGRESS | PASS | ROLLED_BACK | INCONCLUSIVE | ESCALATE | OVERRIDDEN | STOPPED>
change: <PR title> (#<n>) · flag <key> via <provider> · <env>
criteria: <n> on the PR, <g> guardrails (aw-verify's `intent` region)
AC-2 api PUT /api/x — watched # root span in the contract; not watched = nothing here reads it
deploy: live at <time> (<attribute>=<sha7>)
baseline: <n> requests, <e> errors, <avg> ms
probe: before live at <time> · after <version> at <time> # only with probes.yml (rules/probes.md), one row per route below
step test n/err/ms control n/err/ms verdict
1 % 26/7/304 2593/0/3.6 ROLLBACK error rate +26.9pp vs control > 5pp
hold: 10 % since <time> — waiting: /deployment-verify approve|override <n> # only with hold_after
recommend: HUMAN — agree streak 2 < 5 (risk class ui); advisory only
signal: ui: streak 3 # after a decision or a rollback, with promotion:
action: flag → 0 at <time>; RECOVERED in <s> s
cause: <Agent0 answer and thread link, or "not investigated">
notify: slack #deploys ok · linear ENG-123 ok
next: /fix-bug <PR URL> — failing window <from>..<to>
not watched: <e.g. no soak window — run ended at <time>>
| Never | Instead |
|---|---|
| Judge PASS or ROLLBACK yourself, or run the loop by hand | Run tick.mjs; it calls decide.mjs |
| Advance a step on HOLD | Extend the same step |
| Edit the contract after the first tick | Stop, fix the contract, start a new rollout |
Trust set exiting 0 | Confirm the step is live from the cohort share |
Detect a Vercel deploy by service.version | vercel.sha — service.version is the deployment ID |
| Roll back with a revert PR while a flag exists | Set the flag off |
| Report RECOVERED without a clean post-rollback window | Measure one more window |
| Sleep through a rollout inside one automation run | Tick and exit; the schedule brings the next tick |
| Ask a question in an unattended run | Apply the automation answer |
| Count a probe's 401 or 403 as errors | STOPPED — probe auth failed; refresh the identity, start again (rules/probes.md) |
| Roll back on a stale smoke selector | INCONCLUSIVE — smoke script stale; a drifted locator proves nothing about the deploy (rules/probes.md § Smoke probes) |
Hold a smoke route for min_test_requests | Judge it on its own clean replay — PASS — verified by synthetic run; that volume was never coming (rules/probes.md § A smoke route needs no volume) |
Advance a hold because the recommendation says AUTO | Wait for a human approve; the recommendation is advisory |
| Drop a failed notification | Record it in the PR comment |
references/design.md (opens in a new tab)rules/automation.md (opens in a new tab)rules/autonomy.md (opens in a new tab)rules/config.md (opens in a new tab)rules/contract.md (opens in a new tab)rules/hold.md (opens in a new tab)rules/loop.md (opens in a new tab)rules/notify.md (opens in a new tab)rules/probes.md (opens in a new tab)rules/rollback.md (opens in a new tab)rules/rollout-state.md (opens in a new tab)rules/state.md (opens in a new tab)rules/telemetry.md (opens in a new tab)scripts/decide.mjs (opens in a new tab)scripts/fixtures/plan-ac-flag.md (opens in a new tab)scripts/probe.mjs (opens in a new tab)scripts/promote.mjs (opens in a new tab)scripts/rollout-state.mjs (opens in a new tab)scripts/signal.mjs (opens in a new tab)scripts/tick.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (mthines/agent-skills) — no native marketplace selected
npx claudepluginhub p/mthines-mthines-agent-skills54 skills in this plugin
/ai-engineeringReviews and guides LLM/AI application engineering — prompts, caching, RAG, agent loops and tools, resilience, model migration, evals, prompt-injection defence, and observability. Invoke with /ai-engineering for "review my prompt", "set up RAG", or "write evals".
/animationsAuthors performant CSS-first web animations and picks the right feedback for an interaction — transitions, View Transitions, scroll-driven motion, Motion for React, reduced motion, and perceived performance. Triggers on "animate this", "hover effect", "feel faster", "skeleton loader", "/animations".
/animations-nativeAuthors performant React Native / Expo animations and gestures with Reanimated and react-native-gesture-handler on the UI thread; web animations go to `animations`. Triggers on "reanimated", "react native animation", "gesture handler", "swipe gesture", "/animations-native".
/atelierTakes one change from request to merged PR by sequencing existing skills — aw builds the draft PR, prepare gets it green, a deterministic gate allows the squash-merge only when a user-visible diff that needs a rollout ships behind a deployment-verify flag contract, or a small one carries a classed no-flag marker (and, in a repo with a hosted service, every diff carries a contract or an opt-out) — then reads the default-branch pipeline, fixes a red one once, verifies a no-flag change on the deploy with deployment-verify, and says what a human does next. Resumable from a sticky PR comment; invoke with /atelier.
/attach-mediaUploads local screenshots and recordings to GitHub and embeds them in a PR or issue body or comment as inline-rendering user-attachments URLs, via `gh --attach` with a curl fallback; never writes placeholders. Triggers on "attach screenshots to the PR", "upload this recording to the PR", "/attach-media".
/autonomous-workflowThe phase machinery (0–7) behind the `aw` dispatcher: task intake through a tested draft PR in an isolated worktree, gated by the plan.md brief and the run-checks.mjs sentinel, with companions that never block. Not the entry point — natural-language requests for autonomous work go to the `aw` skill; invoke /autonomous-workflow only to run the phases directly.
Other plugins' skills for the same job