/agile-delivery:engineering-metricsfrom agile-delivery
Measures engineering team performance using DORA metrics, SPACE framework, and cycle time analysis. Helps set up productivity tracking and present data to leadership.
Ships in agile-delivery. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A practitioner framework for measuring software delivery performance, team health, and engineering productivity. Grounded in the DORA research program (Accelerate, Forsgren, Humble, Kim, 2018), the SPACE framework (Forsgren, Storey et al., 2021), and empirical findings from 39,000+ DevOps professionals.
Core principle: never use a single metric. Combine at least three dimensions, and always balance quantitative system telemetry with qualitative surveys.
Not all metrics are equal. Use this hierarchy to guide which metrics to invest in first:
The four key DevOps metrics from the DORA research program measure two dimensions of software delivery: throughput (Deployment Frequency, Lead Time) and stability (Change Failure Rate, Recovery Time). Elite teams achieve high throughput and high stability simultaneously — they are not trade-offs.
| Metric | Elite | High | Medium | Low |
|---|---|---|---|---|
| Deployment Frequency | Multiple per day | Daily to weekly | Weekly to monthly | Monthly to 6 months |
| Lead Time for Changes | < 1 day | 1 day – 1 week | 1 week – 1 month | 1–6 months |
| Change Failure Rate | 0–5% | ~10% | ~15% | 16–30%+ |
| Failed Deployment Recovery Time (FDRT) | < 1 hour | < 1 day | < 1 day | 1 week – 1 month |
Important nuances:
Deployment Frequency (DF) How often code is successfully deployed to production (or released to end users). This is a proxy for batch size — teams that deploy multiple times per day are shipping small, low-risk changes continuously.
Lead Time for Changes (LT) Time from a code commit being made to that code being successfully running in production. Measures the speed of your delivery pipeline end-to-end.
Change Failure Rate (CFR) Percentage of deployments that result in degraded service or require remediation (rollback, hotfix, forward-fix). Lower is better; elite teams have < 5% of deployments causing incidents.
(failed deployments / total deployments) × 100Failed Deployment Recovery Time (FDRT) How quickly a team can restore service when a deployment causes an incident. Measures resilience and operational capability.
Deployment Frequency:
- Query: release pipeline runs to Production environment
- Automate: Azure DevOps Analytics → custom widget or Power BI report
- Tag each release with deployment date
Lead Time:
- Requires commit-to-production timestamp linking
- Use AB#<WorkItemID> references in commits to link work items to PRs to builds to releases
- Azure DevOps automatically creates these links when conventions are followed
- Report: average time from first commit in work item to production deployment
Change Failure Rate:
- Tag failed deployments in release pipeline with a "FAILED" custom field
- Calculate: COUNT(failed) / COUNT(total) per time window
- Include both rollbacks and hotfixes in "failed" count
FDRT:
- Requires integration with incident tracking (Azure DevOps, ServiceNow, PagerDuty)
- Measure: incident.created_at to incident.resolved_at for incidents tagged deployment-related
- Filter to P1/P2 incidents only for meaningful data
A critical DORA finding: External approval processes (CABs) are negatively correlated with all four DORA metrics and have zero correlation with change failure rate. Teams with formal external CAB processes were 2.6× more likely to be low performers. Peer review during development + automated deployment gates outperforms human approval gates on both velocity and stability.
The SPACE framework (Forsgren, Storey et al., 2021, ACM Queue) provides the holistic complement to DORA — measuring developer productivity across five dimensions to prevent gaming any single metric.
Rule: Never use a single SPACE dimension alone. Combine at least three.
S — Satisfaction and Well-being How developers feel about their work, tools, and team. Well-being directly predicts long-term productivity and retention.
What to measure:
Tools: Athenian, LinearB, Faros AI developer surveys; custom survey in Microsoft Forms or Culture Amp.
P — Performance Whether the work is producing the intended outcomes. Distinct from activity — a developer can be highly active while producing no valuable outcomes.
What to measure:
A — Activity Counts of specific actions in the development process. Use cautiously — activity metrics alone mislead and are trivially gamed.
What to measure (with extreme caution):
Never use activity metrics as individual performance targets. The moment you set a commit count target, developers start making tiny commits. Use only as directional signals in aggregate.
C — Communication and Collaboration How effectively developers work together and share information.
What to measure:
E — Efficiency and Flow How smoothly work moves through the system with minimal interruptions.
What to measure:
| Dimension | Metric | Current | Target | Trend |
|---|---|---|---|---|
| Satisfaction | Developer satisfaction score | 3.8/5 | 4.2/5 | ↑ |
| Satisfaction | Voluntary turnover (annualized) | 18% | <12% | → |
| Performance | Deployment frequency | 2/week | Daily | ↑ |
| Performance | Change failure rate | 12% | <5% | ↑ |
| Performance | Defect escape rate | 8% | <5% | → |
| Activity | PR review participation rate | 68% | >80% | ↑ |
| Communication | Avg PR review turnaround | 18 hrs | <8 hrs | ↑ |
| Communication | Onboarding time to first production deploy | 12 days | <5 days | → |
| Efficiency | Average cycle time | 6.2 days | <3 days | ↑ |
| Efficiency | WIP per developer | 3.1 | <2 | → |
Cycle time (active work start to completion) is the most actionable flow metric. Break it into phases to identify bottlenecks.
[Story pulled into In Progress]
↓
CODING TIME (developer working)
↓
PR OPEN (code complete, PR created)
↓
REVIEW WAIT (waiting for first reviewer to engage)
↓
REVIEW TIME (active review, back-and-forth)
↓
MERGE WAIT (approved, waiting to merge / merge queue)
↓
CI PIPELINE (build, test, scan — automated)
↓
DEPLOY WAIT (waiting for deployment window or approval)
↓
PRODUCTION (deployed)
| Bottleneck | Symptom | Fix |
|---|---|---|
| Review wait too long | PRs sit open > 4 hours before first review | Set team review SLA; use PR review rotation |
| PR size too large | Review time > 1 day; high change failure rate | Cap PRs at 400 lines; break stories into smaller items |
| Merge queue backup | Many approved PRs waiting to merge | Enable merge queue; move to trunk-based development |
| CI pipeline slow | Pipeline > 30 minutes; developers context-switch while waiting | Parallelize tests; cache dependencies; run fast tests first |
| Deploy wait | Code merged but not deployed for days | Remove manual deployment gates; automate deployment |
| Coding time too variable | Some stories take 1 day, others 2 weeks | Stories not broken down to 1–3 day items |
A team with fast cycle time but slow lead time has a queue problem — work waits too long before anyone starts it. Track both; use cycle time for team improvement and lead time for stakeholder communication.
OKRs drive transformation and align engineering work to business outcomes. KPIs monitor ongoing operational health. Use both — OKRs for improvement initiatives, KPIs for steady-state monitoring.
Objective: [Inspiring, qualitative statement of direction]
Sprint Goals should derive from current-quarter OKRs. If a Sprint Goal cannot be traced to an OKR, question why the work is being done.
Objective 1: Make our delivery pipeline a competitive advantage
Objective 2: Build the most reliable internal developer platform in the organization
Objective 3: Make engineers love their developer experience
For each KR, define 1–3 initiatives (the "how"):
KR: Lead time < 4 hours
Initiative 1: Parallelize test execution (pytest-xdist + matrix strategy)
Initiative 2: Eliminate manual deployment approval gate to staging
Initiative 3: Move to trunk-based development; eliminate feature branch delay
Track the ratio of value-creating work to toil as a sprint-level metric.
Feature Work % = (Sprint capacity on new features) / (Total sprint capacity) × 100
Toil % = (Sprint capacity on unplanned work, incidents, support) / (Total) × 100
Targets:
If toil consistently exceeds 20%, the system has a stability or process problem that must be addressed before velocity can improve. Toil above 30% indicates a systemic issue.
Tag all work items as Feature, Improvement, Toil, or Security in your project management tool. Report the ratio at each Sprint Review. Trend lines over quarters reveal whether system investment is paying off.
Don't try to improve all four metrics simultaneously. Identify the single metric that is most limiting throughput or stability, and focus one quarter's improvement OKR on it.
Typical progression:
Engineering Performance Dashboard — [Quarter]
THROUGHPUT
Deployment Frequency: 2.3/day ↑ [Elite ✓]
Lead Time for Changes: 6.2 hours ↑ [Elite ✓]
STABILITY
Change Failure Rate: 8.2% ↑ [High — target <5%]
Recovery Time (FDRT): 47 mins → [Elite ✓]
DEVELOPER EXPERIENCE
Satisfaction Score: 3.8/5 ↑ [Yellow — target 4.2]
Cycle Time (avg): 3.1 days ↑ [Improving]
THIS QUARTER'S FOCUS
OKR: Reduce Change Failure Rate from 8.2% to < 5%
Initiative: Expand integration test coverage to 80% of API endpoints
Status: On track (currently at 67%, up from 52%)
When leadership asks about individual productivity, redirect to system performance:
What goes wrong: Teams inflate estimates, cherry-pick easy work, sacrifice quality for point counts. Comparing points across teams is meaningless — each team's estimates reflect unique domain complexity.
Correct use: Story points are team-internal planning tools for forecasting sprint capacity. Never a target, never compared across teams.
What goes wrong: Incentivizes verbose code; penalizes refactoring; rewards copy-paste over abstraction.
Never use. Not even directionally useful.
What goes wrong: 100% utilization in a variable system causes cycle time to explode exponentially (Little's Law). Teams at 100% utilization have no capacity to handle surprises, help teammates, or improve processes.
Target 80–85% utilization to maintain flow efficiency. 15–20% slack is productive capacity, not waste.
What goes wrong: 100% coverage targets are gamed — trivial tests that don't validate behavior get written to hit the number. Teams pass coverage while having brittle, meaningless test suites.
Correct use: Coverage is a floor (minimum acceptable level), not a goal. Set a minimum threshold (e.g., 80%), track coverage deltas on PRs to prevent regression, and focus test investment on critical paths (authentication, data access, payment flows) rather than overall percentage.
What goes wrong: Goodhart's Law applies mercilessly. When velocity becomes a target, teams inflate estimates, cherry-pick easy work, and sacrifice quality for throughput. Comparing velocity across teams is meaningless.
Correct use: Velocity is a team-internal planning tool for sprint forecasting only. If velocity is declining, investigate why — but do not treat it as a performance problem in isolation.
What goes wrong: Any single metric can be optimized at the expense of everything else. Maximizing deployment frequency without maintaining change failure rate produces frequent broken deployments.
Correct use: Always use the DORA four together as a balanced set. Add SPACE dimensions to prevent gaming the DORA metrics.
Metrics should reveal system problems, not surface individual failures. The system produces the outcomes; individuals operate within the system. This mirrors Amy Edmondson's psychological safety research and Google SRE's blameless postmortem model.
When a metric deteriorates:
Example: Change Failure Rate increases over 3 sprints.
DORA added Reliability as a fifth metric (2021). It measures whether teams are meeting their reliability targets (SLOs/SLAs).
What to measure:
High performers on reliability are 3× more likely to have adopted loosely coupled architectures (DORA finding). Reliability is an architectural outcome as much as an operational one.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub theviziusgroup/vibe-engineering-skills --plugin agile-delivery3 skills in this plugin
/delivery-velocityUse when trying to ship software faster, improve team throughput, reduce cycle time, plan MVPs, prioritize features using WSJF, or implement fixed-time/variable-scope development. Triggers on delivery speed, velocity, throughput, MVP scoping, or any question about shipping faster. Also triggers on mentions of cycle time, batch size, WIP limits, Little's Law, CHAOS Report, decision latency, or contract structure for software projects./security-first-agileUse when planning sprints, running retrospectives, setting up security champions programs, conducting threat modeling in Agile, building Scrum processes for security-focused teams, or working with OWASP SAMM, STRIDE, DORA metrics, or misuse stories. Essential for any security-meets-Agile workflow. Triggers on sprint planning, retrospectives, Definition of Done, security backlog, threat modeling, security champions, blameless postmortems, psychological safety, or any question about Scrum process for engineering teams.2 plugins ship this exact skill · first indexed Aug 12, 2026