Engineering productivity measurement framework

From samarv/Shanon · View interactive version

Engineering productivity measurement framework is an AI agent skill from the GitHub repository samarv/Shanon. Define, measure, and improve engineering team performance using the DORA and SPACE frameworks. Use this when a team needs to move faster without sacrificing quality, when establishing baseline metrics for developer experience, or when diagnosing bottlenecks in the software delivery lifecycle.

How to use this skill

Skill file

Engineering Productivity Measurement Framework

This framework combines the DORA (Software Delivery Performance) and SPACE (Developer Productivity) models to create a holistic view of engineering health. It moves beyond "lines of code" to measure how effectively a team delivers value while maintaining high quality and developer wellbeing.

1. Define the Problem/Goal

Before selecting metrics, be "ruthlessly crisp" on the objective. Vague goals like "Improve Developer Experience" fail because they lack focus.

2. Implement DORA Metrics (Software Delivery)

Measure the "Outer Loop" of delivery. Speed and stability move in tandem; moving faster with smaller batches actually increases quality by reducing the "blast radius" of errors.

The Four Keys

  1. Deployment Frequency (Speed): How often do you successfully deploy to production?
  2. Lead Time for Changes (Speed): Time from code committed to code running in production.
  3. Mean Time to Restore (Stability): How long it takes to recover from a failure in production.
  4. Change Fail Rate (Stability): Percentage of changes that result in degraded service or require remediation.

Elite Performance Benchmarks

3. Apply the SPACE Framework (Productivity)

Use SPACE to capture the creative, human side of engineering. Rule: Select metrics from at least three dimensions to ensure balance and prevent gaming of the system.

4. Validate with the "Four-Box" Framework

Use this to ensure your data points (proxies) actually represent your intended goals.

  1. Words (Box 1 & 2): Define the relationship in plain English (e.g., "High Developer Satisfaction [Box 1] leads to Higher Retention [Box 2]").
  2. Data (Box 3 & 4): Map the metrics to the words (e.g., "Survey CSAT Score [Box 3] correlates with Employee Turnover Rate [Box 4]").
  3. Check: If the data doesn't correlate, the proxy (the metric) is either bad or the hypothesized relationship doesn't exist.

5. Combine Qualitative and Quantitative Data

Never rely solely on system data (telemetry).

Examples

Example 1: Diagnosing a Sluggish Team

Example 2: Justifying DevX Investment

Common Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.