Devops Delivery Metrics And Dora Analysis 标志

Devops Delivery Metrics And Dora Analysis

社区
selvarajmurugesan90
devops-delivery-metrics-and-dora-analysis

Measures and interprets the DORA four keys — deployment frequency, lead time for changes, mean time to restore (MTTR), and change failure rate — including how to compute each one correctly, common measurement pitfalls (vanity metrics, gaming the numbers, misclassifying a rollback), and how to use the results to drive process improvement rather than individual blame. Use when the user asks to "set up DORA metrics," "measure our deployment frequency/lead time," "what's our change failure rate," "are we an elite/high/medium/low performer," or "use delivery metrics to improve, not to blame the team."

概览

发布者selvarajmurugesan90
代码仓库ops-engineering-skills
技能名称devops-delivery-metrics-and-dora-analysis
星标数
44
复刻数
18
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 selvarajmurugesan90 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Devops Delivery Metrics And Dora Analysis AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/devops/skills/devops-delivery-metrics-and-dora-analysis
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/selvarajmurugesan90/ops-engineering-skills.git /tmp/ops-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/ops-engineering-skills/plugins/devops/skills/devops-delivery-metrics-and-dora-analysis .claude/skills/devops-delivery-metrics-and-dora-analysis
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Devops Delivery Metrics And Dora Analysis,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Devops Delivery Metrics And Dora Analysis。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Devops Delivery Metrics And Dora Analysis 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

DevOps Delivery Metrics and DORA Analysis

Purpose

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.

When to use

  • Setting up delivery-performance measurement for a team or organization for the first time.
  • A stakeholder asks "are we a high/elite performer" or wants to compare teams' DORA numbers against each other or against industry benchmarks.
  • Deciding what to improve next in the delivery pipeline, and wanting data on where the actual bottleneck is (build speed vs. review time vs. deployment risk vs. incident recovery) rather than guessing.
  • Suspecting the current numbers are being gamed or don't reflect reality (e.g., deploy frequency is high but nothing meaningful is actually shipping, or change failure rate looks good only because failures aren't being classified as failures).
  • A leader wants to use DORA metrics in a way that risks becoming a blame tool pointed at individual engineers or teams rather than a systemic improvement signal.

Prerequisites & environment

  • A source of truth for deploy events — the CI/CD platform's own deploy history (GitHub Actions/GitLab CI/Jenkins deployment job records, an Argo CD sync history) rather than a manually-maintained spreadsheet that will drift out of date.
  • A source of truth for incidents and their resolution timestamps (an incident-management tool or at minimum a consistent log with declared/ resolved times) — see incident-response-and-on-call-management.
  • A consistent definition, agreed across teams, of what counts as "a change" and "a deployment to production" before comparing any numbers — teams that deploy a monolith once a day and teams that deploy 50 independent microservices are not directly comparable without care.
  • Enough historical commit/PR/deploy timestamp data (ideally several months) to compute lead time and deployment frequency trends rather than a single noisy data point.
  • Executive/leadership buy-in on using the metrics for systemic improvement, agreed before rollout — this materially changes whether teams report honestly or start gaming the numbers.

Step-by-step guidance

  1. 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.

  2. 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).

  3. 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.

  4. 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.

  5. 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.

  6. Watch for the classic ways these metrics get gamed, deliberately or not, and correct for them rather than reporting the raw (misleading) number:

    • Deploy frequency inflated by deploying trivial/no-op changes just to move the number (a config comment change counted the same as a real feature deploy).
    • Change failure rate kept artificially low by not classifying a rollback as a "failure" if it happened quickly, or by quietly patching forward instead of formally rolling back so the incident is never logged against that deploy.
    • Lead time measured from ticket creation instead of first commit, making it look worse (or better) than actual delivery-pipeline performance by including product/planning time that isn't part of the engineering delivery pipeline at all.
    • MTTR measured only for incidents that got formally declared, undercounting degraded-but-not-declared incidents that took just as long to actually fix.
  7. 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.

  8. Use the specific number to target the specific bottleneck rather than a generic "improve everything" push:

Best practices

  • Automate metric collection from the CI/CD and incident-management systems' own event data — a manually-maintained spreadsheet drifts out of date and invites disputes over what actually happened.
  • Report trends over rolling windows (e.g., trailing 4-13 weeks), not a single period's snapshot — all four metrics are noisy week to week, especially for lower-volume teams.
  • Agree on and document the exact definitions (what counts as "a deployment," "a change requiring remediation," an "incident") across all teams being measured before comparing any numbers between them.
  • Pair change failure rate and MTTR together when discussing risk — a team with a higher change failure rate but very fast MTTR (via progressive delivery and fast rollback) may carry less real user-facing risk than a team with a lower change failure rate but slow MTTR.
  • Introduce DORA metrics with an explicit, stated commitment that they will not be used to rank or evaluate individuals, and hold to that commitment — trust, once broken here, causes teams to quietly optimize for the metric instead of for real delivery performance.
  • Use the metrics to start a conversation about the specific bottleneck (step 8), not to declare a team's overall competence via a single elite/high/medium/low label.

Common pitfalls

  • 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.

Worked example

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.

  1. Deployment frequency: pulled from the CI/CD platform's deploy job history, filtered to production-only successful deploys: median of 1.2 deploys/day, trending flat over 8 weeks.
  2. Lead time for changes: computed as 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.
  3. Change failure rate: 9% of deploys in the window required a hotfix or rollback, using an agreed definition (any deploy followed within 24 hours by a hotfix/rollback targeting the same service counts) applied consistently rather than judgment-called per incident.
  4. MTTR: median 22 minutes for incidents tied to a bad deploy, pulled from the incident tool's declared/resolved timestamps — fast, because the team already uses blue/green deploys with automated rollback.
  5. Reading the system, not four isolated numbers: deploy frequency and MTTR are both healthy; the real bottleneck is the long tail of lead time caused by reviewer bottleneck, and a change failure rate of 9% is higher than the team would like given how fast MTTR already is (meaning most of the "damage" from a bad deploy is already well contained — the real lever is reducing how often a bad deploy happens at all).
  6. Action, not blame: the finding is presented as "our review process has a single point of failure inflating lead time's tail, and our change failure rate suggests test coverage gaps in the checkout pricing module specifically" — routed to pipeline-failure-triage-and-recovery and a targeted test-coverage improvement, not reported as "the checkout team is slow."

Cross-references

常见问题

Devops Delivery Metrics And Dora Analysis AI 技能有什么作用?

Measures and interprets the DORA four keys — deployment frequency, lead time for changes, mean time to restore (MTTR), and change failure rate — including how to compute each one correctly, common measurement pitfalls (vanity metrics, gaming the numbers, misclassifying a rollback), and how to use the results to drive process improvement rather than individual blame. Use when the user asks to "set up DORA metrics," "measure our deployment frequency/lead time," "what's our change failure rate," "are we an elite/high/medium/low performer," or "use delivery metrics to improve, not to blame the...

为什么在 TypingMind 中使用 Devops Delivery Metrics And Dora Analysis?

因为您只需安装一次,就能搭配任何模型使用。Devops Delivery Metrics And Dora Analysis 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Devops Delivery Metrics And Dora Analysis?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/devops/skills/devops-delivery-metrics-and-dora-analysis。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Devops Delivery Metrics And Dora Analysis?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Devops Delivery Metrics And Dora Analysis 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Devops Delivery Metrics And Dora Analysis 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Devops Delivery Metrics And Dora Analysis AI 技能免费吗?

是的。selvarajmurugesan90 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