Skip to content

Lesson 15 of 28How teams plan and ship

Agile, Scrum and Kanban in Practice

What Agile actually says, how Scrum works per the 2020 Scrum Guide, why Kanban limits work in progress, and how to be useful in every team ritual.

20 min read0/5 questions

Docs and design reviews shape what gets built. This unit is about how the team plans that work and gets it to users. Your first week at a new job, your calendar fills up: Daily Scrum at 9:30, backlog refinement on Tuesday, Sprint Planning every other Monday, a review and a retro every other Friday. Someone mentions velocity, someone else says the team is "more Kanban really", and the board has a column called "Ready for QA" that holds forty tickets. Nobody explains any of it, because everyone assumes you know. This lesson gives you the real definitions, so you can tell the framework from the local habits, take part well from day one, and spot when a ritual has stopped doing its job.

The manifesto, and the gap

In February 2001, seventeen software practitioners met at a ski resort in Utah and wrote the Manifesto for Agile Software Development. It is four sentences long. They value individuals and interactions over processes and tools, working software over comprehensive documentation, customer collaboration over contract negotiation, and responding to change over following a plan. The last line matters most and is the most forgotten: "while there is value in the items on the right, we value the items on the left more." It is a ranking, not a ban on plans or documents. Twelve principles follow, including delivering working software frequently, sustainable pace, and regular reflection on how to become more effective.

What many companies call "Agile" is something else: a ticket tracker, two-week sprints, points on every ticket, and a burndown chart reported upward. When velocity becomes a target, when the process cannot be changed by the team using it, or when "Agile" means "no planning, requirements change daily", the manifesto's first value has been reversed: the tools now matter more than the people. You will work in places like this. Knowing what the ideas actually say lets you push, gently, toward the version that works.

Scrum, by the 2020 Scrum Guide

Scrum is defined by one short document, The Scrum Guide, by Ken Schwaber and Jeff Sutherland. The current edition is from 2020. It is under twenty pages, free, and worth reading once in full, because most arguments about "real Scrum" are settled by it. Scrum calls itself a lightweight framework built on empiricism: make the work visible (transparency), look at it often (inspection), and change course based on what you see (adaptation).

Accountabilities

The 2020 edition speaks of accountabilities, not roles or job titles. A Scrum Team is small, typically 10 or fewer people, with no sub-teams or hierarchy, and it is self-managing: it decides who does what, when and how.

  • Product Owner: one person, not a committee, accountable for maximising the value of the product. Owns the Product Backlog and its order, and the Product Goal.
  • Scrum Master: accountable for the team's effectiveness and for Scrum being understood. Coaches, removes impediments, helps the wider organisation. The guide calls them "true leaders who serve". Not a project manager and not the team's boss.
  • Developers: everyone who does the work of creating the Increment, including testers, designers and analysts. The 2020 guide dropped the old term "Development Team" so there is one team, not a team inside a team.

Events

Everything happens inside the Sprint, a fixed-length container of one month or less (two weeks is the most common). The timeboxes below are maximums for a one-month Sprint; shorter Sprints usually get shorter events.

  • Sprint Planning (up to 8 hours): the whole team answers three questions. Why is this Sprint valuable (the Sprint Goal)? What can be Done this Sprint? How will the chosen work get done?
  • Daily Scrum (15 minutes): for the Developers, to inspect progress toward the Sprint Goal and adjust the plan. The 2020 guide removed the famous three questions ("what I did yesterday, what I will do today, blockers"); the team picks any structure that serves the goal.
  • Sprint Review (up to 4 hours): the team and stakeholders inspect what was built and decide what to do next. The guide says it should be a working session, not just a presentation.
  • Sprint Retrospective (up to 3 hours): the team inspects how it worked (people, tools, process, Definition of Done) and picks the most helpful improvements.

Backlog refinement is not an event. It is an ongoing activity of breaking down and clarifying upcoming items, which many teams schedule anyway.

Artifacts and their commitments

Each artifact has a commitment that gives it focus:

  • Product Backlog, committed to the Product Goal: the long-term objective the backlog serves.
  • Sprint Backlog, committed to the Sprint Goal: the single objective for this Sprint, plus the selected items and the plan.
  • Increment, committed to the Definition of Done: the shared quality bar. Work that does not meet it is not part of the Increment and is not shown at the review as done.

An Increment can be released at any time during the Sprint. The Sprint Review is not a release gate.

One Sprint, end to end
Product Backlog: Product GoalProduct BacklogProduct GoalSprint Planning: why, what, howSprint Planningwhy, what, howSprint Backlog: Sprint GoalSprint BacklogSprint GoalDaily Scrum: 15 min, DevelopersDaily Scrum15 min, DevelopersIncrement: Definition of DoneIncrementDefinition of DoneSprint Review: with stakeholdersSprint Reviewwith stakeholdersRetrospective: how we workRetrospectivehow we worktop itemsgoal + planeach dayDone workinspectadapt backlogthen

