{"id":"9cc363bb-6727-4de5-8522-352d1e418c93","shortId":"jcpdw2","kind":"skill","title":"dora-metrics","tagline":"Generate DORA metrics and engineering performance reports using Harness SEI via MCP. Track deployment frequency, lead time, change failure rate, and MTTR. Use when user says \"DORA metrics\", \"deployment frequency\", \"lead time\", \"engineering metrics\", or asks about team performance","description":"# DORA Metrics\n\nGenerate DORA metrics reports using Harness Software Engineering Insights (SEI) via MCP.\n\n## Instructions\n\nAll DORA metrics are served by a single resource type: `sei_dora_metric`. Pass the `metric` parameter to select the variant:\n\n- `deployment_frequency`\n- `deployment_frequency_drilldown`\n- `lead_time`\n- `change_failure_rate`\n- `change_failure_rate_drilldown`\n- `mttr`\n\nRequired inputs on every DORA call: `team_ref_id`, `date_start`, `date_end`, `granularity` (DAILY | WEEKLY | MONTHLY).\n\n### Step 1: Get a DORA Metric\n\nDeployment Frequency:\n```\nCall MCP tool: harness_get\nParameters:\n  resource_type: \"sei_dora_metric\"\n  metric: \"deployment_frequency\"\n  team_ref_id: \"<team_id>\"\n  date_start: \"2026-03-01\"\n  date_end: \"2026-04-01\"\n  granularity: \"WEEKLY\"\n```\n\nLead Time for Changes:\n```\nCall MCP tool: harness_get\nParameters:\n  resource_type: \"sei_dora_metric\"\n  metric: \"lead_time\"\n  team_ref_id: \"<team_id>\"\n  date_start: \"2026-03-01\"\n  date_end: \"2026-04-01\"\n  granularity: \"WEEKLY\"\n```\n\nChange Failure Rate:\n```\nCall MCP tool: harness_get\nParameters:\n  resource_type: \"sei_dora_metric\"\n  metric: \"change_failure_rate\"\n  team_ref_id: \"<team_id>\"\n  date_start: \"2026-03-01\"\n  date_end: \"2026-04-01\"\n  granularity: \"WEEKLY\"\n```\n\nMean Time to Recovery:\n```\nCall MCP tool: harness_get\nParameters:\n  resource_type: \"sei_dora_metric\"\n  metric: \"mttr\"\n  team_ref_id: \"<team_id>\"\n  date_start: \"2026-03-01\"\n  date_end: \"2026-04-01\"\n  granularity: \"WEEKLY\"\n```\n\n### Step 2: Get Drilldown Data\n\nPer-deployment detail for frequency:\n```\nCall MCP tool: harness_get\nParameters:\n  resource_type: \"sei_dora_metric\"\n  metric: \"deployment_frequency_drilldown\"\n  team_ref_id: \"<team_id>\"\n  date_start: \"2026-03-01\"\n  date_end: \"2026-04-01\"\n  granularity: \"DAILY\"\n```\n\nPer-failure detail for CFR:\n```\nCall MCP tool: harness_get\nParameters:\n  resource_type: \"sei_dora_metric\"\n  metric: \"change_failure_rate_drilldown\"\n  team_ref_id: \"<team_id>\"\n  date_start: \"2026-03-01\"\n  date_end: \"2026-04-01\"\n  granularity: \"DAILY\"\n```\n\n### Step 3: Get Team Data\n\nList teams:\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"sei_team\"\n```\n\nGet team details (integrations, developers, integration filters):\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"sei_team_detail\"\n  team_ref_id: \"<team_id>\"\n  aspect: \"developers\"   # or \"integrations\" | \"integration_filters\"\n```\n\n### Step 4: AI Metrics (Optional)\n\n```\nCall MCP tool: harness_get\nParameters:\n  resource_type: \"sei_ai_adoption\"\n```\n\nRelated: `sei_ai_impact`, `sei_ai_usage`, `sei_ai_raw_metric`.\n\n## DORA Benchmarks\n\n| Metric | Elite | High | Medium | Low |\n|--------|-------|------|--------|-----|\n| Deployment Frequency | Multiple/day | Weekly-Monthly | Monthly-6mo | 6mo+ |\n| Lead Time | < 1 hour | 1 day-1 week | 1-6 months | 6mo+ |\n| Change Failure Rate | < 5% | 5-10% | 10-15% | > 15% |\n| MTTR | < 1 hour | < 1 day | 1 day-1 week | 1 week+ |\n\n## Report Format\n\n```\n## DORA Metrics Report\n\n**Period:** <date range>\n**Team:** <team or org>\n\n### Performance Summary\n\n| Metric | Value | Rating | Trend |\n|--------|-------|--------|-------|\n| Deployment Frequency | X/week | High | Improving |\n| Lead Time | X hours | Elite | Stable |\n| Change Failure Rate | X% | Medium | Needs attention |\n| MTTR | X hours | High | Improving |\n\n### Overall Rating: <Elite/High/Medium/Low>\n\n### Recommendations\n1. CFR at X% - invest in test automation and code review\n2. Lead time trending up - look at PR review bottlenecks\n3. Consider feature flags to decouple deploy from release\n```\n\n## SEI Resource Types\n\n| Resource Type | Operations | Description |\n|--------------|-----------|-------------|\n| `sei_dora_metric` | get (+ `metric` param) | All 6 DORA variants: deployment_frequency, deployment_frequency_drilldown, lead_time, change_failure_rate, change_failure_rate_drilldown, mttr |\n| `sei_team` | list, get | Team definitions |\n| `sei_team_detail` | list (+ `aspect` param: developers / integrations / integration_filters) | Per-team sub-resources |\n| `sei_metric` | list, get | Generic metrics |\n| `sei_productivity_metric` | get | Productivity metrics |\n| `sei_org_tree` | list, get | Organization structure |\n| `sei_org_tree_detail` | list, get | Org tree detail |\n| `sei_business_alignment` | get | Business alignment |\n| `sei_ai_adoption` | get | AI adoption metrics |\n| `sei_ai_impact` | get | AI impact metrics |\n| `sei_ai_usage` | get | AI usage metrics |\n| `sei_ai_raw_metric` | get | Raw AI metrics |\n\n## Examples\n\n- \"How are we doing on DORA metrics?\" - Call `sei_dora_metric` four times with each primary `metric`\n- \"Compare DORA across teams\" - List `sei_team`, then call `sei_dora_metric` per `team_ref_id`\n- \"What's our deployment frequency trend?\" - Get `sei_dora_metric` with `metric: deployment_frequency`, then drilldown\n- \"Show AI adoption metrics\" - Get `sei_ai_adoption` and related AI resources\n\n## Performance Notes\n\n- Always pass `team_ref_id`, `date_start`, `date_end`, `granularity` — these are required.\n- Gather metrics across the full requested time range before generating the report. Partial data skews results.\n- Compare metrics across multiple time periods to identify trends, not just snapshots.\n\n## Troubleshooting\n\n### No Metric Data\n- Verify SEI integrations are configured (Git, CI/CD, issue tracking)\n- Confirm `team_ref_id` belongs to an active SEI team (`harness_list resource_type: sei_team`)\n- Check the date range covers data the integrations have ingested\n- Allow time for data collection and calculation after new integrations are added\n\n### Metrics Seem Incorrect\n- Verify deployment detection rules in SEI settings\n- Check failure classification criteria\n- Review team member mappings via `sei_team_detail aspect: developers`","tags":["dora","metrics","harness","skills","agent-skills","agents"],"capabilities":["skill","source-harness","skill-dora-metrics","topic-agent-skills","topic-agents"],"categories":["harness-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/harness/harness-skills/dora-metrics","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add harness/harness-skills","source_repo":"https://github.com/harness/harness-skills","install_from":"skills.sh"}},"qualityScore":"0.457","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 15 github stars · SKILL.md body (5,746 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:06:30.113Z","embedding":null,"createdAt":"2026-05-09T01:05:28.772Z","updatedAt":"2026-05-18T19:06:30.113Z","lastSeenAt":"2026-05-18T19:06:30.113Z","tsv":"'-01':140,145,173,178,206,211,238,243,279,284,316,321 '-03':139,172,205,237,278,315 '-04':144,177,210,242,283,320 '-1':418,440 '-10':429 '-15':431 '-6':421 '1':112,414,416,420,434,436,438,442,484 '10':430 '15':432 '2':247,495 '2026':138,143,171,176,204,209,236,241,277,282,314,319 '3':325,505 '4':369 '5':427,428 '6':528 '6mo':410,411,423 'across':651,710,726 'activ':756 'ad':786 'adopt':383,604,607,683,688 'ai':370,382,386,389,392,603,606,610,613,617,620,624,629,682,687,691 'align':598,601 'allow':775 'alway':695 'ask':39 'aspect':362,556,809 'attent':474 'autom':491 'belong':753 'benchmark':396 'bottleneck':504 'busi':597,600 'calcul':781 'call':99,119,152,184,218,257,293,331,348,373,639,657 'cfr':292,485 'chang':21,86,89,151,181,196,305,424,468,538,541 'check':765,797 'ci/cd':746 'classif':799 'code':493 'collect':779 'compar':649,724 'configur':744 'confirm':749 'consid':506 'cover':769 'criteria':800 'daili':108,286,323 'data':250,328,721,739,770,778 'date':103,105,136,141,169,174,202,207,234,239,275,280,312,317,700,702,767 'day':417,437,439 'decoupl':510 'definit':551 'deploy':17,32,79,81,117,131,253,269,402,457,511,531,533,668,677,791 'descript':520 'detail':254,290,343,358,554,590,595,808 'detect':792 'develop':345,363,558,810 'dora':2,5,30,43,46,59,69,98,115,128,161,193,227,266,302,395,446,522,529,637,641,650,659,673 'dora-metr':1 'drilldown':83,92,249,271,308,535,544,680 'elit':398,466 'elite/high/medium/low':482 'end':106,142,175,208,240,281,318,703 'engin':8,36,52 'everi':97 'exampl':631 'failur':22,87,90,182,197,289,306,425,469,539,542,798 'featur':507 'filter':347,367,561 'flag':508 'format':445 'four':643 'frequenc':18,33,80,82,118,132,256,270,403,458,532,534,669,678 'full':712 'gather':708 'generat':4,45,717 'generic':572 'get':113,123,156,188,222,248,261,297,326,341,377,524,549,571,577,584,592,599,605,612,619,627,671,685 'git':745 'granular':107,146,179,212,244,285,322,704 'har':12,50,122,155,187,221,260,296,334,351,376,759 'high':399,460,478 'hour':415,435,465,477 'id':102,135,168,201,233,274,311,361,664,699,752 'identifi':731 'impact':387,611,614 'improv':461,479 'incorrect':789 'ingest':774 'input':95 'insight':53 'instruct':57 'integr':344,346,365,366,559,560,742,772,784 'invest':488 'issu':747 'lead':19,34,84,148,164,412,462,496,536 'list':329,335,352,548,555,570,583,591,653,760 'look':500 'low':401 'map':804 'mcp':15,56,120,153,185,219,258,294,332,349,374 'mean':214 'medium':400,472 'member':803 'metric':3,6,31,37,44,47,60,70,73,116,129,130,162,163,194,195,228,229,267,268,303,304,371,394,397,447,453,523,525,569,573,576,579,608,615,622,626,630,638,642,648,660,674,676,684,709,725,738,787 'month':110,407,409,422 'monthly-6mo':408 'mttr':25,93,230,433,475,545 'multipl':727 'multiple/day':404 'need':473 'new':783 'note':694 'oper':519 'option':372 'org':581,588,593 'organ':585 'overal':480 'param':526,557 'paramet':74,124,157,189,223,262,298,336,353,378 'partial':720 'pass':71,696 'per':252,288,563,661 'per-deploy':251 'per-failur':287 'per-team':562 'perform':9,42,451,693 'period':449,729 'pr':502 'primari':647 'product':575,578 'rang':715,768 'rate':23,88,91,183,198,307,426,455,470,481,540,543 'raw':393,625,628 'recommend':483 'recoveri':217 'ref':101,134,167,200,232,273,310,360,663,698,751 'relat':384,690 'releas':513 'report':10,48,444,448,719 'request':713 'requir':94,707 'resourc':66,125,158,190,224,263,299,337,354,379,515,517,567,692,761 'result':723 'review':494,503,801 'rule':793 'say':29 'seem':788 'sei':13,54,68,127,160,192,226,265,301,339,356,381,385,388,391,514,521,546,552,568,574,580,587,596,602,609,616,623,640,654,658,672,686,741,757,763,795,806 'select':76 'serv':62 'set':796 'show':681 'singl':65 'skew':722 'skill' 'skill-dora-metrics' 'snapshot':735 'softwar':51 'source-harness' 'stabl':467 'start':104,137,170,203,235,276,313,701 'step':111,246,324,368 'structur':586 'sub':566 'sub-resourc':565 'summari':452 'team':41,100,133,166,199,231,272,309,327,330,340,342,357,359,450,547,550,553,564,652,655,662,697,750,758,764,802,807 'test':490 'time':20,35,85,149,165,215,413,463,497,537,644,714,728,776 'tool':121,154,186,220,259,295,333,350,375 'topic-agent-skills' 'topic-agents' 'track':16,748 'tree':582,589,594 'trend':456,498,670,732 'troubleshoot':736 'type':67,126,159,191,225,264,300,338,355,380,516,518,762 'usag':390,618,621 'use':11,26,49 'user':28 'valu':454 'variant':78,530 'verifi':740,790 'via':14,55,805 'week':109,147,180,213,245,406,419,441,443 'weekly-month':405 'x':464,471,476,487 'x/week':459","prices":[{"id":"eba4e1ba-e59b-43b3-b630-42f6726c9b1a","listingId":"9cc363bb-6727-4de5-8522-352d1e418c93","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"harness","category":"harness-skills","install_from":"skills.sh"},"createdAt":"2026-05-09T01:05:28.772Z"}],"sources":[{"listingId":"9cc363bb-6727-4de5-8522-352d1e418c93","source":"github","sourceId":"harness/harness-skills/dora-metrics","sourceUrl":"https://github.com/harness/harness-skills/tree/main/skills/dora-metrics","isPrimary":false,"firstSeenAt":"2026-05-09T01:05:28.772Z","lastSeenAt":"2026-05-18T19:06:30.113Z"}],"details":{"listingId":"9cc363bb-6727-4de5-8522-352d1e418c93","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"harness","slug":"dora-metrics","github":{"repo":"harness/harness-skills","stars":15,"topics":["agent-skills","agents"],"license":"apache-2.0","html_url":"https://github.com/harness/harness-skills","pushed_at":"2026-05-13T01:28:28Z","description":"A collection of structured AI agent skills that   enable Claude Code, Cursor, GitHub Copilot, and   other AI coding assistants to create, operate,   debug, and govern Harness CI/CD workflows through   natural language.","skill_md_sha":"44c1835eebf9f6d16060b49fecea1c0f05bcd93d","skill_md_path":"skills/dora-metrics/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/harness/harness-skills/tree/main/skills/dora-metrics"},"layout":"multi","source":"github","category":"harness-skills","frontmatter":{"name":"dora-metrics","license":"Apache-2.0","description":"Generate DORA metrics and engineering performance reports using Harness SEI via MCP. Track deployment frequency, lead time, change failure rate, and MTTR. Use when user says \"DORA metrics\", \"deployment frequency\", \"lead time\", \"engineering metrics\", or asks about team performance.","compatibility":"Requires Harness MCP v2 server (harness-mcp-v2). All six DORA metric variants are served by a single consolidated `sei_dora_metric` resource — pick the variant via the `metric` parameter."},"skills_sh_url":"https://skills.sh/harness/harness-skills/dora-metrics"},"updatedAt":"2026-05-18T19:06:30.113Z"}}