sprint-metrics

Measures ICEA compliance, PR rejection rate, and rework hours from Azure DevOps after a sprint.

1|Updated Jun 27, 2026
One-click install
npx skills add https://github.com/vickysrawat/AI-Assisted-development --skill sprint-metrics-vickysrawat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sprint-metrics
Source: https://github.com/vickysrawat/AI-Assisted-development/tree/main/skills/sprint-metrics
Command: npx skills add https://github.com/vickysrawat/AI-Assisted-development --skill sprint-metrics-vickysrawat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Teams running the ICEA workflow lack an objective way to know whether the process is actually improving code quality and reducing rework. This Skill queries Azure DevOps directly after each sprint and produces a KPI report covering both the benefit side (ICEA compliance rate, PR rejection rate, rework hours) and the cost side (time-in-gate, critic retries, gate overrides, dismissal churn, manifest predictability), so retrospectives run on data instead of impressions. ## Core Features & Use Cases - Three benefit KPIs from ADO REST API: ICEA compliance rate (tickets reaching Active with Intent and Acceptance sections), PR rejection rate (abandoned vs completed PRs), and rework hours (Completed Work on sprint-created Bugs, with a 2h-per-bug fallback estimate). - Five cost-side metrics from local artifacts: time-in-gate from git history, critic retries from session logs, gate overrides from commit messages, dismissal churn from ledgers, and manifest predictability from recorded accuracy lines. - Governance reconciliation: pulls ADO-verified PR approver identities into the audit trail and flags ICEAs marked Approved whose PR has no approving lead vote. - Use Case: After Sprint 5 closes, a delivery lead runs the skill with the sprint name and capacity, receives a threshold-rated report (✅/⚠️/❌) with detail lists of non-compliant tickets, abandoned PRs, and bugs, plus a net-value trend versus the previous sprint. ## Quick Start Ask the assistant to run sprint metrics for Sprint 5 with a capacity of 320 hours to generate the KPI report from Azure DevOps.

Frequently Asked Questions about sprint-metrics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure sprint KPIs from Azure DevOps?

Run the skill with a sprint name or date range, for example sprint=Sprint 5 or from=2026-05-01 to=2026-05-31. It queries the ADO REST API for work items, pull requests, and bugs, then outputs ICEA compliance rate, PR rejection rate, and rework hours with threshold ratings.

What metrics does the sprint-metrics skill report?

It reports three benefit metrics (ICEA compliance rate, PR rejection rate, rework hours) and five cost-side metrics (time-in-gate, critic retries, gate overrides, dismissal churn, manifest predictability). Each metric shows raw counts alongside percentages with ✅/⚠️/❌ thresholds.

What Azure DevOps PAT scopes are required for sprint metrics?

The AZURE_DEVOPS_PAT environment variable needs Work Items Read and Code Read scopes. If the variable is not set, the skill prompts for the token at runtime and never stores it.

Can I run sprint metrics without a sprint name in Azure DevOps?

Yes, pass an explicit date range with from=YYYY-MM-DD and to=YYYY-MM-DD instead of a sprint name. If neither is provided, the skill asks which input form to use, and an optional capacity argument enables the rework percentage calculation.

What happens if time tracking is not used in Azure DevOps?

If all Completed Work fields on sprint bugs are empty, the skill falls back to an estimate of 2 hours per bug and notes this in the report. If a query fails entirely, that metric is marked Unavailable rather than fabricated.

Why does the sprint metrics report show a metric as unavailable?

A metric shows as Unavailable when its ADO API query returns an error, in which case the skill displays the HTTP status and message and continues with the remaining metrics. It never fabricates values to fill gaps.