94
© 2009 Proyectalis Gestión de Proyectos S.L. What if…? A sneak preview on Lean, Agile and Scrum in four acts November 2009

Brief Introduction to Lean, Agile and Scrum

Embed Size (px)

DESCRIPTION

A brief introduction to Lean, Agile and Scrum that we use whit our clients. Hope you enjoy it and many thanks to the people we take some slides from: Henrik Kniberg and Jeff Patton amongst others.

Citation preview

Page 1: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

What if…?A sneak preview on Lean, Agile and Scrum in four acts

November 2009

Page 2: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Ángel Medinilla

Telco Guy - cable, radio & ISP/portals

13 years in IT, 11 as a ProjectManager

Entrepreneur, blogger Aikido, Motorbikes, WoW,

books, cooking, wines, music,travel, comics,movies…

Certified Scrum Master - ScrumAlliance Member, Agile Spainco-founder, PMI member

[email protected]

Page 3: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

ICT Project Management Consulting

Our mission is to improve the results of ourclient’s projects and initiatives

Page 4: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Ourbusiness isto create

differences

Page 5: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

…and improve yourcompetitive advantage

Page 6: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Some references

Page 7: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Enough about us…

Page 8: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Intro Act one: the world Act two: Lean & Agile Act three: Scrum Act four: implementation Epilogue: books & references

Page 9: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Act one

Page 10: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.The world of projects

Page 11: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.Yap, for sure…

Page 12: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

The awful truth Estimates are never correct Nobody knows what impediments may

arise Objectives are not understood Constant changes Client doesen’t know what he wants Developer doesnt’t know how to write it

Ergo… Commitments are not met There’s no project visibility Over time, over budget Who are we going to blame?

Page 13: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

The Standish report

Page 14: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

El Standish Report Cancelled: 31% Problems: 53% Successful: 16%

Never-used functionalities: 64% Seldom used: 16% Used: 20%

Page 15: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

In four words…

Page 16: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

The golden triangle

Good, beautiful, cheap… fix two!

?Time Scope

Resources

Page 17: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Typical reasons Requirements Objectives Changes Planning Methodology Visibility Organization

PM

Page 18: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

But don’t youworry nomore…

ProjectManager ishere!

Page 19: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Or here?

Page 20: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Page 21: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

A fateful heritage

PoliticsProcedures

ControlInspection

SupervisionBureaucracy

Unhappyworkers

WaterfallISO9000CMMITQMITIL

PMBOKPRINCE2

Page 22: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Page 23: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Page 24: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Thin is In

Page 25: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Try another way!

Page 26: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Here comes Edward Bearnow, down the stairsbehind Christopher Robin.Bump! Bump! Bump! onthe back of his head. It is,as far as he knows, theonly way of coming downstairs. He is sure thatthere must be a betterway, if only he could stopbumping for a momentto think of it”

A. A. Milne, Winnie-the Pooh, Chapter 1

Page 27: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Or we can do “same thing andexpect different results”

Page 28: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

The Buzz:

4 -12 x performance& quality (“Toyotaeffect)

Lower managementoverhead

Superb motivationlevel

“New Deal” with ourclients

Page 29: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Act two

Page 30: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Lean”

All muscle, nofat

Focus on whatclient needs andappretiates:follow client’spriorities

Everything elseis waste (Muda)

Page 31: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Lean = Value - waste

Gastonecesario( trabajoincidental oaccesorio )

Mura

Muda

Page 32: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

The Lean Enterprise

Page 33: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Meanwhile, in Detroit…

Page 34: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Hundreds of tools…

LEANLEANKanbanKanban VSMVSM

A3 A3 ThinkThink KaizenKaizen

KaizenKaizen

VisualVisualMngmtMngmt

CellCell ProdProd

5S5S

PDCAPDCA

RCARCAJidokaJidoka

TPMTPM SMEDSMED

QFDQFD

JITJIT

VA/VEVA/VE

PokaPoka--YokeYoke

ManageManagebybyexceptionexception

TaktTakt Time Time

AndonAndon

HoshinHoshinKanriKanri

OneOne piecepieceflowflow

StandarizeStandarize

Go and seeGo and see

ZoneZone control controlU-U-CellCell

SixSigmaSixSigma

HeijunkaHeijunka

Page 35: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

The principles

Page 36: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Waterfall”

