intro to kanban - craig jones · intro to kanban by craig l. jones ... tqm lean iso 9000 cmm kanban...

57
Intro to Kanban by Craig L. Jones craig@ChiefSimplicityOfficer.com © Craig L. Jones, 2011. All rights reserved.

Upload: ngohanh

Post on 07-Apr-2018

249 views

Category:

Documents


9 download

TRANSCRIPT

Page 1: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Intro to Kanbanby Craig L. Jones

[email protected]

© Craig L. Jones, 2011. All rights reserved.

Page 2: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

30 Years Software Development

12 Years Agile (mostly XP, Scrum, & Kanban)

CSM & Scrum Coach

Recovering Over-engineer-er

www.ChiefSimplicityOfficer.com

Page 3: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

As a (role)

I want Kanban in my tool box

So that (expectation)

Your Expectations for Tonight?

Page 4: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

AgileScrum

Kaizen

Scrumban

Lean

KanbanXP

Page 5: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Late 40's (Japan & Europe) Late '90's (Global)

Agile

XP

Scrum DSDM

Crystal Clear

RUPkanban

Kaizen

Six Sigma

BSC

TQM

Lean

ISO 9000

CMM

Kanban

Drum-Buffer-Rope

MRP

CONWIP

Page 6: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Kanban means “Sign Board”

Kanban is an element of just-in-time (JIT) production, as invented by Taiichi Ohno for Toyota in the late 1940's – based on studies of inventory

systems used in supermarkets at the time.

Page 7: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

kanban card = “signal card”

“kanban” with a lower-case “K”

Page 8: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

kanban card = “signal card”

Page 9: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

“Kanban” System

“Kanban” with a Capital “K” refers to a system (framework) for tracking work in progress.

“Signal” Cards Work Cards

Page 10: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Kanban & Scrum Share...● Easy to Learn the Basics● Big, Visible Charts● Regular Cadence● Retrospectives (“Inspect & Adapt”)● Cross-Functional Collaboration● Maximizing Value (by Eliminating Waste)● Early Feedback ● Formal Definitions of Ready/Done

Page 11: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Kanban vs. Scrum● It's all just “Work”

● Steady “Flow” by Limiting Work in Progress (“WIP”)

● Measure Cycle Time & Throughput

● “Pull” System

● Stories, Epics & Tasks

● Incremental Delivery via (2 week) Sprints

● Measure Velocity

● Sprint Planning/ Negotiating

Page 12: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

How to Choose?

Kanban:● Operations Work● Software

Maintenance Work● Coming from Rigid

Legacy Methods (Waterfall)

● Compartmentalized, Siloed Teams

Scrum:● Greenfield Project● Many Stakeholders● Must Coordinate

Around a “Roadmap”● Lots of Epic Stories

Page 13: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Simple Kanban Board

Ready Doing Done

Vertical “Lanes”

Page 14: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Simple Kanban Board

Ready Doing Done

“Sub Lanes”

Page 15: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Simple Kanban Board

Ready Doing Done

Horizontal “Swim Lanes”

!

Page 16: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Simple Kanban Board

Ready (3) Doing (3) Done

“WIP Limits”

Page 17: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Software Dev Kanban Board

Ready (6) Test (5) Done

Example of a team workflow with progressive steps (by different handlers)

Dev (3)Design (3)

Page 18: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

An Event-Planning Kanban Board

Ready (6) Finalize (5)

Done

Example of a (one-person) workflow with phases

Short List (3)

Research (3)

Page 19: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

The Broader Picture

Ready (3) Doing (3) DoneBacklog Reflect

Page 20: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Scrum Board

Ready Test Done

For work with progressive steps

DevDesignStory

Page 21: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Scrum Board

Ready Test Done

Distinguishes stories (here in white) from tasks (in yellow)

DevDesignStory

Page 22: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Scrum Board

Ready Test DoneDevDesignStory

Stories stay in the left column while tasks progress to the right

Page 23: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Scrum Board

Ready Test DoneDevDesignStory

Page 24: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Scrum Board

Ready Test DoneDevDesignStory

Page 25: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Scrum Board

Ready Test DoneDevDesignStory

Page 26: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

A Scrum Board

Ready Test DoneDevDesignStory

Page 27: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Now, Back to our Kanban Board...

Ready (6) Test (5) DoneDev (3)Design (3)

Page 28: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

“Pulling” Kanban Cards

Ready (6) Test (5) Done

Sub-lanes show when steps are completed (ready to be pulled)

Dev (3)Design (3)

Available to be pulled

Still in progress

Page 29: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Why Limit Ready Column?● Enforces delaying decisions until last

responsible moment● It's how the Product Owner “negotiates” with the

team – PO (representing stakeholders) decides what, Team decides in what order (by pull)

● Work is tracked according to the time it enters the Ready column until it lands in the Done column (“lead time”). A ready limit makes that meaningful.

