/devops-skills:devops-delivery-metrics-and-dora-analysisfrom devops-skills
Measures and interprets DORA four keys (deployment frequency, lead time, MTTR, change failure rate) with correct computation, pitfalls, and improvement tactics. Activates on DORA or delivery performance queries.
Ships in devops-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.
None: SKILL.md is the whole skill.
The DORA (DevOps Research and Assessment) four keys — deployment frequency, lead time for changes, mean time to restore, and change failure rate — give a small, well-validated set of metrics that correlate software delivery performance with organizational outcomes, in place of vague impressions ("we feel slow") or vanity metrics (lines of code, number of commits) that don't actually predict delivery capability. Measured correctly, they surface where the delivery pipeline is actually constrained — batch size, test reliability, deployment risk, incident recovery — so improvement effort goes to the real bottleneck. Measured or used carelessly, the same four numbers become a scoreboard that teams learn to game, or a blame instrument pointed at individuals for something that is almost always a systemic, cross-team property.
Define deployment frequency as how often code successfully reaches production, not how often a pipeline runs. Count production deploy events specifically (not staging, not every CI run), from the CI/CD platform's own deploy record:
deployment_frequency = count(production deploy events) / time_period
A team deploying continuously (multiple times per day) and a team batching into one deploy every two weeks show up very differently here even with identical total code volume — this metric measures batch size and release cadence, not raw productivity.
Define lead time for changes as commit-to-production time, not ticket-created-to-done or idea-to-production (which conflates product discovery time with delivery-pipeline time):
lead_time_for_change = deploy_timestamp - first_commit_timestamp
(for the commits included in that deploy)
Measure the median (and a high percentile like p85/p90) across many changes, not a single change's time, since lead time is typically right-skewed (most changes are fast, a few are very slow and drag the mean).
Define MTTR as the time from a production incident's detection/ declaration to its resolution, specifically for user-facing degradation caused by a deployed change (not scheduled maintenance, not an unrelated third-party outage):
mttr = incident_resolved_timestamp - incident_declared_timestamp
Pull declared/resolved timestamps from the incident-management system used in incident-response-and-on-call-management, not from memory after the fact — post-hoc timestamp reconstruction is a common source of inaccurate MTTR data.
Define change failure rate as the percentage of deploys that require remediation — a hotfix, rollback, or a patch specifically caused by the deploy itself — over total deploys in the period:
change_failure_rate = deploys_requiring_remediation / total_deploys
Agree in advance on what counts as "requiring remediation": a rollback definitely counts; a same-day unrelated bug report probably doesn't; a hotfix specifically addressing a bug introduced by that deploy does. Write this definition down and apply it consistently — see step 6 for the most common way this metric gets gamed instead of measured honestly.
Compute all four together and read them as a system, not four independent scores. A team that improves deployment frequency by batching less risk per deploy, while lead time and change failure rate stay flat or improve, is genuinely improving; a team whose deployment frequency rises while change failure rate also rises is just shipping the same defects faster, not actually improving delivery performance.
Watch for the classic ways these metrics get gamed, deliberately or not, and correct for them rather than reporting the raw (misleading) number:
Present the numbers as a team/system-level improvement signal, not an individual scorecard. Never rank individual engineers by these metrics, and be explicit about that when introducing the measurement — the four keys describe the health of a delivery system (pipeline, process, architecture), which is a shared, cross-functional property, not an individual's output.
Use the specific number to target the specific bottleneck rather than a generic "improve everything" push:
Symptom: Deployment frequency looks impressively high, but the team's actual feature/fix throughput hasn't visibly changed. Fix: Check whether the count includes trivial/no-op deploys inflating the number (step 6); if so, either exclude them from the metric or accept that deploy frequency alone doesn't measure delivered value — pair it with lead time and change failure rate rather than reading it alone.
Symptom: Change failure rate stays suspiciously low even though the team has clearly had several rough production incidents recently. Fix: Check how "requiring remediation" is being classified (step 4/6) — a common cause is patching forward instead of formally logging a rollback/hotfix against the triggering deploy, which hides real failures from the metric. Fix the classification rule, not the number.
Symptom: After introducing DORA metrics, engineers start batching smaller changes into fewer, larger deploys, and lead time and deployment frequency both quietly get worse instead of better. Fix: This is a sign the metrics are being perceived as a performance evaluation tool rather than a systemic improvement signal — revisit how the metrics were introduced and reaffirm they inform process changes, not individual/team scorecards (step 7); investigate whether a specific gate (e.g., an onerous manual approval) is driving the batching behavior.
Symptom: Two teams' DORA numbers are compared directly in a leadership review, and the team with a monolithic, higher-risk architecture looks bad next to a team running independent microservices with much smaller per-deploy blast radius. Fix: DORA numbers are only meaningful compared against a team's own trend over time, not directly against a different team with a materially different architecture and deploy unit — present trends, not cross-team leaderboards.
Symptom: Lead time is measured from Jira ticket creation to production, and it looks terrible, but investigation shows most of that time is tickets sitting in a backlog before anyone starts coding. Fix: Redefine lead time as commit-to-production (step 2) to isolate the engineering delivery pipeline's actual performance; track backlog/planning time as a separate, product-side metric if it matters, but don't conflate the two.
Scenario: A platform team wants to know why releases "feel slow" and
sets up DORA measurement for the checkout-api service over a trailing
8-week window.
deploy_timestamp - first_commit_timestamp for each deployed change set, median 6 hours,
but p90 is 3.5 days — investigation shows the p90 tail is almost
entirely PRs waiting on a single required manual reviewer who is often
unavailable, not a slow pipeline.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
16 skills in this plugin
/artifact-and-dependency-managementManages build artifacts and third-party dependencies through a private registry/proxy with lockfiles, version pinning, retention policies, and automated update workflows. Use when the user asks to "set up an artifact repository," "configure a package registry proxy/mirror," "pin/lock dependency versions," "clean up old artifacts," "handle a dependency update / Dependabot-Renovate PR," or "avoid a left-pad-style supply-chain incident."
/blue-green-canary-deploymentsDesigns and executes progressive delivery strategies — blue-green cutover, canary rollout, and traffic-shifted releases — with automated health checks and rollback triggers, typically on Kubernetes. Use when the user asks to "reduce deployment risk," "set up canary/blue-green deployments," "do a zero-downtime release," "gradually shift traffic to a new version," or "automatically roll back a bad deploy."
/ci-access-and-credential-lifecycle-managementManages the lifecycle of one-off/temporary repo and environment access grants and CI service-account credentials — granting time-boxed access for a specific task, revoking it reliably when the task ends, and rotating CI service-account tokens/keys before they expire or become stale. Use when the user asks to "give a contractor temporary repo access," "grant one-off access to the production environment," "rotate our CI service account token/API key," "find and revoke stale CI credentials," or "our CI token is about to expire, what do we do."
/ci-cd-pipeline-designDesigns and troubleshoots CI/CD pipelines (GitHub Actions, GitLab CI, or equivalent) including stage layout, caching, parallelization, quality gates, and secrets handling. Use when the user asks to "set up a CI/CD pipeline," "add a build/test/deploy workflow," "fix a failing pipeline stage," "speed up CI," "add branch protection / required checks," or "design a deployment pipeline" for an application or infrastructure repo.
/container-build-and-releaseBuilds, tags, scans, and publishes container images with reproducible, minimal, multi-stage Dockerfiles and a defensible tagging/release scheme. Use when the user asks to "write a Dockerfile," "reduce image size," "set up multi-arch builds," "tag and push a container image," "add image scanning to the pipeline," or "publish a release image to a registry."
/emergency-hotfix-deployment-procedureDefines the out-of-cadence process for shipping a production hotfix outside the normal release train — which checks are genuinely safe to bypass versus never, the minimum required verification before an emergency deploy, required sign-off, and the rollback plan that must exist before the hotfix goes out. Use when the user asks to "ship an emergency hotfix," "deploy outside the normal release process," "bypass the release train for a critical fix," "what's the minimum we can skip for a production emergency," or "we need to patch prod right now."
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin devops-skillsOther plugins' skills for the same job