metrics-and-okrs
Skill1 starsChanged 7 days agoMITView on GitHub
Define OKRs, KPIs, success metrics, and engineering health metrics (DORA). Triggers: OKR, KPI, metrics, success metrics, key results, objectives, measure success, DORA metrics, engineering metrics, velocity, cycle time, deployment frequency, how do we measure, what should we track.
In this repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-designSkill
- ai-evaluationSkill
- api-designSkill
- architecture-designSkill
- architecture-documentationSkill
- brainstormingSkill
- browser-verificationSkill
- bug-investigatingSkill
- build-vs-buySkill
- cicd-pipelineSkill
- code-archaeologySkill
- code-reviewingSkill
- code-slop-cleanupSkill
- compliance-privacySkill
- configuration-strategySkill
- containerizationSkill
- data-modelingSkill
- data-pipeline-designSkill
- data-qualitySkill
- dependency-impact-analysisSkill
- dependency-managementSkill
- deployment-checklistSkill
- deployment-repoSkill
- dx-auditSkill
- effort-estimationSkill
- exploratory-data-analysisSkill
- feature-planningSkill
- finops-cost-optimizationSkill
- frontend-architectureSkill
- gitops-deliverySkill
- git-workflowSkill
- incident-responseSkill
- infrastructure-as-codeSkill
- llm-app-engineeringSkill
- ml-experiment-trackingSkill
- ml-model-deploymentSkill
- ml-pipeline-designSkill
- mobile-architectureSkill
- mobile-releaseSkill
- notebook-to-productionSkill
- observability-designSkill
- performance-optimizationSkill
- plan-executionSkill
- prd-writingSkill
- project-documentationSkill
- project-proposalSkill
- project-reviewSkill
- refactoringSkill
- release-managementSkill
- research-methodologySkill
- resilience-engineeringSkill
- retrospectiveSkill
- rollback-strategySkill
- security-auditSkill
- skill-routerSkill
- statistical-analysisSkill
- strategic-reviewSkill
- subagent-orchestrationSkill
- tdd-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Every metric must drive a decision: If knowing the metric's value wouldn't change what you do, stop tracking it.
- Distinctive: line 62
Check each OKR against these criteria:
- Distinctive: line 72
Use the template at templates/okr-document.md.
- Distinctive: line 80
Test coverage of new code, CI pipeline pass rate
- Distinctive: line 110
YAGNI: Don't build a metrics dashboard for 50 KPIs.
- Distinctive: line 111
Leading over lagging: Prefer metrics you can act on now over metrics you can only measure after the fact.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Metrics & OKRs
Define meaningful metrics that drive decisions and OKRs that align engineering work with business outcomes. Good metrics answer "are we succeeding?" Bad metrics create busywork.
Core Rule
Every metric must drive a decision. If knowing the metric's value wouldn't change what you do, stop tracking it. Metrics without decisions are vanity metrics.
Workflow: OKRs
Step 1: Understand the Context
Before writing OKRs:
- What's the time horizon? Quarterly is standard. Annual is too long for engineering.
- What level? Company → Team → Individual? Start with team-level.
- What's the business priority? Growth? Retention? Reliability? Cost reduction?
- What did we learn from last quarter? What OKRs were hit, missed, and why?
Step 2: Write Objectives
An Objective is a qualitative, inspiring goal that answers "where do we want to go?"
Good Objectives:
- "Make the checkout experience delightfully fast"
- "Build a platform our enterprise customers trust"
- "Eliminate the deployment bottleneck"
Bad Objectives:
- "Improve latency by 40%" (this is a Key Result, not an Objective)
- "Complete the Q3 roadmap" (this is output, not outcome)
- "Increase revenue" (too vague, not actionable by engineering)
Rules: 3-5 objectives per team per quarter. Each should be ambitious but achievable. If you hit 100% of all OKRs, you aimed too low. 70% achievement is healthy.
Step 3: Write Key Results
Key Results are quantitative measures that prove the Objective is being met.
Good Key Results:
- "Reduce checkout page load time from 3.2s to under 1.5s at P95"
- "Achieve 99.95% API availability (up from 99.8%)"
- "Reduce time from PR merge to production from 4 hours to 30 minutes"
Bad Key Results:
- "Launch the new checkout page" (this is output, not outcome)
- "Improve performance" (not measurable)
- "No production incidents" (not realistic and incentivizes hiding incidents)
Each Objective should have 2-4 Key Results. Each Key Result needs:
- Current value (baseline)
- Target value (goal)
- How it's measured (data source, calculation)
Step 4: Validate the OKRs
Check each OKR against these criteria:
- Is the Objective inspiring and clearly directional?
- Are Key Results measurable with a specific number?
- Can we actually measure this today? (If not, first KR might be "instrument X")
- Do Key Results measure outcomes, not outputs?
- Is 70% achievement of all KRs realistic with focused effort?
- Are there perverse incentives? (Reducing errors by not logging them)
Step 5: Produce the OKR Document
Use the template at templates/okr-document.md.
Workflow: Project Success Metrics
For any project or feature, define metrics in three categories:
Leading indicators (early signals during development):
- Sprint velocity, burndown trend, scope change rate
- Test coverage of new code, CI pipeline pass rate
Lagging indicators (results after launch):
- User adoption (DAU, feature usage rate)
- Performance metrics (latency, error rate, availability)
- Business metrics (conversion rate, revenue, support ticket volume)
Health indicators (ongoing system health):
- DORA metrics (see below)
- Technical debt metrics (code quality trends, dependency freshness)
See references/metric-catalog.md for a catalog of useful metrics by category.
Workflow: DORA Engineering Metrics
The four DORA metrics are the industry standard for measuring engineering team effectiveness:
| Metric | What It Measures | Elite | High | Medium | Low |
| Deployment Frequency | How often you deploy | Multiple/day | Weekly | Monthly | Quarterly |
| Lead Time for Changes | PR merge to production | < 1 hour | < 1 day | < 1 week | > 1 month |
| Change Failure Rate | % of deploys causing incidents | < 5% | < 10% | < 15% | > 30% |
| Mean Time to Recover | Incident to resolution | < 1 hour | < 1 day | < 1 week | > 1 month |
These four metrics together tell you if your team is delivering quickly and reliably. Optimizing one at the expense of another is a trap (deploying fast but breaking things, or never breaking things but never shipping).
Principles Applied
- KISS: 3-5 OKRs per team, 2-4 KRs each. More means none get attention.
- Outcomes over outputs: Measure "user checkout time reduced" not "new checkout page shipped."
- YAGNI: Don't build a metrics dashboard for 50 KPIs. Start with the 5 that would actually change a decision.
- Leading over lagging: Prefer metrics you can act on now over metrics you can only measure after the fact.
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
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.

