BoreNO

Running Hands-On Mob Programming Sessions for Complex Refactoring

Designed for Senior software engineers and technical leads tasked with guiding teams through multi-step, legacy code refactoring using mob programming to spark real collaboration and high-energy learning.

A 90-minute hybrid workshop, with participants joining from both open-plan offices and remote workstations. Audience feels frustrated by slow progress and recurring merge conflicts during high-stakes refactors; many struggle to keep everyone actively engaged and aligned in mob settings.

Icebreaker
Activity 1

Refactor Mystery Reveal

Kick off with a short code snippet from a notorious, tangled function in your company’s codebase (or an anonymized equivalent). Ask: 'What do you think caused this mess?' Invite quick guesses. Then show a timeline of actual decisions, highlighting surprising turning points. This immediately sparks curiosity about refactoring roots and why mob programming can help.

Tap to view the full activity.

Why this works

Curiosity and surprise activate engagement and prime the brain for learning; revealing the unexpected history of code prepares participants to embrace collaborative change.

Icebreaker
Activity 2

Mob Myths—Fact or Fiction?

Run a rapid-fire round of 'Fact or Fiction?' using statements such as: 'Mob programming slows teams down', 'Only extroverts thrive in mobs', and 'Refactoring is always safer solo.' Participants vote anonymously via app or colored sticky notes, then you reveal the research-backed answers, sparking discussion.

Tap to view the full activity.

Why this works

Surfacing misconceptions and immediately clarifying builds trust; correcting myths clears mental barriers to trying new collaborative approaches.

Icebreaker
Activity 3

Silent Refactor Sketch

Hand out a printed (or digital) flowchart of a problematic module. Challenge each participant to silently annotate the chart with post-its (or digital notes): What would they change first? After 3 minutes, everyone shares their initial ideas, seeing the diversity of approaches. No wrong answers, just open sharing.

Tap to view the full activity.

Why this works

Low-pressure silent ideation lets quieter voices shine and primes the group for inclusive collaboration, lowering the stakes before public critique.

Icebreaker
Activity 4

Mob Refactor Relay

Split participants into mini-mobs (3-5 each). Each group gets a chunk of legacy code and a refactor goal. Set a timer: each person codes for 2 minutes, then rotates, narrating their thinking as they hand off. Teams race to see which mob can achieve the most meaningful change in 12 minutes. Loud, fast-paced, and energizing.

Tap to view the full activity.

Why this works

High-energy, time-bound collaboration simulates real mob programming and emphasizes the importance of communication and collective momentum.

Icebreaker
Activity 5

Stakeholder Sabotage Scenario

Present a real-world dilemma: ‘Mid-mob session, a product owner drops in, demanding a rushed change that compromises your refactor. What do you do?’ Teams pair up and brainstorm strategies—protecting code quality vs. navigating business pressure. Groups pitch their best solution and vote for the most effective compromise.

Tap to view the full activity.

Why this works

Anchoring skills to genuine dilemmas builds transfer; confronting the messy realities of stakeholder input raises the stakes and deepens practice.

Icebreaker
Activity 6

Success Story Snapshots

End with each participant sharing a 1-minute story: either a time they tried mob programming for refactoring (success or struggle) or a personal goal for improving their team’s refactor approach. Facilitator gently connects stories to workshop themes, reinforcing learning and personal ownership.

Tap to view the full activity.

Why this works

Personal reflection and storytelling cement learning; sharing lived experiences builds psychological safety and commitment to action.

Sign up to unlock 3 more activities

Get the full pack, facilitation flow, and more ready-to-run ideas.

Sign up with email