agentleFS
erumkatzwanerumkatzwan/agentic-product-starter/.agents/skills/dora-metrics/SKILL.md

dora-metrics

Skill5 starsChanged 19 days agoMITView on GitHub

Use when someone asks how the team is delivering, wants DORA metrics or the delivery dashboard explained or changed, during a retro, after an incident, or when real production deployments are added. Covers the four keys, how they are measured here, and how to improve them.

  • Reads credentials

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read ADR-0010 for the definitions.

    line 8
  2. Very specific:

    Incidents: when customers are affected in production, open an issue from the Incident template (label incident) straight away and close it …

    line 19
  3. Distinctive:

    Reverts: use GitHub's Revert button so the pull request title starts with "Revert".

    line 20
  4. Very specific:

    Real deployments: when an app deploys to production from a workflow, add that workflow file to DEPLOY_WORKFLOWS in …

    line 21
  5. Very specific:

    Use the trend lines, not a single week.

    line 32
  6. Very specific:

    Update scripts/dora-metrics.mjs and its tests (node --test scripts/dora-metrics.test.mjs).

    line 36
  7. Very specific:

    Update ADR-0010 if a definition changes (or write a new ADR that supersedes it), and the "How it is measured" section of …

    line 37

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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 metrics

Read ADR-0010 for the definitions.

Where the numbers are

  • Dashboard: the website's dora/ page (GitHub Pages), updated every Monday.
  • Raw data: dora.json on the metrics branch, with a year of weekly history.
  • Now: GITHUB_TOKEN=<token> node scripts/dora-metrics.mjs --repo <owner>/<repo> --days 30 (a token with read access to pull requests, issues and actions).
  • Re-run: Actions → DORA metrics → Run workflow.

Keep the data honest

  • Incidents: when customers are affected in production, open an issue from the Incident template (label incident) straight away and close it when service is back. Do not use the label for ordinary bugs.
  • Reverts: use GitHub's Revert button so the pull request title starts with "Revert"; it counts as a failed change.
  • Real deployments: when an app deploys to production from a workflow, add that workflow file to DEPLOY_WORKFLOWS in .github/workflows/dora.yml. From then on, deployments are its successful runs on main.

Read the dashboard in a retro

KeyIf it is not Elite or High, try
Deployment frequencySmaller tickets (to-tickets), merging behind feature flags instead of long branches
Lead time for changesSmaller pull requests, faster reviews, fixing slow or flaky CI jobs
Change failure rateMore tests at the right level (tdd), feature flags defaulting to off, the review checklist
Time to restore serviceObservability alerts and dashboards (observability), quick rollback by revert or flag

Use the trend lines, not a single week. Bring one concrete improvement into the next sprint (retro).

Change the measurement

  1. Update scripts/dora-metrics.mjs and its tests (node --test scripts/dora-metrics.test.mjs).
  2. Update ADR-0010 if a definition changes (or write a new ADR that supersedes it), and the "How it is measured" section of apps/website/dora/index.html.
  3. Outgrowing this setup (many repositories, a deployment pipeline, an incident tool)? Consider Apache DevLake, which has DORA dashboards built in.

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.