Scrum&kanban in the mobile development team's practice series:
The practice of Scrum&kanban in mobile development team (i)
The practice of Scrum&kanban in Mobile development team (II)
The next Scrum development model was introduced in the first sharing article, introducing the roles, development phases, and what needs to be done at each stage of scrum. In this share I will introduce Kanban mode, relatively lightweight compared to Scrum,kanban.
First share some dry foods:
Kanban vs Scrum Mini Book: Kanban and scrum-making the most both Chinese
Here's a very classic Kanban diagram.
Kanban highlights several points:
- Visualization of processes
- Limit WIP (work in Progress)
- Measure the production cycle
visualization of the process
As shown, Kanban emphasizes the visualization process, usually the team can break down the requirements into small tasks, a small card to write a task, and put the card on the wall. There are a lot of agile development tools that can support visual management now, but I recommend this "primitive" approach to the wall. This makes it "mandatory" for all members to see the entire kanban very easily, with any problems and updates at a glance.
- Each task will have a different state, so each column on the wall needs to define the state. Our approach is divided into next, analysis, development, QA four stages, each stage has ongoing and done two sub-stages.
- Each stage has a state of ongoing and done, and "definition of Do" at each stage needs to be precisely defined to ensure that all team members agree on a completed definition. Here are some examples of definitions:
- Analysis-definition of Done:backlog is well established, providing a description of the requirements, providing Mockui
- Development-definition of Done: functional implementation, the programmer has tested itself, through the unit test, the code Review, codes merged into the develop branch
- Qa-definition of Done: complete functional tests to fix all high-priority bugs
- Each task is as thin as possible, guaranteeing no more than one weeks of work.
- Each task is assigned to a specific person. If multiple platforms work together, such as Ios/android/server, you can assign several copies of the task to different people, which will ensure that the developer has ownership on the task.
Here are the kanban walls our team practices:
- Four stages (columns): Next, analysis, development, QA. Each stage has onging and done.
- Four small teams (lines): Android, IOS, Web, Server
See the note in the final state of the more accumulated more is a sense of accomplishment!
Limit WIP (work in Progress)
One of the core concepts in Kanban is the limitation of WIP, which simply means that the number of ongoing tasks under each state is capped. There are many benefits to this.
- Allows team members to be more focused
- Once a task is blocked, the team will know the first time and it is easy to spot the problem, when the team can focus on blocking issues
- Every time you plan a task, you will consider doing the most important thing first, avoiding the late-stage random task.
The following comic book is a good description of the role of WIP, you can understand:
The WIP model looks beautiful, but it's not easy to practice, and you need to be very strict with the WIP restrictions. Many times the team will be forced by external pressure, and constantly increase their work, so kanban above the small note more and more, this is actually very impact on efficiency. So the Kanban pattern also requires a role similar to scrum master to protect these principles.
What should the number of WIP settings be? In fact, this is different from the team, can be constantly adjusted to everyone feels more comfortable state. You can initially suggest simple, rough settings, such as how many people a developer has, and how many development WIP are set up.
measure the production cycle
Kanban's model does not have a fixed development cycle, there is no specific planning, development, release phase, all the things are to pipeline to continue. So how does the Kanban model evaluate the efficiency and cycle of production?
General reference-Cumulative flow diagram (stacked chart?) )
This graph counts the number of tasks accumulated per day, in each state. Portrait can indicate the role of WIP, and landscape can indicate the approximate time required for each task to complete.
I usually focus on the slope of the trend line in each state, the larger the slope, the less time it takes to develop the task, and the greater the team's efficiency. At the same time, to ensure the smoothness of the trend lines of each state, the slope should be broadly consistent, so that the task does not accumulate too much in a certain state and affect the overall delivery efficiency.
Kanban is not overly cumbersome in its approach to scrum, and only highlights three things:
- The process of visualization
- Limit WIP
- Measure Generation Cycle
Kanban is a very efficient management tool, but because of the lack of many of the scrum specifications, the actual operation is not easy, in the real world Kanban is often used in conjunction with scrum, the use of mutual learning experience fusion.
The practice of Scrum&kanban in Mobile development team (II)