The Product Owner keeps the Product Backlog ordered toward the Product Goal. Refinement keeps the top items small and clear.

1/6

A Definition of Done is the most useful Scrum artifact to copy even if your team does not do Scrum. Here is a realistic one:

docs/definition-of-done.md
# Definition of Done (web team)
 
A backlog item is Done when all of these are true:
 
- [ ] Code is merged to main through a reviewed pull request.
- [ ] Automated tests cover the new behaviour; CI is green.
- [ ] Acceptance criteria on the ticket are met and checked by someone
      other than the author.
- [ ] Works at mobile and desktop widths; keyboard and screen reader
      checked for new UI.
- [ ] Logs, metrics or alerts added for anything that can fail in
      production.
- [ ] Behind a feature flag, or safe to release on its own.
- [ ] Docs, changelog or runbook updated if users or on-call are affected.
- [ ] Deployed to production (flag may be off).
Match the pairs0/4 matched

Match each Scrum event to its purpose.

Choose an item, then its match on the other side.

Kanban: limit work, watch the flow

Kanban comes from Toyota's production system, where cards signalled when a station could take more work. In software it was popularised by David J. Anderson around 2010. It has no Sprints and no prescribed roles. Its core practices:

  • Visualise the workflow. A board whose columns match how work really moves: Ready, In progress, Review, Done.
  • Limit work in progress (WIP). Each column has a maximum number of items. When "Review" holds its limit of 3, nobody starts new work; they help review instead.
  • Pull, not push. People pull the next item when they have capacity. Nobody assigns five tickets to you on Monday.
  • Manage flow with measures: WIP, throughput (items finished per week), cycle time (from start to done), and work item age (how long an unfinished item has been in progress).

Why limit WIP? Because of Little's law, a result from queueing theory: on average, cycle time = WIP / throughput. If your team finishes 2 tickets a day and has 12 in progress, each one takes about 6 days. Starting more work does not make the team finish more; it makes everything take longer. Run the simulation:

Python
from fractions import Fraction def simulate(tickets: int, capacity_per_day: int, wip_limit: int | None): """Each ticket needs 1 day of one person's effort. The team has capacity_per_day units of effort, spread evenly over everything in progress.""" remaining = {} # ticket -> work left started, finished = {}, {} backlog = list(range(tickets)) day = 0 while len(finished) < tickets: # Pull new work while there is room under the WIP limit. while backlog and (wip_limit is None or len(remaining) < wip_limit): t = backlog.pop(0) remaining[t] = Fraction(1) started[t] = day # Spread the day's effort evenly over all work in progress. share = Fraction(capacity_per_day, len(remaining)) day += 1 for t in list(remaining): remaining[t] -= share if remaining[t] <= 0: del remaining[t] finished[t] = day cycle = [finished[t] - started[t] for t in range(tickets)] first = min(finished.values()) return day, first, sum(cycle) / tickets for limit in [None, 6, 2]: days, first, avg = simulate(tickets=12, capacity_per_day=2, wip_limit=limit) label = "no limit" if limit is None else f"WIP limit {limit}" print(f"{label:<12} all done day {days} first done day {first} avg cycle time {avg:.1f} days") # Little's law: average cycle time = average WIP / average throughputprint("Little's law, WIP 12:", 12 / 2, "days")print("Little's law, WIP 2: ", 2 / 2, "days")
Output
Press Run (⌘ Enter) to see what happens.

All three finish the batch on day 6, so throughput is identical. But with no limit, nothing is done until day 6, and every ticket takes 6 days. With a limit of 2, the first ticket ships on day 1 and each takes a day. Users get value sooner, feedback arrives sooner, and bugs are found while the code is fresh. This model is generous to the no-limit case: it ignores the cost of switching between twelve tasks, which in real life makes high WIP even slower.

Predict the outputPython

What does this print?

wip_before, wip_after = 15, 10      # tickets in progress
throughput = 5                       # tickets finished per week
print(wip_before / throughput, wip_after / throughput)
Need a nudge? Hints walk you through it.

Real variants: Scrumban and Shape Up

Most teams you join run a mix, and two named variants are common enough to know.

