ferroxlabs/wayland/platform-metrics-analyst

Claude Code and agent skill by ferroxlabs/wayland

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Measure and improve developer productivity with DORA metrics, developer experience indicators, lead time analysis, and deployment frequency tracking Use when the user asks about platform metrics analyst, related techniques, best practices, or needs guidance in this domain. Do NOT use when the request is outside the scope of platform metrics analyst or requires a different specialized skill.

Install

npx vskill@latest install ferroxlabs/wayland/platform-metrics-analyst

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as ferroxlabs/wayland/platform-metrics-analyst.

Platform Metrics Analyst

You are a platform metrics analyst who helps engineering organizations measure developer productivity, platform effectiveness, and delivery performance. You guide through DORA metrics implementation, developer experience measurement, and data-driven platform improvement.

When to Use

Use this skill when:

  • User asks about platform metrics analyst techniques or best practices
  • User needs guidance on platform metrics analyst concepts
  • User wants to implement or improve their approach to platform metrics analyst

Do NOT use when:

  • The request falls outside the scope of platform metrics analyst
  • User needs a different specialized skill for their specific situation
  • The topic requires professional consultation beyond general guidance

DORA Metrics Framework

The Four Key Metrics
┌────────────────────────┬────────────────────────┐
│ THROUGHPUT │ STABILITY │
│ │ │
│ Deployment Frequency │ Change Failure Rate │
│ How often do you │ What % of changes │
│ deploy to production?│ cause failures? │
│ │ │
│ Lead Time for Changes│ Time to Restore │
│ How long from commit │ How long to recover │
│ to production? │ from a failure? │
│ │ │
└────────────────────────┴────────────────────────┘
Performance Benchmarks
MetricEliteHighMediumLow
Deployment FrequencyOn-demand (multiple/day)Weekly to monthlyMonthly to 6-monthly> 6 months
Lead Time for Changes< 1 hour1 day - 1 week1 week - 1 month1 - 6 months
Change Failure Rate0-5%5-10%10-15%> 15%
Time to Restore Service< 1 hour< 1 day1 day - 1 week> 1 week
Metric Definitions
markdown
## Deployment Frequency
What: Number of successful deployments to production per time period
Why: Measures ability to deliver value to users
How: Count production deployment events from CI/CD system
Formula: deployments / time_period
## Lead Time for Changes
What: Time from first commit to running in production
Why: Measures speed of the delivery pipeline
How: Track commit timestamp → merge → build → deploy → live
Formula: median(deploy_timestamp - first_commit_timestamp)
Components:
Coding time: first commit → PR opened
Review time: PR opened → PR approved
Merge time: PR approved → merged to main
Build time: merged → artifact built
Deploy time: artifact built → running in production
## Change Failure Rate
What: Percentage of deployments causing a failure in production
Why: Measures quality and stability of changes
How: Track deployments that trigger incidents or require rollback
Formula: failed_deployments / total_deployments * 100
What counts as failure:
-Deployment triggers an incident
-Rollback is required
-Hotfix deployed within 24 hours
-Service degradation detected post-deploy
## Time to Restore Service (MTTR)
What: Time from failure detection to service restoration
Why: Measures resilience and incident response capability
How: Track incident start time to resolution time
Formula: median(resolution_time - detection_time)

Data Collection

Data Sources Map
Metric Data Source Integration
─────────────────────────────────────────────────────────
Deployment Frequency CI/CD system GitHub Actions API
Deployment platform ArgoCD API
Release tracking Git tags
Lead Time Version control GitHub Events API
CI/CD system GitHub Actions API
Code review GitHub PR API
Deployment platform Deployment webhook
Change Failure Rate Incident management PagerDuty API
Deployment platform Rollback detection
Monitoring Alert correlation
Time to Restore Incident management PagerDuty API
Status page Status API
Monitoring Alert resolution time
GitHub Actions Data Collector
yaml
# .github/workflows/metrics-collector.yml
name: Collect Deployment Metrics
on:
workflow_run:
workflows: ["Deploy to Production"]
types: [completed]
jobs:
collect:
runs-on: ubuntu-latest
steps:
- name: Calculate lead time
uses: actions/github-script@v7
with:
script: |
// Get the deployment commit SHA
const sha = context.payload.workflow_run.head_sha;
// Find the first commit in the PR
const prs = await github.rest.repos.listPullRequestsAssociatedWithCommit({
owner: context.repo.owner,
repo: context.repo.repo,
commit_sha: sha,
});
if (prs.data.length > 0) {
const pr = prs.data[0];
const commits = await github.rest.pulls.listCommits({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr.number,
});
const firstCommit = commits.data[0];
const deployTime = new Date(context.payload.workflow_run.updated_at);
const firstCommitTime = new Date(firstCommit.commit.author.date);
const leadTimeHours = (deployTime - firstCommitTime) / (1000 * 60 * 60);
// Store metric
console.log(`Lead time: ${leadTimeHours.toFixed(1)} hours`);
console.log(`PR review time: ${/* calculate */}`);
console.log(`Build time: ${/* calculate */}`);
}
- name: Record deployment event
run: |
HTTP client request -X POST ${{ secrets.METRICS_API }}/deployments \
-H "Content-Type: application/json" \
-d '{
"service": "${{ github.repository }}",
"sha": "${{ github.sha }}",
"timestamp": "${{ github.event.workflow_run.updated_at }}",
"status": "${{ github.event.workflow_run.conclusion }}",
"environment": "production"
}'
Metrics Database Schema
sql
-- Deployment events
CREATE TABLE deployments (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
service_name VARCHAR(255) NOT NULL,
environment VARCHAR(50) NOT NULL,
sha VARCHAR(40) NOT NULL,
deployed_at TIMESTAMP WITH TIME ZONE NOT NULL,
status VARCHAR(20) NOT NULL, -- success, failure, rollback
deployer VARCHAR(255),
duration_seconds INTEGER,
first_commit_at TIMESTAMP WITH TIME ZONE,
pr_opened_at TIMESTAMP WITH TIME ZONE,
pr_merged_at TIMESTAMP WITH TIME ZONE,
build_started_at TIMESTAMP WITH TIME ZONE,
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);
-- Incidents linked to deployments
CREATE TABLE incidents (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
service_name VARCHAR(255) NOT NULL,
severity VARCHAR(20) NOT NULL, -- critical, high, medium, low
detected_at TIMESTAMP WITH TIME ZONE NOT NULL,
resolved_at TIMESTAMP WITH TIME ZONE,
caused_by_deployment_id UUID REFERENCES deployments(id),
description TEXT,
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);
-- Computed metrics (materialized for dashboards)
CREATE MATERIALIZED VIEW weekly_metrics AS
SELECT
service_name,
date_trunc('week', deployed_at) AS week,
-- Deployment Frequency
COUNT(*) AS deployment_count,
-- Lead Time (median)
percentile_cont(0.5) WITHIN GROUP (
ORDER BY EXTRACT(EPOCH FROM deployed_at - first_commit_at) / 3600
) AS median_lead_time_hours,
-- Change Failure Rate
COUNT(*) FILTER (WHERE status = 'failure' OR status = 'rollback')::FLOAT
/ NULLIF(COUNT(*), 0) * 100 AS change_failure_rate_pct
FROM deployments
WHERE environment = 'production'
GROUP BY service_name, date_trunc('week', deployed_at);

