본문으로 건너뛰기
cccskills
무료GitHub에 공개

dora-metrics

Computes DORA delivery-performance metrics from git and GitHub API. Use when assessing deployment frequency, lead time, or change failure rate.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub

실행 점수 미검증

설치 방법 보기

포함된 파일(3)

  • SKILL.md4.6 KB
  • modules/agentic-workflow-signals.md2.4 KB
  • modules/thresholds.md1.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

DORA Metrics

Purpose

Compute the four DORA delivery-performance metrics (Deployment Frequency, Lead Time for Changes, Change Failure Rate, and Time to Restore Service) from local git history and the GitHub API. Classify each metric into Elite, High, Medium, or Low using thresholds from DORA's State of DevOps research, and surface the single weakest dimension as the next improvement target.

When To Use

  • Engineering management retrospectives and quarterly reviews.
  • Auditing whether agentic workflows (AI-assisted PRs, automated deploys) improve velocity and stability or quietly regress them.
  • Feeding a tier signal into minister:release-health-gates.

When Not to Use

  • Single-team velocity tracking that needs story-point burndowns rather than delivery-performance evidence.
  • Repositories without a clear production branch or release cadence; DORA assumes one.

Workflow

  1. Run the helper script with the desired window:

    python3 -m minister.dora_metrics --window 30 --branch main
    
  2. Read the output: per-metric value, tier classification, and the bottleneck pointer.

  3. For agentic-workflow audits, run the same window twice. Once filtering to AI-authored PRs (e.g., --failure-label ai-bug), once across all PRs. Compare the CFR delta. See modules/agentic-workflow-signals.md.

  4. Optionally pipe --json into the tracker so trend data persists alongside release-health-gates snapshots.

  5. Optionally render trend charts with kuva when reviewing multiple windows or comparing before/after an agentic-workflow change:

    # Collect weekly snapshots into a TSV, then plot all four metrics
    # week<TAB>metric<TAB>value
    kuva line trends.tsv --x week --y value --color-by metric \
        --title "DORA trends (30-day windows)" -o dora-trends.svg
    
    # Quick terminal preview without writing a file
    kuva line trends.tsv --x week --y value --color-by metric --terminal
    

    kuva reads TSV/CSV from stdin or a file path. Install once: cargo install kuva --features cli. No project source changes required. See kuva for the full plot-type reference.

Inputs

FlagDefaultMeaning
--window30Measurement window in days
--branchHEADProduction branch
--failure-labelbugGitHub label marking prod failures
--jsonoffEmit JSON instead of human-readable
--repo-pathcwdRepository directory

Outputs

A short text report or JSON payload with:

  • Per-metric numeric value (e.g., 4.2/day, 2.1 hours, 8%).
  • Per-metric tier (Elite, High, Medium, Low).
  • Overall tier (the weakest of the four).
  • Bottleneck key, identifying which metric to focus improvement on.

Tier Thresholds

See modules/thresholds.md for the complete table. Brief summary:

MetricEliteHighMediumLow
DF>= 1/day>= 1/week>= 1/month< 1/month
LT<= 1 day<= 1 week<= 1 month> 1 month
CFR<= 15%<= 30%<= 45%> 45%
TRS< 1 hour< 1 day< 1 week>= 1 week

Verification

Confirm a DORA report is real by re-running the script over a narrower window and checking that DF and LT scale predictably. For CFR and TRS, sample two or three of the contributing GitHub issues and verify the bug (or chosen) label is correct on each.

Testing

Unit tests live in plugins/minister/tests/unit/test_dora_metrics.py. Each tier boundary is exercised at the threshold, so future contributors who adjust an inequality (> vs >=) trigger a failure rather than a silent regression. Add new tests at the threshold when extending classification logic.

Exit Criteria

  • DORA report generated for the requested window.
  • All four metrics classified into a tier.
  • Bottleneck dimension surfaced.
  • Output is readable in a terminal or as a PR comment.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3432026년 10월 24일 업데이트

Inverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3432026년 10월 24일 업데이트

Tracks per-agent token usage and flags waste in parallel dispatch. Use when evaluating parallel agent efficiency or after a multi-agent run.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3432026년 10월 24일 업데이트

Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3432026년 10월 24일 업데이트

Evaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3432026년 10월 24일 업데이트

Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3432026년 10월 24일 업데이트

athola의 스킬 모두 보기

이 스킬의 문제 신고