Scrumban (from Corey Ladas's writing around 2008) keeps some Scrum structure, often the Daily Scrum, regular reviews and retros, and adds a Kanban board with WIP limits and continuous pull. Planning happens when the Ready column runs low rather than on a fixed date. It suits teams with a steady stream of mixed work, such as platform or support-heavy teams, where a two-week commitment keeps being broken by interrupts.

Shape Up is the method Basecamp described in Ryan Singer's free 2019 book. Work runs in six-week cycles followed by a two-week cool-down for fixes and exploration. Before a cycle, senior people shape projects into pitches: the problem, the appetite (how much time it is worth, fixed in advance), a rough solution, rabbit holes and no-gos. At the betting table, leaders choose which pitches to bet a cycle on. There is no long backlog; unchosen pitches are not kept in a queue. Time is fixed and scope flexes. By default, a project that does not ship within its cycle does not get extended (the circuit breaker), so a bad bet costs at most six weeks.

Shape Up pitch template
# Pitch: {name}
 
## Problem
{The raw idea or the story that shows why the status quo fails.}
 
## Appetite
{Small batch (1 to 2 weeks) or big batch (6 weeks). Fixed in advance.}
 
## Solution
{The core elements, at the level of fat-marker sketches or breadboards.
Concrete enough to build, rough enough that the team has room to design.}
 
## Rabbit holes
{Risky details, already thought through, with the call we made.}
 
## No-gos
{What is explicitly out, to fit the appetite.}
Quick check
A Shape Up team reaches the end of its six-week cycle with the project 80% done. What happens by default?
Need a nudge? A hint rules out a wrong answer.

Rituals done well

The Scrum Guide calls them events; most people say "ceremonies". Whatever the name, each one exists to inspect something and change something. When it does neither, it has become theatre.

The Daily Scrum is about the goal, not about you. The bad version is a status round where each person reports to the manager and nobody listens. The good version looks at the board, often from right to left (what is closest to done?), asks "are we still on track for the Sprint Goal?", and surfaces blockers. Anything needing more than a sentence moves to a quick follow-up with only the people involved. If your team still uses the three questions, keep your answer about outcomes and blockers: "The refund API is merged; I'm blocked on the staging key, Priya, can you help after this?"

Demos show working software. Run the real thing, not slides. Show the failure cases too. Ask a specific question at the end: "Does this flow match what support expected?" A review with no feedback is a missed chance.

Retros end with one to three actions, each with an owner and a date. Start by checking the previous retro's actions; if they were never done, that is the first topic. Many teams open with the Retrospective Prime Directive (Norm Kerth's reminder that everyone did the best job they could with what they knew at the time), which keeps the focus on systems rather than blame. Rotate formats so it does not go stale: start / stop / continue, or the 4Ls (liked, learned, lacked, longed for).

Retro notes template
# Retro: Sprint {N} ({dates})   Format: {start/stop/continue | 4Ls}
Facilitator: {name}
 
## Last retro's actions
- {action}: {done | not done, and why}
 
## Themes (grouped from notes, top votes first)
1. {theme} ({votes})
 
## Actions (max 3)
| Action | Owner | Due |
| --- | --- | --- |
A real one
# Retro: Sprint 41 (6 to 17 Oct)   Format: start/stop/continue
Facilitator: Dev
 
## Last retro's actions
- Add flaky-test alert to #web-ci: done (Lina). Flakes down from 9 to 2.
- Pair on first billing PR for new joiners: not done, no new joiner yet.
 
## Themes
1. Reviews sat for 2+ days; 4 PRs missed the Sprint (6 votes)
2. Sprint Goal changed mid-Sprint after the sales call (4 votes)
3. Shadow mode for rate limiting caught a real problem: keep doing it (3)
 
## Actions
| Action | Owner | Due |
| --- | --- | --- |
| Review rotation: one named reviewer per day, posted at the Daily Scrum | Sam | 20 Oct |
| PO to bring scope changes to the Daily Scrum, not DMs | Ana | ongoing |
| Shadow-mode step added to our rollout checklist | Priya | 24 Oct |
Put it in order5 steps

Put these in the order they happen in a single Sprint.

  1. Tap the steps below in the right order.
Need a nudge? A hint shows where it starts.

Your part as an engineer

EventWhat a strong IC does
RefinementAsks the questions that split tickets and expose unknowns; proposes spikes
Sprint PlanningChecks the Sprint Goal is achievable; flags dependencies, leave, on-call weeks
Daily ScrumTwo sentences on progress toward the goal; names blockers and who can help
Sprint ReviewDemos their own work; asks stakeholders a specific question
RetrospectiveBrings evidence ("4 PRs waited 2 days"), not vague feelings; takes an action

What about rituals that feel wasteful? Do not silently skip them, and do not complain in DMs. Bring it to the retro as an experiment: "Our Daily Scrum takes 30 minutes. Can we try 15 minutes, walking the board, for two Sprints, and compare?" Teams own their process; a measured proposal from a junior engineer is often welcome. And remember velocity, the points a team finishes per Sprint, is a planning aid for that team only. Using it to compare teams or rate people breaks it, a point covered in Tickets, Estimates and Saying No.

Quick check
According to the 2020 Scrum Guide, which statement about the Daily Scrum is correct?
Need a nudge? A hint rules out a wrong answer.
Key terms
Sprint Goal
The single objective for a Sprint, set at Sprint Planning; the commitment of the Sprint Backlog.
Definition of Done
The team's shared quality bar; work that does not meet it is not part of the Increment.
Product Owner
The one person accountable for maximising product value and ordering the Product Backlog.
WIP limit
A maximum number of items allowed in a workflow stage at once, so the team finishes before starting.
cycle time
The time from starting work on an item to finishing it.
Little's law
On average, cycle time equals work in progress divided by throughput.
appetite
In Shape Up, the fixed amount of time a project is worth, set before the solution is shaped.