Published

What a Sprint Lead who still writes code should protect

A Sprint Lead who still writes code has two jobs that want the same hours. Delivery work is interrupt-driven, and programming needs long stretches without interruptions. Do neither deliberately and you end up doing both badly, while feeling busy all day.

These are my opinions on what's worth protecting in that role, and how.

Protect the team's focus before your own

The most valuable thing a lead can do is absorb interruptions. Questions from other teams, requests to look at something quickly, a priority that changed this morning: they all arrive somewhere, and if they arrive at every engineer, nobody finishes anything.

So make yourself the front door. People should know that a new request goes through you, and you decide whether it interrupts anyone. Most can wait for the next planning session. Some need a quick answer that you can give yourself. A few really are urgent, and those are easier to treat seriously because the team isn't constantly being told everything is.

Saying "not this sprint" is a large part of the job. It's easier when there's a visible list of what would have to come out to make room.

Don't put yourself on the critical path

This is the trap for anyone who was promoted for being a strong engineer. You pick up the hardest ticket, then spend the week in meetings, and the most important work in the sprint is now the most stalled.

I'd take work with these characteristics instead:

  • It's useful, but nothing else is waiting on it.
  • It's something like a test improvement, a small fix, a spike or a tool that removes friction.
  • It keeps you in the real code, so you see what the team sees.

Staying in the code matters. A lead who has stopped building loses a sense of how long things take and where the system hurts, and estimates start to float away from reality. The goal is contact with the codebase, not being the top contributor.

Protect review time

A pull request waiting two days costs far more than two days. Its author has moved on, the context has to be rebuilt, the branch has conflicts and the next change is stacking up behind it. Work spends more time waiting than being worked on, and review queues are one of the biggest waits.

Make reviewing the first thing you do, before your own coding. Agree as a team on how quickly a review should happen. Keep changes small, because a 200-line pull request gets read and a 2,000-line one gets approved.

Also watch that you aren't the only reviewer. If everything needs your approval, you've built a bottleneck and called it quality. Spread it around, and let people approve work in areas they're still learning, with someone experienced alongside them. That's how they stop being new to it.

Protect the small batch

Under pressure, work grows. Stories get bigger, branches live longer, and things get bundled together to save time. It almost never saves time. Small changes are easier to review, safer to release and simpler to undo.

So ask the same question at refinement every time: what is the smallest piece we could ship and learn from? If a story can't be finished inside a sprint, it's usually two or three stories that haven't been separated yet.

Protect capacity for the system itself

Technical debt rarely wins a priority discussion against a feature, one item at a time. So don't have that discussion item by item. Agree on a share of each sprint's capacity for maintenance, upgrades and fixing what slows the team down, and defend the share rather than each ticket.

Connect the work to something people outside the team care about. "Refactor the billing module" loses. "Changes to billing take about three times longer than they should, and here are the last five to show it" can win.

Protect honesty about the sprint

Sprints go off course. The damage comes from finding out on the last day. If something's slipping, say so as soon as you know, along with what you propose to drop. Stakeholders can adapt to almost anything they hear early.

Inside the team, this means a blameless response when things go wrong. If someone gets punished for raising a problem, the next problem will arrive later, and larger. A velocity number that's used as a performance target will soon stop being accurate as well.

Protect your own calendar, on purpose

None of this happens by accident. What works for me is treating coding time as a real appointment: a couple of fixed blocks in the week, ideally in the mornings, with meetings clustered around them. Some weeks it won't hold, and in those weeks the leadership work comes first, because that's what the role is.

It also helps to accept that you'll write less code than you did. The measure has changed. It isn't what you personally shipped. It's what the team shipped, how predictably, and whether the people on it are better at their work than they were six months ago.

The best sign that this is working is a slightly uncomfortable one: you take a week off, and nothing much changes.