Page 37: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Waterfall and Software

Emergent requirementsConstant Change

Unpredictable processesHeterogeneous projectsContinuous integration

High communication neededChanging technology

High complexity

Page 38: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

A new model needed

Empirical process (inspect and adapt)Iterative and incremental development

Customer colaboration & communicationEmbrace change

Fixed time + fixed money = variable functionality

Page 39: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Agile Manfesto

Individuals and interactions over processes and toolsWorking software over comprehensive documentation

Customer collaboration over contract negotiationResponding to change over following a plan

Over ≠ Instead of

Page 40: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Principles:1. Satisfy your client2. Changes welcome3. Customer-Team collaboration4. Release early, release often5. Excelent quality6. Keep It Simple, Stupid7. Progress = Working software8. Self-organizing teams9. Motivation10. Face to Face11. Retrospectives12. Sustainable pace

Page 41: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Sounds good?

Page 42: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

But it’s not…

Page 43: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Nor…

Page 44: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Three keyconcepts:

Inspect and adapt Iterative and incremental People

Page 45: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Empirical Process

Visibility, transparency Inspect and adapt (adaptative

approach vs predictiveapproach)

PDCA (Painters and DecoratorsContractors of America…No,watit…Plan, Do, Check, Act -Deming’s Circle)

Page 46: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Predictive approach

Requirements

Design

Delivery

Order

CD

R

PP

Real need

Page 47: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Adaptative approach

C

Vision

Real need

Page 48: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Empirical” is not…

Page 49: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

See “empirical” in action!

Page 50: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

NO:

1 2 3

User hasn’t got a perfect idea of what he wants.Changes are detected on late stages.

Iterative & incremental

© 2006-2008 Jeff Patton, www.agileproductdesgin.com

Page 51: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

User discovers what he wants as he sees.Changes are detected in early stages.

Iterative & Incremental

© 2006-2008 Jeff Patton, www.agileproductdesgin.com

YES:

1 2 3

Page 52: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

What are Agile companiesusing?

2nd Annual ”State of AgileDevelopment” Survey

Jun-Jul 2007

3rd Annual ”State of AgileDevelopment” Survey

Jun-Jul 2008

Page 53: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Act Three:

Page 54: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

S.C.R.U.M

SCRUM

Scrum !

Page 55: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Scrum! Works good withundefined / changingrequirements

Good impedimentsmanagement

Gives maximum valuefor a given effort

Can manage verycomplex projects

Gives a sense ofurgency, removes the“student syndrome”

Page 56: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Scrum for Managers Give customer delivery

dates (and accomplish). Daily progress visibility. Improves performance and

motivation (warning! Onlyif done properly).

Reduces managementoverhead.

Gives a beter ROI

Page 57: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Sample companies doing Scrum

Page 58: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

What Scrum is NOT:

A Silver Bullet

Page 59: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

-“Naysayers”- Messy organizations- Bureaucracy

¡Lo siento! Haber elegido la píldoraazul…

- No authority, no empowermet- Uncommitted management- Conflictive customers…

Page 60: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Scrum 101

Retrospective

Page 61: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Ten commandments of Scrum1. People2. No silver bullet3. Retrospectives, retrospectives, retropectives4. Daily Scum, daily management5. Progress = functional product (measure what’s left, not

what we’ve done)6. Self management of the team, abandon command & control7. Iterative & Incremental developmen8. Only team manages Sprint Backloj, Only product owner

manages product backlog9. Fixed duration for sprints10. Define “done, done”

Page 62: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

The greatest and firstcommandment…

¡Time Boxing!

Page 63: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Scrum Framework

Artifacts

Product backlog Sprint backlog

Scrum board

Impediment backlog

Roles

Product owner

Scrum Master

Team

ReunionesProduct planning Sprint planning Daliy Scrum

Retrospective Demo

Page 64: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Roles Rol ≠ line, company positions Pigs and chickens

Page 65: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Product Owner

Gather requirements Manages vision Prioritize and manage

product backlog Accepts deliverables Manages roadmap Economical responsibility Scrum / company

interface “Feathered pig”

Page 66: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Scrum Master “Shepherd dog”, servant

leader, Coach Team member Works closely with product

manager Keeps and manages the

impediments list Keeps the Scrum process

moving on Improves team quality of life

Page 67: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Team

Estimates project Commited with delivery of

