--- name: check-board description: > Evaluate the daily health of a Jira Kanban board: flow, people load, and bugs at risk. Use whenever the user wants a daily-standup-ready view of a board โ€” what's stuck, who's overloaded, who can pull, what's blocked, what bugs are about to breach SLA. --- ## Tool Run this script using the Bash tool: ``` bash .claude/skills/check-board/scripts/fetch_board.sh --json ``` - `BOARD_ID_OR_URL`: numeric board id (e.g. `5289`) or full board URL. - The script trims Done to the last 36h. To Do, In Progress and Done<36h all show up in the snapshot. The script outputs JSON with this structure: ```json { "fetched_at": "2026-05-09T12:00:00Z", "board": { "id": "5289", "name": "...", "type": "kanban", "project": "OPS", "columns": [{ "name": "In Progress", "status_ids": ["10001", "10002"] }] }, "flagged_field_supported": true, "metrics": { "total": 0, "in_progress": 0, "todo": 0, "done_last_36h": 0, "blocked_count": 0, "blocked": [{ "key": "...", "summary": "...", "status": "...", "statusCategory": "...", "column": "...", "assignee": "Name", "time_in_status": "Xd Yh Zm" }], "stuck": [{ "key": "...", "summary": "...", "status": "...", "column": "...", "assignee": "Name", "is_blocked": false, "time_in_status": "Xd Yh Zm", "seconds": 0, "severity": "warning|critical" }], "unassigned_in_progress": [{ "key": "...", "summary": "...", "status": "...", "column": "...", "time_in_status": "..." }], "regressions_last_7d": [{ "key": "...", "summary": "...", "at": "...", "from": "...", "to": "..." }], "throughput_7d": 0, "throughput_14d": 0, "median_cycle_time_days": 0.0, "columns": [{ "name": "...", "count": 0, "in_progress_count": 0, "stuck_count": 0 }], "assignees": [{ "assignee": "Name or null", "count": 0, "keys": ["..."], "max_time_in_status_seconds": 0, "stuck_count": 0, "blocked_count": 0 }], "idle_assignees": ["Name"], "bugs_at_risk": [{ "key": "...", "summary": "...", "status": "...", "column": "...", "assignee": "Name", "priority": "High", "duedate": "YYYY-MM-DD or null", "days_until_due": 0, "risk": "red|yellow", "reason": "due date|Highest priority, no due date" }], "bugs_other_count": 0, "epics": [{ "key": "EPIC-1", "summary": "...", "status": "...", "active_count": 0, "in_progress_count": 0, "stuck_count": 0, "blocked_count": 0, "red_bug_count": 0, "yellow_bug_count": 0, "issue_keys": ["..."] }], "issues_without_epic": 0 }, "issues": [/* full snapshot, same per-issue shape as inside metrics + changelog-derived fields */] } ``` --- ## Instructions ### Resolving the input The skill accepts either: - A **team name** (e.g. `events`, `floor`) โ†’ read `data/team_{name}.md`, take the `Default board` and the team roster (full names of all `### member` sections). Use that board id; keep the roster for filtering. - A **board id or URL** โ†’ use it directly. No roster available; skip roster-based filters and say so. If the team file is missing or has no `Default board`, ask the user for the board id before continuing. ### Analysis steps 1. Resolve the input as above. If a team file was loaded, build `team_roster = [full names from every "### name" section]`. 2. Run the script with `--json`. Stop and report the error if it fails. 3. Use the pre-computed `metrics` for all rubric checks. Do not recompute from `issues` unless you need a specific issue's detail (e.g. parent epic, blocked_by links). 4. Produce the structured report below. 5. If `flagged_field_supported == false`, mention in the output that blocked detection is unavailable for this tenant. --- ## Scoring Rubrics ### Flow Health Evaluate four signals: **Stuck** (use `metrics.stuck`): - ๐ŸŸข None - ๐ŸŸก 1โ€“2 warnings (โ‰ฅ5d), no critical - ๐Ÿ”ด Any critical (โ‰ฅ10d), or โ‰ฅ3 warnings **Regressions last 7d** (use `metrics.regressions_last_7d`): - ๐ŸŸข 0 - ๐ŸŸก 1โ€“2 - ๐Ÿ”ด โ‰ฅ3, or โ‰ฅ1 transition into a To Do category from In Progress/Done **Blocked** (use `metrics.blocked_count` and `metrics.blocked`): - ๐ŸŸข 0 - ๐ŸŸก 1โ€“2 - ๐Ÿ”ด โ‰ฅ3, or any blocked item also stuck โ‰ฅ10d - If `flagged_field_supported == false`: skip this signal and say so explicitly. **Throughput / Cycle time**: - Cite `throughput_7d`, `throughput_14d`, and `median_cycle_time_days`. - These are descriptive โ€” flag only as ๐ŸŸก/๐Ÿ”ด if you spot an obvious anomaly (e.g. `throughput_7d == 0` while `in_progress > 5`, or `median_cycle_time_days > 15`). Otherwise ๐ŸŸข. **Overall Flow state**: - ๐ŸŸข Moving โ€” all four ๐ŸŸข - ๐ŸŸก At Risk โ€” any ๐ŸŸก, no ๐Ÿ”ด - ๐Ÿ”ด Stalled โ€” any ๐Ÿ”ด ### People Health Evaluate three signals: **WIP balance** (use `metrics.assignees`): - Overloaded: assignee with `count โ‰ฅ 4` in In Progress, or `count โ‰ฅ 3` AND `stuck_count โ‰ฅ 3` - Heavy stuck: assignee with `stuck_count โ‰ฅ 3` regardless of count - Cite each by name. **Unassigned in In Progress** (use `metrics.unassigned_in_progress`): - ๐ŸŸข None - ๐Ÿ”ด Any โ€” active work without an owner is a delivery risk. - Do NOT flag unassigned issues in To Do โ€” that's normal in this team. **Idle / can-pull** (use `metrics.idle_assignees`): - Assignees with items elsewhere on the board but 0 in In Progress. Useful daily signal: who can pick something up. - **Filter to the team roster**: only include names that match `team_roster` (full names from the team file). This excludes PMs, designers, cross-team contributors and anyone else who shows up on the board but isn't an engineer on the team. - If no team file was loaded (board id passed directly), skip this signal and write "Idle filter unavailable โ€” no team file resolved." - Note: people not assigned to anything on the board are invisible to this signal. **Overall People state**: - ๐ŸŸข Healthy โ€” no overload, no unassigned in progress - ๐ŸŸก At Risk โ€” 1 overloaded person, or any single ๐ŸŸก signal - ๐Ÿ”ด Stretched โ€” multiple overloaded, or any unassigned in progress, or someone with `stuck_count โ‰ฅ 4` ### Epic Health Use `metrics.epics`. Each epic groups all active (non-Done) issues whose `parent.issuetype == "Epic"`. Sub-tasks whose parent is a Story are grouped under their Story key (treated as "(no epic)" in the listing) โ€” their epic is unknown without an extra fetch. For each epic, classify state: - ๐Ÿ”ด Stalled โ€” `stuck_count โ‰ฅ 3` OR `blocked_count โ‰ฅ 2` OR `red_bug_count โ‰ฅ 1` - ๐ŸŸก At Risk โ€” `stuck_count โ‰ฅ 1` OR `blocked_count โ‰ฅ 1` OR `yellow_bug_count โ‰ฅ 1` OR `in_progress_count โ‰ฅ 5` (high WIP) - ๐ŸŸข OK โ€” none of the above In the output, list only ๐Ÿ”ด and ๐ŸŸก epics (those that need attention). If all epics are ๐ŸŸข, say "All epics OK". Always cite the epic's key + summary and the specific signals (e.g. "3 stuck, 1 blocked, 1 red bug"). If `issues_without_epic > 0`, mention the count at the end so the EM knows that group exists. ### Bugs at Risk Already classified by the script. Output them as-is, sorted (the script already orders red before yellow, then by `days_until_due` ascending). - ๐Ÿ”ด Red bugs: SLA imminent (`days_until_due โ‰ค 3`, including overdue) OR `priority == Highest` with no due date. - ๐ŸŸก Yellow bugs: due in 4โ€“10d. - The `bugs_other_count` is informational ("Bugs without SLA: N") โ€” do not flag. **Overall Bugs state**: - ๐ŸŸข No red, no yellow - ๐ŸŸก Any yellow, no red - ๐Ÿ”ด Any red --- ## Output Format Return ONLY this structure: --- ๐Ÿ“‹ Board Snapshot โ€” BOARD_ID: Name [type] - Total (snapshot): X ยท In Progress: X ยท To Do: X ยท Done last 36h: X - Blocked (Flagged): X | Flagged field not available on this tenant - Throughput: X (7d) ยท X (14d) - Median cycle time (last 14d): X.Xd | Not enough data - Columns: name (count), name (count), ... ๐ŸŒŠ Flow Health โ€” ๐ŸŸข Moving / ๐ŸŸก At Risk / ๐Ÿ”ด Stalled - Stuck: ๐ŸŸข/๐ŸŸก/๐Ÿ”ด โ€” X warnings, X critical - KEY โ€” summary (Xd in "Status", assignee)[ ยท BLOCKED] - ...up to ~6, prioritize critical - Regressions last 7d: ๐ŸŸข/๐ŸŸก/๐Ÿ”ด โ€” X transitions - KEY โ€” summary: from โ†’ to (date) - ... - Blocked: ๐ŸŸข/๐ŸŸก/๐Ÿ”ด โ€” X items - KEY โ€” summary (status, assignee, Xd in status) - ... - Throughput: X / 7d, X / 14d โ€” ๐ŸŸข/๐ŸŸก (note anomaly if any) - Cycle time: X.Xd median โ€” ๐ŸŸข/๐ŸŸก/๐Ÿ”ด ๐Ÿ‘ฅ People Health โ€” ๐ŸŸข Healthy / ๐ŸŸก At Risk / ๐Ÿ”ด Stretched - Overloaded: Name (X WIP, X stuck), ... | None - Heavy stuck: Name (X stuck), ... | None - Unassigned in In Progress: KEY โ€” summary, KEY โ€” summary | None - Can pull (idle): Name, Name | None visible ๐Ÿ›ค๏ธ Epic Health - ๐Ÿ”ด KEY โ€” epic summary X active ยท X WIP ยท X stuck ยท X blocked ยท X ๐Ÿ”ด / X ๐ŸŸก bugs - ๐ŸŸก KEY โ€” ... - All epics OK | (only when no epic is ๐Ÿ”ด/๐ŸŸก) - Issues not under an epic on the board: X (informational) | (skip if 0) ๐Ÿž Bugs at Risk โ€” ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด - ๐Ÿ”ด KEY โ€” summary priority ยท due YYYY-MM-DD (Xd) ยท assignee โ€” reason - ๐ŸŸก KEY โ€” summary priority ยท ... - ... - Bugs without SLA on the board: X (informational) ๐Ÿงญ Summary - 3โ€“5 bullets max. The actionable story for today's standup. Focus on: - The 1โ€“2 issues most likely to slip today - Who needs help (overloaded, heavy stuck) - Who can pull (idle) - Top blocker to unblock - Any SLA bug due today/overdue ๐ŸŽฏ Recommendations 1. [Verb] Specific concrete action โ€” cite KEY or Name 2. ... (2โ€“5 items, ordered by urgency) --- ## Style Guidelines - Always cite issue keys, durations, dates, and people by name โ€” no vague observations. - Mention assignee on every stuck/blocked/at-risk item so the EM knows who to talk to. - For overdue bugs, lead with the overdue magnitude ("Xd overdue"). - Be concise and direct โ€” EM tone, no fluff. - Prioritize signal over completeness: if there are 20 stuck items, list the top ~6 most severe and say "and N more". ## Constraints - DO NOT flag unassigned issues in To Do โ€” only in In Progress. - DO NOT list as idle anyone outside `team_roster` when a team file was loaded (PMs, designers, cross-team contributors stay off the line). - DO NOT recompute metrics from `issues`; trust the pre-computed `metrics`. - DO NOT show Done items older than 36h (the script already trims them). - DO NOT use sprint/velocity language โ€” this skill is Kanban-only. - If `flagged_field_supported == false`, say "Blocked detection unavailable" once and skip the Blocked block entirely. - Avoid generic recommendations like "improve communication". Be specific: "ping on KEY-X โ€” stuck Xd in Review with no assignee". ## Goal Help an Engineering Manager walk into the daily knowing: "What's slipping, who's overloaded, who can pull, what's blocked, and which bug is about to breach SLA?"