claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
Computes DORA delivery-performance metrics from git and GitHub API. Use when assessing deployment frequency, lead time, or change failure rate.
Claude Code
$ npx -y skills add athola/claude-night-market --skill dora-metrics --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill dora-metrics -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill dora-metrics -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill dora-metrics -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill dora-metrics -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill dora-metrics -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill dora-metrics -a windsurf -y
name: dora-metrics description: Computes DORA delivery-performance metrics from git and GitHub API. Use when assessing deployment frequency, lead time, or change failure rate. alwaysApply: false category: governance tags: - dora - metrics - delivery - engineering-management - github dependencies: [] tools: [] provides: governance: - dora-tier - delivery-bottleneck reporting: - dora-report - tier-classification usage_patterns: - delivery-retro - agentic-pipeline-audit - release-health-input complexity: intermediate estimated_tokens: 800 progressive_loading: true modules: - modules/thresholds.md - modules/agentic-workflow-signals.md
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.
deploys) improve velocity and stability or quietly regress them.
rather than delivery-performance evidence.
DORA assumes one.
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 --terminalkuva reads TSV/CSV from stdin or a file path. Install once: `cargo install kuva --features cli`. No project source changes required. See [kuva](https://github.com/Psy-Fer/kuva) for the full plot-type reference.
| Flag | Default | Meaning | |------|---------|---------| | `--window` | 30 | Measurement window in days | | `--branch` | HEAD | Production branch | | `--failure-label` | bug | GitHub label marking prod failures | | `--json` | off | Emit JSON instead of human-readable | | `--repo-path` | cwd | Repository directory |
A short text report or JSON payload with:
See `modules/thresholds.md` for the complete table. Brief summary:
| Metric | Elite | High | Medium | Low | |--------|-------|------|--------|-----| | 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 |
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.
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.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.