done-done product Report progress Multifunctional Self managed but

responsible before productowner

7±3 members

Page 68: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Artifacts Product Backlog

Contains every functionalityto be built

Prioritized and estimated Sprint backlog

Subset of product backlog To be built in next sprint Every functionality is divided

in tasks (4-16h) Must produce a shippable

product increment

Page 69: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Basic Product Backlog

1720Functionality C

3250Functionality B

24100Functionality A

Estim.Priot.Story

Page 70: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Not-so-basic product backlog

DESEABLE

DEBERÍA

IMPRESCINDIBLE

Nivel

19201720PENDIENTEJuanFuncionalidadC

36403250PENDIENTEPedroFuncionalidadB

9107PENDIENTEPacoTarea 5

453PENDIENTEJuanTarea 4

996INICIADAMaríaTarea 3

475INICIADAPedroTarea 2

143TERMINADAJuanTarea 1

273524100INICIADAJuanFuncionalidadA

TestDescripción

Estimación /Buffer

Estimación 90%

Estimación 50%

ImportanciaEstado

ResponsableTareasHistoria

Page 71: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Visual Management

Information radiators

Page 72: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Pending Dev. Test DoneStoryProject:

Team: Scrum, Demo:

Burn-down::

Release Plan:

Impediments:

Page 73: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Page 74: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Scrum&XP from the trenches”,www.crisp.se/henrik.kniberg/ScrumAndXpFromTheTrenches.pdfwww.proyectalis.com/scrum-y-xp-desde-las-trincheras/

Page 75: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Page 76: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Scrum&XP from the trenches”,www.crisp.se/henrik.kniberg/ScrumAndXpFromTheTrenches.pdfwww.proyectalis.com/scrum-y-xp-desde-las-trincheras/

Page 77: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Scrum&XP from the trenches”,www.crisp.se/henrik.kniberg/ScrumAndXpFromTheTrenches.pdfwww.proyectalis.com/scrum-y-xp-desde-las-trincheras/

Page 78: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Burndown

Page 79: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Smells”

Page 80: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Act four:

Page 81: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Scrum Master Miyagui says…

Page 82: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Why so many teams fail?

They build tools, but forget principlesPrinciples must root in corporate culture

“Culture Eats Strategy ForBreakfast”

Page 83: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“It’s culture, stupid!”

Deciding to change and improve s easy. Making peoplechange and improve is very, very difficult.

If we are to change the company, we must change thecompany’s culture

Page 84: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

10 steps

1. Convince management2. Stablish corporate values3. Train everyone4. Build product backlog5. Design calendar6. Make teams work the backlog7. Sprint!8. Retrospective9. Work on impediments10. Stablish metrics

Page 85: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

“Every ten thousand miles trip beginswith a single step”

Lao Tze

Page 86: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Epilogue…

Page 87: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

To read:

“Agile Software Development with SCRUM”, “AgileProject Management with SCRUM”, “The Enterprise andScrum”, Ken Schwaber

“Scrum y XP from the trenches”, Henrik Kniberg

Page 88: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

To read: “User Stories Applied”, Mike Cohn “Agile Estimation and Planning”, Mike Cohn “Agile Retrospectives”, Esther Derby y Diana Larsen “Peopleware”, “Walting with Bears”, Tom DeMarco &

Timothy Lister “The Mythical Man-Month”, Fred Brooks

Page 89: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Bonus:

Page 90: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Software tools Commercial:

VersionOne Scrum for VSTFS+ Conchango template ScrumWorks Acunote (hosted, free for OpenSource projects) Scrum Desk (hosted or SQL sever +/-TFS) Jira (bugtracking) + confluence (wiki) + Bamboo (CI)

Page 91: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Herramientas Free / Open Source

Red mine + scrum plugin Agilo, Trac (Bug Tracking), Bugzilla, Scarab BananaScrum (hosted), Ice Scrum, Agilito, Acunote… Git, Subversion (CVS) Gnats (Bug Tracking + Scrum, muy customizable, requiere

trabajo) xUnit, abbot, selenium, Fitnesse, Cruise Control, jMock…

Page 92: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Tools

Our approach: DokuWiki + excel

Page 93: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Best tools ever

Page 94: Brief Introduction to Lean, Agile and Scrum

© 2009 Proyectalis Gestión de Proyectos S.L.

Questions?

[email protected]