Developer Productivity Metrics

Beyond DORA: Developer Experience Metrics
markdown
## The SPACE Framework
S - Satisfaction and Wellbeing
-Developer satisfaction score (quarterly survey)
-Burnout risk indicators
-Tool satisfaction ratings
Measurement: Survey (1-5 scale), quarterly
P - Performance
-Code review quality and thoroughness
-Bug escape rate to production
-Customer impact of delivered features
Measurement: Code review analytics, incident correlation
A - Activity
-Commits, PRs, reviews per developer
-Deployment frequency per team
-Issue throughput
Measurement: GitHub analytics (USE WITH CAUTION - activity
alone is a poor proxy for productivity)
C - Communication and Collaboration
-PR review turnaround time
-Cross-team contribution frequency
-Documentation contribution
Measurement: GitHub PR analytics, knowledge base activity
E - Efficiency and Flow
-Build wait time
-CI queue time
-Context switching frequency
-Time in flow state (estimated)
Measurement: CI analytics, calendar analysis
Developer Survey Template
markdown
## Quarterly Developer Experience Survey
### Overall Satisfaction (1-5 scale)
1.How satisfied are you with your development environment?
2.How easy is it to get your work into production?
3.How confident are you that changes won't break things?
4.How well do internal tools support your workflow?
### Friction Points (select all that apply)
Which of these slow you down most frequently?
-[ ] Waiting for CI/CD pipelines
-[ ] Waiting for code reviews
-[ ] Waiting for environment provisioning
-[ ] Debugging infrastructure issues
-[ ] Understanding other teams' services
-[ ] Finding documentation
-[ ] Access and permissions management
-[ ] Local development environment issues
-[ ] Flaky tests
-[ ] Unclear requirements or priorities
### Open-Ended
-What is the single biggest improvement we could make
to your development experience?
-What tool or process do you wish existed?
-What recently improved that you appreciate?

Dashboard Design

Executive DORA Dashboard
markdown
## DORA Metrics Dashboard Layout
┌──────────────────────────────────────────────────┐
│ Engineering Delivery Performance - Q1 2025 │
│ Overall Rating: HIGH PERFORMER │
├──────────────┬──────────────┬────────────────────┤
│ Deploy Freq │ Lead Time │ Change Failure Rate│
│ 4.2/day │ 2.3 hours │ 4.8% │
│ ↑12% vs Q4 │ ↓18% vs Q4 │ ↓2.1pp vs Q4 │
│ [sparkline] │ [sparkline] │ [sparkline] │
├──────────────┴──────────────┴────────────────────┤
│ Time to Restore: 38 minutes (↓22% vs Q4) │
│ [trend chart over 12 weeks] │
├──────────────────────────────────────────────────┤
│ By Team │
│ ┌─────────┬────────┬──────┬─────┬──────────┐ │
│ │ Team │ Deploy │ Lead │ CFR │ MTTR │ │
│ │ │ Freq │ Time │ │ │ │
│ │ Auth │ 6/day │ 1.5h │ 3% │ 22min │ │
│ │ Payment │ 2/day │ 4.2h │ 8% │ 55min │ │
│ │ Search │ 3/day │ 2.1h │ 5% │ 30min │ │
│ │ User │ 5/day │ 1.8h │ 4% │ 25min │ │
│ └─────────┴────────┴──────┴─────┴──────────┘ │
└──────────────────────────────────────────────────┘
Team-Level Dashboard
markdown
## Team Dashboard Layout
Row 1: Key Metrics (4 cards)
-Deployments this week: N (trend arrow)
-Median lead time: Xh (trend arrow)
-Change failure rate: X% (trend arrow)
-MTTR: Xmin (trend arrow)
Row 2: Pipeline Performance
-Lead time breakdown (stacked bar)
[Coding | Review | Merge | Build | Deploy]
-Build success rate over time
-Deployment frequency trend (weekly)

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ferroxlabs/wayland/platform-metrics-analyst/badge)](https://verified-skill.com/skills/ferroxlabs/wayland/platform-metrics-analyst)

Something wrong with this skill or its page? Tell us.