agentleFS
mmccallammccalla/coding-agent-skill-library/skills/dora-four-keys/SKILL.md

dora-four-keys

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Uses DevOps Research and Assessment delivery metrics (classic Four Keys plus rework rate) to improve delivery performance without gaming metrics. Use when measuring deployment frequency, lead time, change failure rate, recovery time, or rework rate.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when improving or analysing deployment frequency, lead time for changes, change failure rate, failed deployment recovery …

    line 14
  2. Very specific:

    Keep the skill id dora-four-keys and alias devops-four-keys for discovery compatibility.

    line 32
  3. Distinctive:

    Add or improve telemetry where measurement is weak.

    line 45
  4. Distinctive:

    Do not use DORA metrics to rank or punish individuals.

    line 78
  5. Distinctive:

    Do not increase deployment frequency by reducing quality gates irresponsibly.

    line 79
  6. Distinctive:

    Do not reduce lead time by bypassing security, tests or approvals.

    line 80
  7. Distinctive:

    Do not hide failures by redefining incidents away.

    line 81
  8. Distinctive:

    Do not optimise one metric while damaging another.

    line 82
  9. Distinctive:

    Do not treat DORA as a dashboard-only exercise.

    line 83
  10. Distinctive:

    Do not confuse DORA delivery metrics with EU Digital Operational Resilience Act compliance.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

DORA Delivery Metrics

When to use

Use this skill when improving or analysing deployment frequency, lead time for changes, change failure rate, failed deployment recovery time, deployment rework rate, CI/CD flow, release process, delivery bottlenecks, deployment safety or engineering productivity evidence.

Objective

Improve software delivery performance using DORA metrics while preserving reliability, safety, quality and learning culture.

Metrics model (2024–2025)

DORA historically published Four Keys. From 2024 the model includes a fifth metric and groups measures into throughput and instability:

FactorMetricMeaning
ThroughputDeployment frequencyHow often the organisation successfully deploys to production or users.
ThroughputLead time for changesTime from code committed to successfully running in production.
ThroughputFailed deployment recovery timeTime to restore service after a deployment failure.
InstabilityChange failure ratePercentage of deployments causing degraded service, incidents, rollback or hotfix.
InstabilityDeployment rework ratePercentage of deployments that are unplanned work to fix production incidents.

Keep the skill id dora-four-keys and alias devops-four-keys for discovery compatibility.

Procedure

  1. Identify the delivery workflow being measured.
  2. Define what counts as a deployment.
  3. Define the start and end point for lead time.
  4. Define what counts as change failure.
  5. Define how recovery time is measured.
  6. Define how deployment rework rate is measured (unplanned incident-driven deployments).
  7. Collect baseline data for throughput and instability metrics.
  8. Identify bottlenecks or failure patterns.
  9. Recommend improvement experiments.
  10. Add or improve telemetry where measurement is weak.
  11. Reassess after changes.

Measurement guidance

deployment_frequency:
  event: "successful production deployment"
  source: "CI/CD deployment records"

lead_time_for_changes:
  start: "commit merged to main"
  end: "deployment completed successfully"
  source: "git and CI/CD events"

change_failure_rate:
  numerator: "deployments causing incident, rollback, hotfix or customer-impacting defect"
  denominator: "all deployments"
  source: "deployment and incident records"

failed_deployment_recovery_time:
  start: "failure detected"
  end: "service restored"
  source: "incident timeline and telemetry"

deployment_rework_rate:
  numerator: "unplanned deployments triggered by production incidents"
  denominator: "all deployments"
  source: "deployment and incident records"

Rules

  • Do not use DORA metrics to rank or punish individuals.
  • Do not increase deployment frequency by reducing quality gates irresponsibly.
  • Do not reduce lead time by bypassing security, tests or approvals.
  • Do not hide failures by redefining incidents away.
  • Do not optimise one metric while damaging another.
  • Do not treat DORA as a dashboard-only exercise; use it to drive improvement experiments.
  • Do not confuse DORA delivery metrics with EU Digital Operational Resilience Act compliance.

Improvement levers

ProblemPossible improvement
Low deployment frequencysmaller batches, feature flags, better test automation
Long lead timeremove queue time, improve CI speed, reduce manual gates
High change failure ratebetter tests, progressive delivery, smaller changes, observability
Slow recoveryrollback automation, runbooks, incident drills, canaries, feature flags
High rework ratestronger pre-release validation, canaries, faster rollback, blameless learning

Optional overlay

For product-specific DataOps/MCP examples, load skills_docs/overlays/mas-dataops-mcp-overlay.md.

References

Verification

  • Metric affected and measurement source stated.
  • Throughput and instability factors considered (including rework rate where relevant).
  • Bottleneck or failure pattern identified.
  • Improvement proposed or implemented described.
  • Safety controls preserved; residual measurement risk noted.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.