No slash command · from edge-scrum
Analyzes sprint delivery, churn, and goal attainment for retrospectives using Jira changelog data. Summarizes committed vs delivered story points, identifies spill, and tracks mid-sprint issue additions/removals.
Ships in edge-scrum. 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.
Summarize sprint delivery, track churn, and assess sprint goal achievement for retrospective input.
Spawned by the sprint-health skill during Phase 3 when mode = retro.
jira_batch_get_changelogs)Read toolWrite tool| Placeholder | Description |
|---|---|
{WORKDIR} | Work directory path |
{TODAY} | Today's date (YYYY-MM-DD) |
{SPRINT_START} | Sprint start date (YYYY-MM-DD) — baseline for churn detection |
{SPRINT_ID} | Jira integer sprint ID — available for reference; churn matching uses target_sprint.name from sprints.json |
{WORKDIR}/sprints.json — sprint metadata (target_sprint){WORKDIR}/sprint_issues.json — all sprint issues with aggregatesplugins/edge-scrum/references/laws/07-workflow-states.md — done/closed state definitionsplugins/edge-scrum/references/laws/09-sprint-policies.md — capacity rules (authoritative)Read all input files. Extract:
sprints.json → target_sprint: name, goal, start, endsprint_issues.json: total_sp, total_done_sp, issues array (key, summary, status, sp, assignee)07-workflow-states.md:
OCPBUGS-: done if status in {"Verified", "Closed"}status = "Closed"committed_sp = total_spdelivered_sp = sum of SP for issues matching their type's done statedelivery_rate = round(delivered_sp / committed_sp × 100, 1) — use 0 if committed_sp = 0spill_list: issues NOT matching their type's done state — record: key, summary, assignee, SPtotal_spill_sp: sum of SP for all issues in spill_listCall jira_batch_get_changelogs for all issue keys in sprint_issues.json.
Before scanning changelogs, read {WORKDIR}/sprints.json and extract target_sprint.name (e.g., "OCPEDGE Sprint 285"). Use this sprint name string for matching — Jira changelog Sprint field values contain the sprint name, not the integer ID.
For each changelog entry across all issues:
Find field-level changes where field = "Sprint" and created (change timestamp) is AFTER {SPRINT_START}
Added mid-sprint: the toString value contains target_sprint.name and fromString does not — issue was moved into this sprint after start
Removed mid-sprint: the fromString value contains target_sprint.name and toString does not — issue was removed from this sprint after start
An issue that was both added and removed will appear in both lists — its SP will cancel out in net_churn_sp, which is the correct behavior. Do not deduplicate across the two lists.
For each added/removed issue, record: key, summary, SP, assignee, date of change (ISO date from changelog created field).
Compute:
added_sp = sum of sp for added issuesremoved_sp = sum of sp for removed issuesnet_churn_sp = added_sp - removed_spReport added, removed, and net churn as information for the retro — mid-sprint scope movement the team may want to discuss. There is no churn rule or violation; do not flag net churn as a policy breach.
If jira_batch_get_changelogs is unavailable or returns no changelog data, still write the full CHURN section skeleton with the ===SECTION:CHURN=== sentinel, a top-line note "Churn data unavailable", and both Added and Removed subsections showing "None".
If target_sprint.goal is null: write "No sprint goal set; goal analysis skipped."
Otherwise: extract key nouns and verbs from the goal text. Match issue summaries that contain those terms (conservative matching — only flag an issue as goal-related if there is clear lexical overlap). List the issue keys you consider goal-related before assessing the result. If no issues match the goal text, note "No traceable issues found for this goal." Assess:
Note contributing factors (e.g., churn? blockers? scope change?).
Write structured markdown to {WORKDIR}/analysis.md using this exact structure. Include all sentinel lines exactly as shown.
===SECTION:DELIVERY===
## Delivery Summary
| Metric | Value |
|--------|-------|
| Committed SP | <committed_sp> |
| Delivered SP | <delivered_sp> |
| Delivery Rate | <delivery_rate>% |
**Spill (<count> issues, <total_spill_sp> SP):**
| Key | Summary | Assignee | SP |
|-----|---------|----------|-----|
| <key> | <summary> | <assignee> | <sp> |
<"None" if no spill.>
===SECTION:CHURN===
## Sprint Churn
**Added mid-sprint** (<count> issues, <added_sp> SP):
| Key | Summary | Assignee | SP | Date Added |
|-----|---------|----------|-----|-----------|
| <key> | <summary> | <assignee> | <sp> | <date> |
<"None" if no additions.>
**Removed mid-sprint** (<count> issues, <removed_sp> SP):
| Key | Summary | Assignee | SP | Date Removed |
|-----|---------|----------|-----|-------------|
| <key> | <summary> | <assignee> | <sp> | <date> |
<"None" if no removals.>
**Net churn**: +<added_sp> / -<removed_sp> = <net_churn_sp> SP
<One line noting net churn as information for the retro — e.g. "Net +<net_churn_sp> SP added mid-sprint; worth a retro discussion." when non-zero, or "No net churn." when zero. Not a violation.>
===SECTION:GOAL_ANALYSIS===
## Sprint Goal Analysis
**Goal**: <goal text or "Not set">
**Result**: Fully Met / Partially Met / Not Met / N/A
<2–4 sentence assessment. Name specific done/spilled issues that relate to the goal. Note contributing factors.>
===SECTION:ACTIONS===
## Retrospective Input
<Numbered list of retro items. What went well (delivery, goal achievement) and what to improve
(net churn, low delivery rate). Name specific issues or patterns, not generic advice.>
After writing {WORKDIR}/analysis.md, read it back and confirm:
===SECTION:DELIVERY===, ===SECTION:CHURN===, ===SECTION:GOAL_ANALYSIS===, ===SECTION:ACTIONS=== (note: HEADER section is NOT written by this agent — SKILL.md generates the header)Do NOT commit.
Report: DONE, DONE_WITH_CONCERNS, NEEDS_CONTEXT, or BLOCKED.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub openshift-eng/edge-tooling --plugin edge-scrum9 skills in this plugin
/create-epicedge-scrum:create-epicUse when creating a new Epic in Jira for the OpenShift Edge team — enforces team conventions for required fields, description template, sizing, and parent linkage from Edge Scrum Laws/release-healthUse when analyzing the health of an OCP release cycle — evaluates Features, Initiatives, Epics, and Tasks from Jira to assess progress, identify risks, surface refinement gaps, and recommend actions to keep the team on track toward branch cut/release-health-analysisAnalyze release health data and produce assessment/release-planningUse when assessing whether the team can deliver planned scope within remaining time — evaluates capacity, timeline, assignment, bug load, sizing, and progress risks per person and per feature to surface planning risks before they become execution problems/release-planning-analysisWrite the actionable recommendations and narrative for a release planning risk assessment — reads pre-computed check results and produces a short, decision-oriented recommendations file/sprint-healthUse when analyzing sprint health — capacity at the start, risks mid-sprint, or retrospective input at the end