Agile scrum kanban

From j4flmao/agent-skills · View interactive version

Agile scrum kanban is an AI agent skill from the GitHub repository j4flmao/agent-skills. Use when the user asks about Scrum vs Kanban, sprint planning, Definition of Done, WIP limits, cycle time, throughput, Monte Carlo forecasts, cumulative flow diagrams, Scrumban, SAFe or LeSS. Produces an agile approach, board policies and data-based forecasts. Not for retrospectives (use sprint-retr

How to use this skill

Skill file

Agile: Scrum, Kanban & Scrumban

Purpose

Choose the delivery approach that fits the work's arrival pattern, then make flow visible and predictable: explicit board policies, WIP limits, flow metrics (WIP, throughput, cycle time, work item age) and probabilistic forecasts instead of point estimates and promises.

Agent Protocol

Trigger

"scrum vs kanban", "kanban", "WIP limit", "cycle time", "lead time", "throughput", "flow metrics", "CFD", "scrumban", "forecast delivery date", "monte carlo", "backlog management", "SAFe", "LeSS", "scaled agile".

Input Context

Output Artifact

Approach recommendation + board design with WIP policies; or a flow-metrics analysis and forecast.

Response Format

Approach: {Scrum|Kanban|Scrumban} — because {work pattern}
Board: {columns with WIP limits and done-policies}
Metrics: WIP {n}, throughput {items/week}, cycle time P50/P85 {days}, aging items {list}
Forecast: {N items} by {date} at {85%} confidence (Monte Carlo on throughput)
Next experiment: {one policy change + expected effect}

Choosing an Approach

| Signal | Scrum | Kanban | Scrumban |

|--------|-------|--------|----------|

| Work arrival | Plannable in batches | Continuous, interrupt-driven | Mostly planned + steady interrupts |

| Cadence | Fixed sprints | Continuous; cadences decoupled (replenish, deliver, review) | Sprints for planning/review, flow inside |

| Roles | PO, SM, Developers | None prescribed | Usually keeps PO |

| Commitment | Sprint Goal | Service level expectation (e.g., 85% in ≤8 days) | Both |

| Good fit | Product teams discovering + building | Ops, support, platform, maintenance | Teams outgrowing rigid sprints |

Scrum Essentials (Scrum Guide 2020)

Kanban Essentials

  1. Visualize the actual workflow (not an idealized one), including queues ("Ready for review").
  2. Limit WIP per column or per person; start with current average WIP minus a little, then tune.
  3. Manage flow: pull from the right ("stop starting, start finishing"); swarm on blocked/aging items.
  4. Make policies explicit: entry/exit criteria per column, classes of service (expedite, fixed date, standard, intangible).
  5. Feedback loops: daily flow review (walk the board right to left), replenishment, delivery planning, service delivery review.
  6. Improve experimentally: change one policy at a time and watch the metrics.

Example board:

Backlog | Ready (WIP 6) | In Progress (WIP 4) | Review (WIP 3) | Testing (WIP 3) | Done
Policies: Ready = refined + acceptance criteria; Review = PR open + CI green; Done = deployed to prod

Flow Metrics

| Metric | Definition | Use |

|--------|-----------|-----|

| WIP | Items started, not finished | Control lever |

| Throughput | Items finished per unit time | Forecasting |

| Cycle time | Finish date − start date (per item) | Predictability; report percentiles (P50, P85) |

| Work item age | Now − start date for in-progress items | Early warning; act when age passes P85 cycle time |

Little's Law (for a stable system): average cycle time = average WIP ÷ average throughput. Reducing WIP is the most direct lever to reduce cycle time.

Cumulative Flow Diagram: widening bands = growing queues/WIP; flat top band = nothing finishing.

Forecasting with Monte Carlo

import random


def forecast_weeks(weekly_throughput: list[int], items: int, runs: int = 10_000, pct: float = 0.85) -> int:
    if not weekly_throughput or all(t == 0 for t in weekly_throughput):
        raise ValueError("Need historical weekly throughput with at least one non-zero week")
    if items <= 0:
        raise ValueError(f"items must be positive, got {items}")
    results = []
    for _ in range(runs):
        done, weeks = 0, 0
        while done < items:
            done += random.choice(weekly_throughput)
            weeks += 1
        results.append(weeks)
    results.sort()
    return results[int(pct * runs) - 1]

# forecast_weeks([3, 5, 2, 6, 4, 4, 0, 5], items=30) -> weeks needed with 85% confidence

Use 8–12 recent weeks of throughput; re-run weekly. Communicate ranges with confidence levels, not single dates.

Backlog Management

Scaling

| Framework | Fit | Caution |

|-----------|-----|---------|

| LeSS | 2–8 teams on one product, one PO, one backlog | Requires org redesign around feature teams |

| SAFe | Large enterprises needing portfolio alignment (PI planning, ARTs) | Heavyweight; risk of process over outcomes |

| Nexus | 3–9 Scrum teams on one product | Scrum-centric |

| Flight levels / portfolio Kanban | Coordinating flow across teams without prescribing team method | Needs metric discipline |

Before scaling a framework, reduce dependencies (team topology, architecture) — coordination overhead is the main cost.

Anti-Patterns

| Anti-pattern | Fix |

|--------------|-----|

| Kanban board with no WIP limits | It is a to-do list; add limits |

| Comparing velocity across teams | Velocity is team-relative; use flow metrics for system view |

| Average cycle time only | Percentiles; distributions are skewed |

| Expedite lane always full | Limit expedite to 1; review why |

| Story points converted to hours | Use throughput-based forecasting |

| "Scrum" without Sprint Goals or retros | Either do Scrum or adopt Kanban honestly |

Checklist

References

Merged Material

Content folded in from overlapping skills and notes.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.