When the Only Dev Becomes the Lead
- tech-leadership
- leadership
- delegation
- career
- startup
Guilherme Mota
Keep reading
Handling a Request With No Scope
Lessons from turning a one-line request for in-app phone calls into a shipped feature in two weeks, from finding the real pain to the signed contract.
- scope
- product-development
- voip
- webrtc
- zenvia
- tech-leadership
Migrating the Bill, Not the Architecture
Lessons from a hybrid cloud migration from AWS to Huawei Cloud that cut the bill by about 17%: map the cost first and move only where the money is.
- aws
- huawei-cloud
- hybrid-cloud
- cloud-migration
- finops
- devops
This year I went on vacation to another country and left my laptop at home. When I came back, our CEO told me he had not even noticed I was gone, and for me that was the best review I could get as a tech lead.
It took me years to get there. Going from the only developer of a company to its tech lead is a change of job that rarely comes with a date. One day you are the person who builds everything, some time later you are the person responsible for a team that builds it, and nobody tells you when the second job started.
Done well, the team grows, the work stops waiting for you, and you get your time back for the problems only you can solve.
When the best player of a team becomes its coach, the goals he scores stop counting. What counts now are the goals the team scores, and if he keeps running onto the field, the team never learns to play without him (and the crowd still cheers when he scores, which makes it even harder to stay on the bench).
The common approach is to stay the best individual contributor and add the lead's meetings on top. That fails because your output is capped at your own hours, and the team never gets the hard tasks that make people grow, so the gap between you and them only gets wider.
In my case, I was the only developer of a startup for about two years, and I never had anyone more senior to learn from, so most of what follows I learned by getting it wrong first. This post is the first of a series about becoming a tech lead with no one above you. It is not a tutorial but a set of lessons, and the short version is: measure yourself by what the team ships without you.
We will go in five parts. First the years as the only developer, then the moment I noticed I was still on the field, then learning to hand work over, then building processes that scale, and in the end growing people on purpose.
Being the Only Dev for Two Years
Being the only developer shapes how you work long after you stop being the only one. This part is about where my habits came from, and in the end you will see why "I" was the natural way for me to think about the work.
Building Everything Alone
For about two years, I was the whole development team of the startup. Every feature, every deploy and every incident went through me, and nobody reviewed my code because there was nobody to review it.
That teaches you a lot, fast, but it also teaches you that the work is done when you finish it. Since there was no one to hand anything to, delivering everything myself, with quality, was the job.
Watching the Team Grow (and Shrink)
After those two years, people started to join. Two developers came and later left, then another one, then one who became a great friend, then two who are still at the company today. Each new person changed how much I could do alone, but not how I thought about the work.
The hard part came when four people joined almost at once, with very different profiles, and the team reached its largest size: seven developers. That is when I started doing one-on-ones and individual development plans, and also when I made most of my mistakes as a leader (mainly because I did not know how to have difficult conversations, which is a story for another post in this series).
One of the best surprises of that time came from outside the team. An analyst from our support team said that if he could not become a developer, he would look for that chance somewhere else, so he became one, and he surprised everyone. Around the same time, my friend from the team became our product lead, so we stayed at seven developers. Later, with everything AI changed in how software is built, we had to restructure the teams, and today engineering is split into solutions, which works directly with customers (much like a forward deployed engineer), and technology, which takes care of infrastructure, SRE, support and the technically complex work.
I lead technology, and after a layoff, that means two developers today.
Earning the Title Slowly
The more time passed, the more people saw me as the lead, but it took a while for me to see it too. At first I was not even seen as the technical reference of the team, and I earned that place over the years, one problem at a time.
The last person to see it was me. I moved up in my career very fast, and impostor syndrome came with it: even when people already treated me as the technical reference, it took me a long time to see myself that way.
Keep in mind that a title and a habit change at different speeds. I already had the role, but I was still working like the only developer.
Noticing I Was Still on the Field
The sign that a tech lead is still playing is rarely a problem in their own work; it is a gap between their work and the team's. This part is about the sign I missed and the call that pointed it out, and in the end you have a way to check it in your own team.
Delivering Everything, With Quality
At that time I was deep in the operational work, delivering almost everything, and delivering it well. From the inside, that looked like a good lead: things shipped, incidents were solved, and the quality was high.
The problem was on the other side of the gap. The team was not growing technically at the pace it could, since I was the one doing almost everything.
The Call That Named It
About two years ago, when we were already seven developers, I had a call with our CEO and our product manager about the week's work. We reached a task the CEO had sent to me, which I had already picked up, and he pointed out that it came to me, but I did not have to be the one doing it.
His feedback was simple: I had to start delegating more. I agreed with him.
Finding Out Delegating Is a Skill
Agreeing was the easy part. What I found out in the next months is that delegating is a skill of its own, and that most of it is the work you do so that other people can receive a task from you.
So, the check for this part: look at the last month and ask which hard problems the team solved without you. If the answer is "none", you are probably still on the field.
Learning to Hand Work Over
Delegating a task means giving away the problem, not only the typing. This part covers the four things that made it hard for me and one step that helped, and in the end you have the way I write a task for someone today.
Trusting Someone Else Can Do It
The first barrier was trust. Before handing over a task, I had to believe that the other person could handle it technically, and after years of doing everything myself, my default answer was "it is faster if I do it".
The catch is that this answer is always true at first. It stops being true only after you hand the task over a few times, so the trust has to come a little before the proof.
Finding the Right Dose of Context
The second barrier was knowing how much context a task needs. At some point I swung to the other side and started writing tasks in great detail, down to the architecture and the names of the functions.
That feels like good delegation, but it takes away the chance for the person to learn and get better with the task (they only type what you already solved). Today, for every developer on the team, I describe only the problem, the context and the result we want to reach.
In the past I had to detail a lot more, and I see that change as one of the clearest signs that the people on the team today are no longer juniors.
Asking for a Plan Before the Code
One thing that works well with a harder task is a study step. The person takes some time to study the problem, then presents what they plan to do before writing the code, and that conversation points the work in a good direction without me giving the answer.
Keep in mind that the study step is a stage, not a rule forever. Over time the person gets better and you gain enough trust that they no longer need you even to validate the plan.
Accepting a Solution Different From Mine
The third barrier was the hardest to admit: I thought my solution was the only ideal one. So every solution that was different from mine looked like a mistake, even when it worked.
Learning that a different solution is not a wrong one is a story of its own (it is about code reviews, and it deserves a post of its own). For now, keep in mind that if the result is right and the code is easy to maintain, the path to it is the other person's to choose.
Choosing Tasks That Make People Grow
The fourth one took me longest to see: the kind of task you hand someone is one of the biggest sources of growth they will have. When I was a junior, I got the chance to rewrite a platform from scratch, and I learned more from it than from anything else.
So delegating is not only clearing your own list. It is also picking, on purpose, the task that will stretch each person a little beyond where they are.
Building Processes That Scale
A process answers a question once for the whole team, instead of once per person who asks you. This part shows the processes that took the most weight off me, and in the end you have a short list to start from.
Writing Tutorials for the Risky Jobs
The jobs that used to stay with me were the risky ones: upgrading a database, upgrading Kubernetes and other infrastructure resources. So I wrote a tutorial for each of them.
A tutorial turns "ask the lead" into "follow the doc", and it improves every time someone follows it and finds a missing step. Today the developer who is my right hand runs our Kubernetes upgrades.
Using Templates to Create Resources
Creating infrastructure was another job that depended on me. Terraform templates made it easier, since a new resource starts from a version that already follows our standards, instead of from a blank file and a question in the chat.
Turning AI Into a Shared Process
The same idea works for how the team uses AI to write code. Instead of each person using it in their own way, I built a harness, a shared setup of rules, docs and scripts that every developer works with (I wrote about it in Building a Harness for Your Team).
Keeping Guardians for What Cannot Be Shared
Not everything should be open to everyone, and not everyone can hold every role. So some subjects have a guardian: architecture, for example, is always validated by the tech lead.
That is not the opposite of delegating. The team builds with autonomy, and the guardian keeps quality under control at the one point where a mistake is expensive to undo.
Growing People on Purpose
Growing people does not happen as a side effect of shipping; it needs its own routine. This part is the routine I use today, and in the end you have a way to describe seniority that people can actually work toward.
Giving Feedback the Moment I Notice
Feedback works best close to what caused it. So as soon as I notice something, I say it: depending on the situation, a message is enough, and sometimes I call the person for a quick talk.
That goes for both sides. A point to improve gets the same speed as a job well done, so feedback stops being an event people fear and becomes a normal part of the week.
Code review used to be one of the best places for this kind of learning. With AI writing a good part of the code, it teaches less than it used to, which is one more reason to make feedback a habit of its own.
Reviewing Progress in One-on-Ones
Besides the feedback in the moment, I have a one-on-one with each developer, usually once a month. That is where we look at the bigger picture: how the person is doing against their individual development plan, and what comes next.
Measuring Seniority as Autonomy
The development plan is split into the soft skills and the hard skills the role needs, taking into account how we work with AI today. Each topic has 5 levels, and they go from the person depending on others to the person being autonomous, since in my view that is what makes someone junior, mid-level or senior in a subject.
Here is one topic from the tech lead plan, "being the technical foundation for every area", which asks whether someone outside tech with a technical problem has a short path to you:
Roughly, levels 1 and 2 are junior, 3 is mid-level and 4 is senior. Level 5 is the person who becomes the guardian of that subject; usually the tech lead or a specialist reaches it in a few specific ones.
Notice that the last level is the point of this whole post. The top of the plan is not doing everything yourself, but making sure the team does it without you.
Where to Go Next
The change from "I" to "the team" did not happen overnight; it was built one task, one process and one conversation at a time. Today I trust the team completely, and the proof is in what happens when I am not there.
The developer who is my right hand went from junior to senior: he runs our Kubernetes upgrades, solves incidents, and people already see him as a reference. The other one went from junior to mid-level, solves support tickets without calling me to ask, and brings more and more suggestions of his own.
On my last vacation, a trip to another country, my right hand covered everything I am usually responsible for, which is how I could leave the laptop at home (and how the CEO could not notice I was gone).
If you just became a lead after years of doing it all, start this week with one task you would normally do yourself. Write it as the problem, the context and the result you want, without the solution, and hand it to someone on your team.
References