/work-items:measure-delivery [--since YYYY-MM-DD] [--until YYYY-MM-DD] [--bucket week|month] [--branch <ref>]from work-items
Reports five DORA delivery metrics (deployment frequency, change lead time, change fail rate, recovery time, rework rate) as a team trend from default-branch history.
Ships in work-items. 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.
Arguments: $ARGUMENTS, the window and period flags below, passed through to the script.
--since <YYYY-MM-DD>: first UTC day of the window (default: the 84 days ending with --until).--until <YYYY-MM-DD>: last UTC day, inclusive (default: now).--bucket week|month: trend period (default week, ISO weeks starting Monday).--branch <ref>: the default branch (default: the ref origin/HEAD names).Show how the team delivers over time: one row per period and a window total, for the five delivery metrics DORA defines. This skill reports one repository's trend against its own past, never a comparison between teams. It reads history and writes nothing.
| Metric | Measured here as |
|---|---|
| Deployment frequency | Deployments per period, and per week over the window |
| Change lead time | Median hours from the earliest author date among a deployment's commits to its landing |
| Change fail rate | Failed deployments / deployments |
| Failed deployment recovery time | Median hours from a failed deployment to the first deployment that reverts it |
| Deployment rework rate | Deployments that revert an earlier change / deployments |
What counts as a deployment is the team setting delivery_deploy_signal in the repository's
docs/conventions/work-items.yaml (schema: ${CLAUDE_PLUGIN_ROOT}/schemas/work-items.schema.json).
Its one value, and the default, is merge-to-default-branch:
Each commit on the default branch's first-parent history is one deployment, at its committer date. A merge commit or a squash landing is one deployment; a rebase landing puts each of its commits on that history, so each one counts as its own deployment.
A deployment a later first-parent commit reverts is a failed deployment. A revert subject is
Revert "<subject>" or, in Conventional Commits form, revert: or revert(<scope>):. A
commit reverts a deployment by the first of these that names one:
This reverts commit <sha> line in its message, naming the deployment or a commit it
merged, on any commit;Reverts #<n> or
Reverts <owner>/<repo>#<n> in the body, or a (#<n> group in the subject other than its
own trailing (#<n>), matched to the deployment whose subject ends in (#<n>);Revert "<s>", or "<s>" inside a
revert(<scope>): subject), or the text after the revert(<scope>): prefix, matched to an earlier
deployment's subject with or without its trailing (#<n>).A revert subject that names no deployment by any of these is an unresolved revert: it counts as
a rework deployment and in unresolved_reverts, and marks nothing as failed. A merge counts the
messages of the commits it merges, so a revert that lands through a merge commit is seen by
forms 1 and 3. A This reverts commit line counts only when it names a commit already on the
default branch, so a squash body listing a revert of a commit that only existed on its branch is
not a revert. A revert landing after --until still marks a deployment in the window as failed,
and a target that landed before --since still resolves.
The signal reads only git history, so no tracker or forge call is made and any host works.
Resolve the deploy signal from the repository root:
bash "${CLAUDE_PLUGIN_ROOT}/skills/triage/scripts/parse-concern-value.sh" \
docs/conventions/work-items.yaml delivery_deploy_signal
Empty output means the key is unset: use the default, merge-to-default-branch. Report
whether the value came from the file or the default. A value other than
merge-to-default-branch stops the run: name the value and the one the schema allows.
Run the report. With no --branch, the script reads the ref origin/HEAD names, as of the
last fetch. Run git fetch first only when the user asks for the remote's latest history;
otherwise say the report covers history up to the last fetch.
bash "${CLAUDE_PLUGIN_ROOT}/skills/measure-delivery/scripts/delivery-metrics.sh" \
--repo "<repo root>" --deploy-signal "<signal>" <the flags from $ARGUMENTS>
Exit 2 is a bad flag or a branch that does not resolve: show the script's stderr line,
and when origin/HEAD is unset, ask for --branch. Exit 3 is a failed git read and exit
8 a missing git or jq: report it and stop.
Render the JSON as one markdown table, a row per trend period then a Window row from
totals, a column per metric. Show a null value as n/a (nothing to measure, such as a
period with no deployments), and show rates as percentages. Mark the first or last period
as partial when the window starts or ends inside it. Add an Unresolved reverts column from
unresolved_reverts; when it is above 0, say that the change fail rate leaves those reverts'
targets out.
Add two or three lines that read the trend: which metrics moved between the first and last full periods with deployments, and in which direction. Describe the team's delivery only.
Done when the table and the trend lines are shown, with the window, branch and deploy signal they cover.
/work-items:track stats for the open backlog behind the trend.
This reverts commit line nor a revert subject is invisible to the signal. A revert subject
that names its target only in prose (#<n>: the cut this reverts) is counted as unresolved.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub melodic-software/claude-code-plugins --plugin work-items12 skills in this plugin
/attend-queueVariablesAttend the loop-lane human queue: drives escalated items to resolution and lists held pull requests, post-merge failures and untriaged intake beside them, handing each intake row to /work-items:triage, then works parked needs-human items one at a time. Answers escalations via interview, comments answers back, flips unblocked items autonomous-eligible. Never executes or merges. Use when: 'attend the queue', 'answer escalations', 'work the escalation queue', 'what needs my attention across the lanes', 'HITL queue', 'clear the human queue'. Autonomous drain: /work-items:work-loop./decomposeVariablesTurn a plan, spec, or PRD into independently-grabbable vertical-slice work items, classify each AFK (agent-ready) or HITL (needs-human), and publish them blockers-first with dependency edges, optionally under a spec container. Also re-slices (reroutes) when the spec changes mid-flight. Use when the user wants a plan, PRD, or brief broken into tickets or work items, published to the tracker, or re-decomposed. Single-item CRUD is /work-items:track; executing one is /work-items:work./morning-briefPre-computed contextOperator's read-only morning view of the current GitHub repo in one pass: open counts per queue label, merge-ready PRs, parked decisions with their RECOMMENDED lines, loop-lane telemetry freshness, per CI lane the week's failures by class, limit stops, restarts and turn headroom, and model usage per activity and profile, owner touches per day, and whether anything on GitHub or Azure is charging or could start charging; never mutates issues, PRs, labels, comments, or billing and Azure settings. Use when: 'morning brief', 'ops dashboard', 'what needs attention', 'daily standup view', 'how do we monitor lane failures', 'which models do the lanes use', 'are we being charged'./onboard-adapterModel-invoked (fleet default); no exception class applies. Generation is gated by theGenerate a consumer-owned adapter for a tracker this plugin does not ship: interview for the provider's shape, probe the real instance, write the adapter and conformance binding into the consumer repo, then verify. Use when: 'add support for TRACKER', 'onboard a tracker', 'write a work-item adapter', 'generate a tracker adapter', 'my tracker is not supported', 'bring my own tracker'. Shipped providers (github, local-markdown, jira, gitea, linear) and provider switches: '/work-items:setup'./scan-todosVariablesSweep source comments, not tracker items, for TODO/FIXME/HACK/XXX markers and resolve or file each one. Use when: 'scan TODOs', 'scan for FIXME', 'sweep the codebase for markers', 'find TODO comments', 'resolve TODO/FIXME/HACK', 'scan for tech-debt comments', 'clean up markers'. Not the workflow for new work: durable work belongs in the tracker when it is written. Tracker items go to /work-items:track./setupPurposeVerify and configure the work-items plugin for this repo. check read-only inspects the tracker binding (the home's work-items.yaml), tracked .github/recurring-schedule.json (presence, JSON validity, unique reconciliation keys), jq and tracker-seam entry gates, recurring-maintenance role label, provenance and capability-tier labels; apply binds the provider (copying legacy JSON), writes the schedule, migrates provenance and capability-tier labels when authorized, backfills legacy frontier stamps, and optionally remaps role labels. First-time bind writes minimum viable config only; per-item schedule seeding is opt-in via --seed-schedule. Use when: 'set up work-items', 'bind the tracker provider', 'is work-items configured', 'configure the recurring schedule', 'work-items setup', 'seed recurring items', 'bulk-seed the recurring schedule', 'remap the work-item role labels', or the due/recheck/work actions report no recurring schedule configured, or the seam reports no binding. Re-runnable.Other plugins' skills for the same job