cycle-time-analyzer
БесплатноЗапускает вложенные скриптыНе проверенCompute lead time, cycle time, throughput, WIP, aging WIP and a cumulative flow diagram from issue status history. Use when diagnosing slow delivery, setting…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Cycle Time Analyzer (Flow Metrics)
Overview
Compute and visualize the four core Kanban flow metrics -- lead time, cycle time, throughput, and work-in-progress -- from issue history data exported from Jira, Linear, GitHub Projects, or any tracker that records status transitions. The output is a dashboard suitable for sprint retrospectives, executive reporting, and bottleneck analysis, plus a Mermaid cumulative flow diagram that visualizes work accumulation over time.
Flow metrics are the most useful diagnostic for team and process health, far more so than velocity or story points. Daniel Vacanti's work (Actionable Agile Metrics for Predictability, 2015) shows that predictability and throughput are governed by Little's Law (Throughput = WIP / Cycle Time), and that the most reliable way to improve delivery is to lower WIP and stabilize cycle time -- not to estimate harder. This skill also reports aging WIP (in-flight work older than the team's 85th-percentile cycle time -- the items most at risk) and supports the shared --format schema (json, markdown, mermaid, confluence, notion, linear).
Core Capabilities
- Four flow metrics — lead time, cycle time (as a distribution, never an average), throughput, and WIP, tied together by Little's Law.
- Aging WIP — flags in-flight items older than the 85th-percentile cycle time as at-risk; the most actionable daily metric.
- Cumulative flow diagram — Mermaid CFD for retrospectives and exec reports.
- Per-type filtering & trends — bug/feature/spike breakdowns over rolling 6-8 week windows across all six output formats.
When to Use
- Sprint retrospective -- A team wants data-driven discussion of why some sprints feel slow.
- Bottleneck investigation -- Throughput has fallen and the team needs to identify the constraining step.
- Quarterly delivery review -- Leadership wants a real picture of delivery performance beyond story-point velocity.
- Predictability analysis -- Stakeholders want delivery forecasts grounded in actual cycle time distributions (use with Monte Carlo via
scrum-master/). - WIP-limit calibration -- A Kanban team is setting WIP limits and needs a baseline of current behavior.
When NOT to Use
- For story-point velocity tracking, use
scrum-master/velocity_analyzer.py. - For sprint capacity calculation, use
scrum-master/sprint_capacity_calculator.py. - For per-person performance evaluation -- flow metrics are team-level signals; using them to rank individuals destroys the team behavior they measure.
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.
- Issue history with status transitions: per-item timestamps for when work started and finished (every metric is derived from these; missing transitions invalidate the numbers).
- Workflow states that count as "in progress" vs "done": your board's actual status names (defines where cycle time starts/stops, which changes every result).
- Analysis window: the rolling period (e.g. last 6-8 weeks) and any type filter (scopes throughput trend and which in-flight items are flagged as aging WIP).
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.
Workflow
- Export issue history with status transitions into the input shape (
assets/sample_issues.json). - Map your states if your board's names differ from the defaults (
--ready-state,--in-progress-state,--done-state, each repeatable). - Run the analysis:
python3 project-management/execution/cycle-time-analyzer/scripts/flow_metrics.py \
--input project-management/execution/cycle-time-analyzer/assets/sample_issues.json --format markdown
# Live board: add --as-of YYYY-MM-DD (today) so aging WIP is measured to now
- Read the distribution, not the average: quote p85 cycle time and p85 lead time, flag aging WIP above p85, read throughput as a 6-8 week trend.
- Verify before sharing: completed-in-window is not zero, WIP matches the board, and the as-of date in the header is the date you meant. Re-run weekly.
As-of date: defaults to the latest timestamp in the data, so the sample (April-May 2026) reads the same on any day: 7 completed, 0.82 items/week, 1 aging item. For a live board pass --as-of with today's date; otherwise items still in progress look younger than they are.
Tools
| Tool | Purpose | Key flags |
|---|---|---|
flow_metrics.py |
Lead time, cycle time, throughput, WIP, aging WIP, CFD | --input F or --demo, --format json|markdown|mermaid|confluence|notion|linear, --type, --window-days 60, --as-of, --ignore-missing, --output |
Exit codes: 0 report written; 2 missing file, invalid JSON, empty
Установить cycle-time-analyzer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл cycle-time-analyzer?
Compute lead time, cycle time, throughput, WIP, aging WIP and a cumulative flow diagram from issue status history. Use when diagnosing slow delivery, setting WIP limits or preparing a flow review.
Как установить скилл cycle-time-analyzer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cycle-time-analyzer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic