Scores sprint health, forecasts velocity with a seeded Monte Carlo, checks whether retro action items land, and turns roster data into sprint capacity. Every finding quotes your data and gives a fix. Use when facilitating sprint planning, diagnosing a velocity drop, auditing retro follow-through, or sizing a commitment against PTO and allocation.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Scrum Master?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/borghei-scrum-master)
---
name: scrum-master
description: >
Scores sprint health, forecasts velocity with a seeded Monte Carlo, checks
whether retro action items land, and turns roster data into sprint capacity.
Every finding quotes your data and gives a fix. Use when facilitating sprint
planning, diagnosing a velocity drop, auditing retro follow-through, or
sizing a commitment against PTO and allocation.
license: MIT + Commons Clause
metadata:
version: 2.0.1
author: borghei
category: project-management
domain: agile-development
updated: 2026-11-08
tags: [scrum, agile, sprint, retrospective, impediments]
python-tools: velocity_analyzer.py, sprint_health_scorer.py, retrospective_analyzer.py, sprint_capacity_calculator.py
tech-stack: scrum, agile-coaching, team-dynamics, data-analysis
---
# Scrum Master Expert
The agent acts as a data-driven Scrum Master combining sprint analytics, behavioral science, and continuous improvement methodologies. It analyzes velocity trends, scores sprint health across 6 dimensions, identifies retrospective patterns, and recommends stage-specific coaching interventions.
## Core Capabilities
- **Sprint health scoring** — 6 weighted dimensions (commitment reliability, scope stability, blocker resolution, ceremony engagement, completion distribution, velocity predictability) → 0-100 score (heuristic weights; dimensions without data are left out and reported).
- **Velocity forecasting** — seeded Monte Carlo with trend, volatility and outlier flags; 50/70/85/95% means the total you reach or beat in that share of runs.
- **Retrospective analysis** — action-item completion, overdue and ownerless items, and problems that recur across retros, quoted from your retro lines.
- **Capacity planning** — per-member availability, ceremony overhead, and focus factor → net hours, and story points when you supply the hours your historical velocity came from.
- **Team coaching** — maps behavior to Tuckman stages and Edmondson psychological-safety signals, recommending stage-specific interventions.
## When to Use
- Facilitating sprint planning and setting a sustainable commitment level
- Diagnosing velocity drops, high volatility, or wide forecast intervals
- Running retrospectives and tracking whether action items actually land
- Calculating team capacity with PTO, allocation, and ceremony overhead
- Coaching a team through Tuckman development stages
## Clarify First
Before running the analysis, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- **Which analysis:** velocity forecast, sprint health score, capacity plan, or retro analysis (each selects a different tool and output).
- **Historical sprint data:** how many sprints of data exist (Monte Carlo forecasting needs 3+ sprints, 6+ recommended; less means high-uncertainty output).
- **Team capacity context:** size, PTO/allocation, ceremony overhead (drives the realistic-vs-optimistic commitment numbers).
- **Team development stage:** Tuckman stage / known dynamics (a facilitator judgement; the tools do not score it).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
## Quick Start
Run from the skill folder (`project-management/scrum-master/`). Each tool prints text, or JSON with `--format json`.
| Tool | Purpose | Command |
|------|---------|---------|
| `velocity_analyzer.py` | Velocity trends, Monte Carlo forecast, next-sprint commitment | `python3 scripts/velocity_analyzer.py assets/flawed_sprint_data.json` |
| `sprint_health_scorer.py` | 6-dimension health score | `python3 scripts/sprint_health_scorer.py assets/flawed_sprint_data.json` |
| `retrospective_analyzer.py` | Action-item follow-through, recurring problems | `python3 scripts/retrospective_analyzer.py assets/flawed_sprint_data.json` |
| `sprint_capacity_calculator.py` | Capacity with PTO, allocation, ceremonies | `python3 scripts/sprint_capacity_calculator.py assets/flawed_team_data.json` |
`scripts/sprint_io.py` is a shared helper, not a command. The first three read sprint history (`sprints[]` with `sprint_number`, `planned_points`, `completed_points` required; `retrospectives[]` for the retro tool). The capacity calculator reads a roster (`sprint_length_days`, `team_members[]` with `available_days`, `hours_per_day`, `allocation_percent`, `planned_pto_days`, all required). Missing optional data is reported as not scored, never filled with a default. `--demo` on the capacity calculator runs a built-in roster and labels the output DEMO DATA. The full workflow and input schema are in `references/workflow-and-operations.md`.
Real output (`python3 scripts/sprint_health_scorer.py assets/flawed_sprint_data.json`, trimmed):
```
Health Score: 39.6/100 (Poor) over 100% of the weight that had data
Scope Stability (weight 20%): 28/100 Average scope change: 42.1%
Blocker Resolution (weight 15%): 32/100 Average resolution: 9.6 days over 9 of 9 blockers with resolution_days
FINDINGS
1. [scope_stability] 28/100 - scope change (added+removed)/planned: S1 27%, S2 40%, S3 50%, S4 33%, S5 59%, S6 43%
Threshold: above 15% average scope change is not good (heuristic)
Fix: Freeze the sprint backlog after planning: new work goes to the next sprint unless the PO swaps out an equal number of points.
FIX 6 issues
```
## Exit Codes
| Code | Meaning |
|------|---------|
| `0` | Report produced, no findings (`PASS`) |
| `1` | Findings to act on (`FIX n issues`); each quotes the input, the threshold and a fix |
| `2` | Unusable input: missing or unreadable file, empty file, invalid JSON, wrong shape, no usable sprints/retros/members, or a required field missing. One line on stderr, never a traceback |
Text output ends with the verdict line and at most three ranked next actions. The monte-carlo seed (`--seed`, default 42) makes forecasts repeatable. Thresholds are internal heuristics and say so in each finding.
## Files
- `assets/sprint_report_template.md` -- Sprint report with health grade, velocity trends, quality metrics
- `assets/team_health_check_template.md` -- Spotify Squad Health Check adaptation (9 dimensions)
- `assets/sound_*`, `assets/flawed_*`, `assets/malformed_*` -- sprint-history and roster samples that exit 0, 1 and 2; `assets/contract.json` lists the runs
- `assets/sample_sprint_data.json`, `assets/sample_team_data.json` -- mixed realistic datasets
- `assets/expected_output.json`, `assets/expected_velocity_output.json` -- real JSON output for the sample files
- `assets/user_story_template.md` -- Classic and Job Story formats with INVEST criteria
- `assets/sprint_plan_template.md` -- Sprint plan with capacity, commitments, risks
## Anti-Patterns
### Retro action items that never land
**Mistake:** Each retro produces 4-6 action items, and by the next retro most are undone while the team re-discusses the same problems.
**Why it happens:** Adding an action item feels like progress, and nobody checks the old ones before writing new ones.
**Instead:** Track completion with `retrospective_analyzer.py` and open each retro with last sprint's items. If the same problem shows up in more than 2 consecutive retros, root-cause it instead of adding another item.
### Definition of Done drift
**Mistake:** The DoD says "tested + reviewed + deployed", but many tickets close as Done with no tests or with deploys still pending.
**Why it happens:** Late in the sprint, closing tickets looks better than carrying them over.
**Instead:** Each sprint, sample 10 closed tickets and check each against the DoD. If more than 20% fall short, enforce the DoD through automation. Otherwise reported velocity overstates what was really done.
### A sprint goal that names no outcome
**Mistake:** The sprint goal is "complete the sprint backlog", or there is none.
**Why it happens:** Planning centers on choosing tickets, so the goal gets written last as a summary of the list.
**Instead:** Write the goal as a customer-visible outcome, and rewrite any goal that mentions a ticket count. A real goal lets the team trade scope mid-sprint and gives the sprint review something to inspect.
Seven more, each with a bad and a good example: `references/red-flags.md`.
## Reference Documentation
Load the reference that matches the task — keep this file lean and pull detail on demand:
- **[references/workflow-and-operations.md](references/workflow-and-operations.md)** — the 6-step workflow (assess → health → forecast → capacity → retro → coach) with commands, validation checkpoints, the 6-dimension and Tuckman tables, a worked forecast example, and the JSON input schema. Read when running an end-to-end engagement.
- **[references/metrics-troubleshooting-and-tools.md](references/metrics-troubleshooting-and-tools.md)** — key metrics & targets, troubleshooting table, success criteria, and the full flag reference for all four tools. Read when setting targets, diagnosing problems, or scripting the tools.
- **[references/velocity-forecasting-guide.md](references/velocity-forecasting-guide.md)** — Monte Carlo implementation, confidence intervals, seasonality adjustment. Read when interpreting or tuning forecasts.
- **[references/team-dynamics-framework.md](references/team-dynamics-framework.md)** — Tuckman's stages, psychological safety building, conflict resolution. Read when coaching team development.
- **[references/sprint-planning-guide.md](references/sprint-planning-guide.md)** — pre-planning checklist, SMART goals, capacity methodology. Read when facilitating planning.
- **[references/retro-formats.md](references/retro-formats.md)** — retrospective formats and facilitation patterns. Read when designing a retro.
- **[references/red-flags.md](references/red-flags.md)** — anti-patterns and warning signs in Scrum practice. Read when something on the team feels off.
## AI-Assisted Delivery
When the team uses AI coding assistants or agents, coach for outcomes and quality, not raw output (as of September 2026):
- **Scrum Guide Expansion Pack** (first released June 2025 as v2025.6; current v2026.1, [scrumexpansion.org](https://scrumexpansion.org/scrum-guide-expanded/)) is a companion to the 2020 Scrum Guide, not a replacement. It states that a Product Developer "may be human or automated", that at least one Product Developer should be human, and that AI "does not replace human accountability". Its [AI and Scrum](https://scrumexpansion.org/ai-and-scrum/) guidance adds that AI-assisted work must meet the same quality bar as any other work and that AI-generated work should be made transparent.
- **DORA 2025** finds AI adoption now associated with higher delivery throughput but still with higher instability, and names working in small batches and strong version control among the seven capabilities that amplify AI's benefit ([dora.dev](https://dora.dev/ai/capabilities-model/report/)).
Practical guidance for the Scrum Master:
1. **Name the human owner.** Every Product Backlog item worked by an AI agent has a named human who is accountable for it meeting the Definition of Done.
2. **Make AI use transparent.** Flag AI-generated items or PRs on the board so the team can inspect review load and rework in the Sprint Review and Retrospective.
3. **Watch review load and rework.** Track review wait time, PR size, reopened items, and bug-fix work alongside velocity. A velocity jump with rising rework is not improvement.
4. **Keep items small.** Hold story-splitting and WIP limits even when generation is fast; small batches are what keeps AI speed from becoming instability.
5. **Don't re-baseline velocity blindly.** Forecast from post-adoption sprints only once 3+ sprints of stable data exist, and pair it with flow metrics (`execution/cycle-time-analyzer/`).
## Scope & Limitations
**In Scope:**
- Sprint-level data analysis (velocity, health, capacity, retrospectives)
- Statistical forecasting using Monte Carlo simulation on historical velocity
- Team dynamics coaching based on Tuckman model and Edmondson psychological safety
- Ceremony facilitation guidance and retrospective pattern analysis
**Out of Scope:**
- Portfolio-level project management (see `senior-pm/` skill)
- Product backlog prioritization and roadmap decisions (see `execution/prioritization-frameworks/`)
- Individual performance evaluation -- this skill measures team-level metrics only
- Real-time Jira/Confluence integration (see `jira-expert/` and `confluence-expert/` skills)
- SAFe-specific PI planning or cross-team dependency management (see `program-manager/`)
**Important Caveats:**
- The Scrum Guide 2020 removed "velocity" as a required artifact; this skill treats velocity as a diagnostic tool, not a performance measure. Use flow metrics (cycle time, throughput, WIP) alongside velocity.
- Monte Carlo forecasts require minimum 3 sprints of data (6+ recommended); forecasts with fewer data points carry high uncertainty.
- Health scores are heuristics, not absolute measures; weights and thresholds are internal. Calibrate them to your team context.
## Integration Points
| Integration | Direction | Description |
|------------|-----------|-------------|
| `senior-pm/` | Feeds into | Sprint velocity and health data informs portfolio-level health dashboards and executive reporting |
| `sprint-retrospective/` | Complements | Git-based velocity analysis complements this skill's JSON-based sprint data analysis |
| `execution/brainstorm-okrs/` | Feeds into | Sprint capacity data helps set realistic OKR targets for the quarter |
| `execution/prioritization-frameworks/` | Receives from | Prioritized backlog items feed into sprint planning commitment decisions |
| `discovery/pre-mortem/` | Receives from | Launch-blocking tigers may surface as sprint blockers requiring SM intervention |
| Jira via Atlassian MCP | Bidirectional | Pull sprint data for analysis; push health reports to Confluence dashboards |
| CI/CD Pipelines | Receives from | Deployment frequency and lead time data supplement velocity metrics |