Page 30: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Highlighting Priorities

Ready (6) Test (5) Done

!

Some options: Notation symbols on the cards, color coding of the cards, sub-lanes, or a combination thereof.

Dev (3)Design (3)

!

B A

Page 31: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Differentiating Work

Ready (6) Test (5) Done

Feature (value to customer)

Dev (3)Design (3)

! !

Infrastructure (value to team)For example...

Page 32: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Flagging Impediments

Ready (6) Test (5) Done

Impeded

Dev (3)Design (3)

! !

Page 33: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Flagging Impediments

Ready (6) Test (5) Done

Impeded

Dev (3)Design (3)

! !

Impeded work is still WIP-limited

Page 34: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

What About Story Size?

Ready (6) Test (5) Done

It doesn't seem to matter. Kanban case studies, so far, indicate that it's much more lucrative to be concerned

with idle time between activity than the activity time itself.

Dev (3)Design (3)

Adjust them? Denote them? Track them?

Page 35: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Kanban Analysis Types

● By reflecting on outlier stories● By looking for patterns on the Kanban Board● By tracking cycle time● By tracking flow

Page 36: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Reflecting on Outlier Stories

Ready (3) Doing (3) Done

_

Backlog Reflect

____

_

__

Outlier: Work with Extra-Long, or Extra-Short Cycle Time

.

Page 37: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Reflecting on Outlier Stories

Ready (3) Doing (3) Done

_

Backlog Reflect

____

_

__

Outlier: Work that was Particularly Pleasant or Unpleasant

.

Page 38: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Possible Actions: Outliers● Is it a problem/opportunity?● Dig deep (“5 Whys?”) to get from the

proximate cause to the root cause● How might the delay have been mitigated?● Retool &/or Retrain● Definition of Ready issue?

Definition of Done issue?

Page 39: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Development Bottleneck

Ready (6) Test (5) Done

Step-completed still counts in WIP Limit

Dev (3)Design (3)

Page 40: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Testing Bottleneck

Ready (6) Test (5) Done

Step-completed still counts in WIP Limit

Dev (3)Design (3)

Page 41: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Design Bottleneck

Ready (6) Test (5) DoneDev (3)Design (3)

Page 42: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Possible Actions: Bottlenecks Note: Occasional bottlenecks are good. They interject welcomed slack time. What you want is a roughly even distribution of slack time across the functions. If not, then ...

● Cross-functional “swarming”● Add manpower● Retool &/or Retrain● (DO NOT just increase WIP Limits)

Page 43: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Recurring Impediments

Ready (6) Test (5) Done

Impeded

Dev (3)Design (3)

! !

Page 44: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Possible Actions: Impediments ● Revise the Definition of Ready – Don't start the

work until you know it won't be impeded that way

● Reassign responsibility for impediment-causing work to the Team (i.e. make the external resource join the team)

● (Rarely) revise the Definition of Done to exclude the impeded work (i.e. pushing responsibility for that part off the Team)

Page 45: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Tracking Cycle Times

Ready (3) Doing (3) Done

Backlog Reflect

Born Begin WIP Done

Page 46: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Cycle Time

Ready (3) Doing (3) Done

Backlog Reflect

Page 47: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Lead Time

Ready (3) Doing (3) Done

Backlog Reflect

Page 48: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Counting Flow

Ready (6) Test (5) DoneDev (3)Design (3)

3 1 5 2

Page 49: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Cumulative Flow Diagram

Done

Test

Dev

Design

Page 50: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Actions: Encroaching Channels

This is basically early detection for bottlenecks, so...● (Same actions as Bottlenecks)

Page 51: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Control Chart

X-axis: One column per story completed

Trend line (running average)

Y-axis: Lead time (subtract Begin date from Done date)

Page 52: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Control Charts Compared

Page 53: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

Possible Actions: Wavy Trendline

Can the hiccups be explained? If not, then...● Smaller stories● Reduce the WIP limits (yes, reduce)● Attend to impediments● Remove distractions

Page 54: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

INVEST = Well-Written Stories

● Independent● Negotiable● Valuable● Estimable● Small● Testable

Page 55: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

INVEST = Well-Written Stories

Small vs. Independent______

As small as possible, yet still has intrinsic value

Page 56: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

As a (role)

I want Kanban in my tool box

So that (expectation)

How'd I do?

Page 57: Intro to Kanban - Craig Jones · Intro to Kanban by Craig L. Jones ... TQM Lean ISO 9000 CMM Kanban Drum-Buffer-Rope MRP CONWIP. Kanban means “Sign Board ... kanban card = “signal

© Craig L. Jones, 2011.All rights reserved.

http://www.ChiefSimplicityOfficer.com___________

If you would like to schedule this, or another of my presentations, for your group, don't hesitate to contact me.

[email protected]