
Loading summary
Claire Vo
Vibe coding is not an acceptable enterprise development strategy. I love it. I can do 100 commits a week by myself on my side project on my startup. But when you're working on a code base and a platform like LaunchDarkly that powers trillions and trillions of experiences every day, you can't take the same strategies and tactics that a Vibe coder could take.
Zach Davis
One of the things that I realized is what's good for humans is also good for LLMs. And so I really started with how do we make sure that the repo is well set up for humans to know how to work in it? So we have front end organization, we have accessibility, we have a JS style guide. So all is this very detailed documentation that we've put into the repo itself rather than have it in other places. And this way LLMs can access it, humans can access it, et cetera.
Claire Vo
I think all the engineers out there like crossing their fingers and hoping that there's one rules protocol to rule them all that shows up. And I think what you've shown is you can just create that yourself and then that makes it much more simple, scalable. Welcome back to How I AI. I'm Claire Vo, product leader and AI obsessive, here on a mission to help you build better with these new tools. Today we have a great episode for anybody trying to deploy AI agents in a real engineering team with a real code base, not just Vibe coding. We have Zach Davis, director of engineering at LaunchDarkly, who's going to show us how he sets up centralized rules and docs for all his AI agents, uses AI to burn down tech debt and keep his hiring bar high. Let's get to it. This episode is brought to you by Work os. AI has already changed how we work tools are helping teams write better code, analyze customer data, and even handle support tickets automatically. But there's a catch. These tools only work well when they have deep access to company systems. Your copilot needs to see your entire code base. Your chatbot needs to search across internal docs. And for enterprise buyers, that raises serious security concerns. That's why these apps face intense IT scrutiny from day one to pass. They need secure authentication, access controls, audit logs, the whole suite of enterprise features. Building all that from scratch, it's a massive lift. That's where work OS comes in. WorkOS gives you drop in APIs for enterprise features so your app can become enterprise enterprise ready and scale up market faster. Think of it like Stripe for enterprise features. OpenAI perplexity and cursor are already using work OS to move faster and meet enterprise demands. Join them and hundreds of other industry leaders@workos.com start building today. Zach, I'm so excited to have you here because I feel like I maybe turned you into an AI fiend at this point. Before the show, we were talking about how many tools you're now using. So before we dive in, can you just tell us a quick list, maybe not so quick list of all the AI tools the technology team at LaunchDarkly are now using?
Zach Davis
Yeah, absolutely. Let's see. So on the design side, we're again, we're exploring a bunch of things, so there's going to be a bunch of tools. So lovable v0figma make we're using. On the product side, obviously we're using Chat PRD and then on the engineering side for code, Heavy Cursor users, Heavy Devin users, we're also using now, like Cursor's background agent. I personally use Windsurf because I like Windsurf, but most of the rest of the work does not. We are using. We're trialing augment, we are looking into cloud code. We're doing all the things we. We're also looking into PR review. So we use Copilot for code review and we use Cursor for code review as well.
Claire Vo
Okay. And I feel like 18 months ago we were using maybe a little GitHub copilot, but not much. Yeah, not much more. And one of the things that I really liked that you and I did together and you were, you were a champ in coming along this journey is we really decided that in order for AI to be really effectively adopted by a team like LaunchDarkly's engineering organization, which is over a hundred people, we really needed to put some concerted effort behind it and put a person in charge. And lucky you, you drew the either short or long straw. However. However that works, you know, what do you think about teams approaching this kind of engineering wide transformation and what kind of organizational and cultural things you need to do to make it possible?
Zach Davis
I do think having a person who's kind of. I don't know if in charge is the right word, but whose responsibility it is to drive that kind of change. And I think that having someone who's close to the code helps a lot because you don't really know what's working and what's not working unless you're in the code, at least on some basis. And so that can be a manager, that can be a director or someone, but it has to be someone who's actually trying these things, I think matters a lot. And yeah, I think you were looking for someone to take that role. And I was, I think, skeptical, right, of how well things were working really well for you over on your side job on chat prd. But when I tried to do the same things in our code base, I was struggling. And so I really came at it from a standpoint of I want to understand what works and what doesn't and either be able to push back on you and say, hey, you know, like, it's great over there, but on, on this, you know, larger code base, it's not working, or be able to actually drive change. And now I'm at the, like, I'm, I'm on board. Let's, let's drive change. I think that matters a lot.
Claire Vo
Yeah. And one of the things that I think is really important for our listeners, especially ones that are at growth stage or larger companies, is Vibe coding is not an acceptable enterprise development strategy. Like, I love it, right? I can do 100 commits a week by myself on my side project on my startup, and, you know, I can recover from quality issues, you know, the maintainability of the code. The issue right now, that's not my big business issue. But when you're, you know, working on a code base in a platform like LaunchDarkly is that powers trillions and trillions of experiences every day. You can't take the same strategies and tactics that a Vibe coder could take and bring those into not just an individual developer's workflow, but an entire team's workflow. And so what have you kind of discovered as you try to figure out how to make these tools work for a larger team?
Zach Davis
With smaller teams, you have more flexibility in terms of how you approach these things. With larger teams, you have more enablement and stuff like that. We're kind of in the messy middle. And I found it more difficult to sort of like operationalize that, make everyone successful. And what I found was everyone was on their own journey to try to be successful with AI, and that just doesn't scale very well. Right. So, yeah, you really need to come up with a system in order to make everyone more successful. Right. What I want is when those skeptical engineers jump in and they try cursor, they try whatever for the first time or they try it for the first time in a while, I want them to be successful so that they get that aha moment. And if you just leave them on their own, then you're not going to get there.
Claire Vo
Totally. And we had, I think you and I had mutually had the experience of developers having their first experience actually be negative, whether it was with Cursor or with Devin. It was like, see, I knew this was never going to work and here's my first pass proof that it didn't work. And so you really did a lot of what I appreciate about you is you did a lot of technical work to make sure people were successful. We'll definitely talk a little bit more about some of the kind of culture and operations piece, but I actually want to get dive into what you did in the code base to make it easier to work with Cursor and Devin. So can you walk us through some of those things that you did?
Zach Davis
Yeah, absolutely. So in my IDE here you could see one of the things that I realized is what's good for humans is also good for LLMs. And so I really started with how do we make sure that the repo is well set up for humans to know how to work in it? And so we have this docs directory and I pulled a bunch of stuff from Confluence, from Google Docs, from other places in the repo and I put it all in here. So we have front end organization, we have accessibility, we have a JS style guide. So all is this very detailed documentation that we've put into the repo itself rather than have it in other places. And this way LLMs can access it, humans can access it, et cetera. In addition, we had cursor rules before we had a CloudMD file and I wanted to consolidate that. And so instead of a cursorrules, I have this agentsrules and the idea is to kind of centralize all of this knowledge in one place. And so you can see here I have something like TypeScript Essentials which has a really kind of like quick, like the quick hits of what's really important. And then it also links off to the comprehensive docs and says, hey, if you want to find out more, go look at the JS style guide. And so then our cursor rules actually just point to that, right? So our cursor rules say, hey, if you want typescript guidelines, go find this file in Agents. And then I talked about Augment earlier. We were trying Augment. I set this up yesterday and I asked the Augment agent to just create this. I pointed at the cursor rules and I pointed it at our agent's rules and I said, can you just create this file? It did the same thing. In this way we don't have to duplicate everything across multiple tools or tool files. And it's much easier to get stuff working well by default. And the whole idea with this is again, I want people to be successful out of the gate. And having this kind of centralized place, having all this documentation in the repo, just makes it way easier for tools to be successful by default.
Claire Vo
Yeah, one thing that I hear a lot is people are really frustrated with the tool specific rules. They're like, why do I have a Claude md? Why do I have a cursor rules? Why do I have these GitHub rules? Especially if you're experimenting with the number of tools that you're trying, each tool has isolated their rule set in an individual file structure. And I think all the engineers out there like crossing their fingers and hoping that there's like one rules protocol to rule them all that shows up. And I think what you've shown is you can just create that yourself. Create a directory in your repo, put a consolidated set of rules, make your sub rules for each of those tools point to those rules. So say when you're looking, you know, when you're working on front end, reference these rules and then that makes it much more scalable. The other thing that I want to call out for you is, I think what you said at the beginning, you're using, I don't know, a dozen tools, probably like three to five IDEs across the engineering organization, probably within any individual engineer. You're testing like I want Cursor today and Devin tomorrow. And if you don't have your rules set up for all those tools, then you're starting from scratch every time. And so I really like this idea of rules set up and then consolidation. I'm curious, do you feel like the rules have improved the quality of the outputs significantly?
Zach Davis
Yeah, yeah, absolutely. So here I'm looking at our feature flagging rules and it's interesting because we are a feature flagging. We have a lot of feature flagging code in the code base. And one thing we noticed was that some of the models, some of the tools would get confused about whether we were asking it to create feature flags on the launchdarkly product or whether we were actually trying to get it to do stuff in the code. There's a bunch of stuff that I did to just be really specific about how to be successful when creating feature flags. I want you to return a link that stuff. And it really has, it has made a difference. Yesterday, literally, one of our product managers was doing a task with Devin and was able to tell it to put a flag, put the feature behind a flag, and Devin went and used the MTP and hit the flag and everything worked.
Claire Vo
So I have another question about rules, because LaunchDarkly's giant mono repo, 10, 10 years old or something like that, it's got a lot of code in it, front end, back end tests, all this stuff. What do you think if you had to give some advice to peer engineering leaders who are approaching the same problem, what are the must have rules from your point of view in the code? You know, I saw like a lot of front end stuff, but what, you know, what are the quick hits of what you think should belong in a kind of cursor rules or a rule set?
Zach Davis
I would say the best tip is ask the agents, right. To get you started. And so Devin actually has a great wiki that for each repo that Devin works on, it creates a wiki and it has a ton of really good information in it. And so I actually started with Devin and I said, hey, can you, like, this is what I'm trying to do. Can you create basically the human readable docs for this? And so Devin did a pass and created a bunch of docs, suggested some structure. We went back and forth and I kind of tweaked things and then I took that output and I went through it with kind of like a fine tooth comb. Because I think it matters, right? It matters to get those details right. And then once I had the human readable docs, I went to cursor and I said, hey, can you take these docs and can you take your existing cursor rules and can you turn those into a agents file? And so it was a combination where you can kind of lean on the agents a little bit to help you get unstuck and get started and then also use your knowledge of what's important in the repo. And the other thing is that I was looking at where are people getting stuck. I knew that people on the front end would struggle with getting like testing, basically writing unit tests. It would write jest tests. And we use vtest and stuff like that. And so putting in specific rules to make sure where people get stuck, we have rules to help the agents be more successful.
Claire Vo
Would you mind pulling up Devin and actually giving an example of generating a rule? And I have an idea for you.
Zach Davis
Sure.
Claire Vo
Which is like rules around generating data visualizations since we've done so much and just see what it comes up with.
Zach Davis
Here's an example of both asking Devin wiki a question and then Also using Devin to create a rule so we can say to the Devin Wiki, we can say, what are the libraries used for charting on the front end.
Claire Vo
I'm curious, while this is loading, how long did it take you to set up Devin's environment? It's something that, you know everything's easier with a little vibe coded Greenfield app. Except for setting up Devin's environment, it's just as hard. I'm curious what your experience has been configuring Devin to work in a large repo.
Zach Davis
Yeah, I would say to get up and running with Devin. I got started pretty quickly. We have a separate flow for front end and backend. We have a concept of front end only mode which proxies against another backend. And so I was able to get Devin's machine up and running pretty quickly in just front end only mode. And then I was able to take on front end tasks using Devin. One of our other engineering managers actually came in and saved the day on the back end to get the full like running our whole end to end up and running with Devin. And that took him, I think, a little bit more time than it took me. But the nice thing is you can do that sort of incremental, you know, you do what works. You don't have to have Devin running your full app locally in order to get value out of it. And so it's just about kind of like doing it piece by piece. And again, if it's hard to get Devin up and running, it's probably hard for your human developers to get up and running. So there's always incentive to make those things better.
Claire Vo
Yeah, I will give just cause. You said it. You said, you know, Devin's environment doesn't have to be running for you to get valued. My number one Devin prompting trick is don't run this locally. Just give me the code and I'll test it for you. So sometimes I bypass that process entirely. Okay, so you asked this question of Devin Wiki, what do libraries use for charting on the front end? And it gave answer Recharts some other things. And so what would you. One, is this information pretty accurate? And two, what would you do with it?
Zach Davis
Yes, it is accurate. We are using multiple libraries. And so that was one of the things I was curious about is we've brought in several libraries and we're kind of trying to figure out how to consolidate. And so it picked out that we're using Recharts, we're using vizx, it lists Echarts as a secondary library. I don't know if that's strictly true, but generally this seems very correct. And so I like to use Devin Wiki to just sort of ask basic questions about the repo, make sure I understand what we're doing. But if I actually wanted to create a rule so you can't take action from Devin Wiki. So what I want to do is I want to create a new document, a human readable, human centered document in our doc frontend about how to use charting libraries. And then I want to also add a rule to Agent slash rules. So I'm just going to give this to Devin and I am going to see how it goes. So Devin's going to spin up a new session here and one thing I.
Claire Vo
Want to call out for folks listening on the prompt is you specifically said you want it to create a markdown document. Markdown is every engineering agent's favorite file type. So that's a good way just to give a little bit of structure to your code. It also tends to pretty print and be human readable and easy to view in GitHub and all that stuff. And so what you're doing here is just asking Devin to make those docs for you. And this is one of my favorite use cases of Devin. I think you know this. It's my favorite Devin hack, which is I have a GitHub action on every PR that writes docs for the PR and adds to a changelog Programmatically with Devin, I found that it's a very good technical writer. Sometimes the code is okay, but the technical writing is very clear and very good.
Zach Davis
Yeah, I think that's exactly right. The Devin Wiki is very good. It knows a lot about your code base. It has this very explicit way of learning and understanding your code base. And so it is very good about kind of describing that back and as you said, doing it in a solid technical writing way.
Claire Vo
Yeah. And then one of the other things that I want to call out for people that are maybe listening and not watching is we are chit chatting because we're waiting for Devin to spin up a virtual machine. So for those that don't understand kind of how Devin works, it actually spins up a virtual environment that reflects a development environment. It's going to open it up, it's going to read your code base, it's going to do all this stuff. And so it takes a minute to actually boot into an environment a little different than running something like Cursor locally.
Zach Davis
Yeah, that's exactly right. Where these other tools are just using whatever you have locally. Devin is running its own machine, which has a lot of upside. It can run a browser and see a browser. It can do a lot of things that don't come out of the box with these other tools. With the downside that it takes a little time depending on your repo, it takes a little bit of time to actually set that machine up and get it running.
Claire Vo
But like you said before, if your machine is slow to cold boot for Devin, it's probably slow, slow to set up locally for an engineer. So again, align incentives on getting your repo to work well for both your agent co workers as well as your human, your human colleagues.
Zach Davis
That is, that is my favorite thing is all the things that have been hard for humans forever and we have just kind of swallowed it and said, well that's the way this works. Become even more important today with, with these LLM tools to, to solve and improve.
Claire Vo
Well, I think it becomes more important to solve, improve and then I also think it becomes easier to solve and improve them. If I said, you know, two or three or four years ago, Zach, go document everything in the repo. High quality human readable docs, you just go do it by yourself. It would take forever to generate high quality docs that, you know, really reference our code and understand the nits and details. And I think the fact that even you can spin up docs so quickly is so transformational to how you can. And I know we'll see this in a little bit, like burn down tech debt, make your engineers happier. And so I do think, you know, a lot of engineers have this skepticism that adoption of AI tools is really about moving faster, shoving more junk in the code, like just getting feature bloat. And I actually do think for mature engineering organizations it is also an opportunity, if you approach it correctly, to take care of some of the things that you have just hated forever in either how you run your software, how your team operates, or the code itself. And so that's one of the advantages I think people underestimate in larger organizations because they blur the line in their mind of AI assisted engineering with vibe coding, which is not what we're talking about right now.
Zach Davis
No, not at all. And technical debt is my favorite use case for AI to supercharge like a medium sized organization.
Claire Vo
Okay, so what we're seeing here is Devin's looking through your repository, accessing its knowledge. Actually, I'll take a pause here. Have you set up the knowledge in Devin explicitly, which is for folks that don't know little snippets of kind of rule it's almost like Devin's rules in some ways, little snippets of knowledge and rules. Have you set those explicitly or have you simply accepted and approved the ones that Devin suggests?
Zach Davis
Yeah. So as you mentioned, one of the things that I really liked about Devin, especially as we were first getting started, is it builds up this knowledge on its own in some ways. So as you're interacting with Devin, it will make suggestions for additions to its knowledge so that it gets sort of like quote unquote smarter every time where some of these other tools have memories because Devin's starting a fresh session every time across different users. It has this centralized knowledge kind of like repository. And so it's been a mix. We've sort of let it build up over time and various people have accepted knowledge. I added some knowledge very early on. I will intentionally add stuff when I run into problems. But then again when I moved all this documentation to the repo and I was trying to centralize everything, Devin's knowledge now primarily points to that same agents directory. Because I don't want to have the duplication. I want it to work for all the tools. I don't want just Devin to be effective. I want all tools to be effective.
Claire Vo
Got it. So you've really taken all your tools, whether locally hosted in the repo or cloud hosted like Devin, and just made this agent's folder the source of truth.
Zach Davis
That is. That is exactly right.
Claire Vo
How I AI is now on Lenny's list With my personal selection of the best AI engineering courses on Maven, you can spend months thinking and playing with AI before really integrating it into your workflow or shipping an actual AI feature. If you want to start building, then these hands on Maven courses are for you. Learn directly from Aishwarya Naresh Raghanti, MIT instructor and AI scientist at AWS, or Sandra Shuloff, who has authored research with OpenAI hugging face and Stanford. To pivot into an AI role or successfully lead your company's next AI initiative, visit maven.comlenny to enroll now use code Lenny's List for $100 off. That's m a v e n.comlenny to get ahead in the AI era and.
Zach Davis
Start building so Devin has a plan now. One of the things I like about Devin is it gives us confidence now. Like how. How confident is it in the task at hand? Which is nice because sometimes it's not confident and you it's it's better not to proceed. This, this is something that as we mentioned, Devin should be really good at and So I feel good about its ability to execute this, but it will give you sort of an overview. If I thought if I read through this and I didn't like what it was doing, it's going to run prettier on the markdown files, which actually I think is a good idea. But if I didn't think that was a good idea, I could update its plan while it's deciding what to do next.
Claire Vo
Yeah. The other thing that I enjoy about Devin is nine times out of ten it's confidence gets higher as it goes. So it always starts like medium confidence, but I have to investigate and then it's like high confidence. I know what to do, but occasionally it fails me deeply and I have bullied it so much that it starts to progressively lose, lose confidence and then it's like low confidence. I haven't been successful so far, so I find the confidence assessment pretty, pretty accurate.
Zach Davis
Yeah. Okay, so now it is creating it. It's created multiple markdown files. So it's created a charting libraries MD file and we can actually, if we want we can jump over. So there's a shell, there's also the code. So I can actually go look at what it's creating while it's creating it. So charting libraries guideline. It's creating that in our agent rules front end it looks like, I think it also created one in docs. So this is the human readable version which I'm not going to go through in detail, but looks it has examples, you know, has the different libraries. I like all of that. And then in the agent's rules it's sort of a consolidated, you know, must, must use this when I like seeing that I would go through here and really make sure it's accurate and what we want. And then it's a little long I think, you know, for, for me I want to keep the, the agent's rules pretty concise so you're not leaving the context and just so it's not too much. And I would also want to make sure that it links out to the full documentation is another trick that I like to do so that a tool can decide to pull in that additional context if it wants.
Claire Vo
Well, one little trick that I learned from another how I AI Guest is that if you notice, cursor reads long files in chunks of 200 lines. And so his goal was to keep these files under 200 lines so that it's not chunking the content. And so I saw yours is just like a little bit over 200. So one of the things you might add to your rules for rules is try to keep your rules files under 200 lines, for example. Now, again, I don't, I don't know if that's actually helpful or true, but it is a tip somebody gave me, so I'm passing it along with no personal context.
Zach Davis
No, I mean that, that's actually, again, that's a good tip for humans, just like it's a good tip for LLMs. And you said something that I think is really interesting, which is I actually, I have a read me, I have a human readme about the rules so that people understand how to create new rules. But I should actually probably have something geared towards LLMs so that when LLMs are adding new rules, they're doing a better job of it.
Claire Vo
Yeah. Okay, so I see this. It looks great. So it's created a human readable docs in your docs folder, a rules for your LLMs. You're going to review this. You're going to do a PR and merge those docs into the repo, maybe take a look at them, edit them. And you've used Devin Wiki, Devin Agent and then it's spun up this code base to write those docs. And so I think this is a really great flow. I think people are going to learn a lot from this. You know, one of the things you said earlier was that Tech Debt is your favorite use case for these AI tools. I love to hear it because this is how I try to pitch senior engineers and senior engineering leaders like you to really adopt these tools when they're really skeptical. Can you walk us through how you actually approach burning down Tech Debt using these tools? Where it's made it easier maybe?
Zach Davis
Yeah, absolutely. So here we are in cursor and I'm going to show you that same Agents directory I showed you, Agents Rules before. We also have Agents Migrations. And so this has a couple files in has a CSS module conversion file which I created to help us convert CSS files to CSS modules. And then it also has, I just added this one the other day, which is the one that I would like to show. And so what it is is basically it's a combination of instructions for agents and a checklist, basically like a task list of what to burn down. And so the problem that I was running into is that our front end unit tests, when you run Yarn test, there's so much noise in the console that it's really distracting. There's some actual legitimate problems in there that are just kind of being warned about and Ignored. And I wanted to pay that down. But it's, it's one of those things that is annoying, but it's not quite annoying enough for someone to own it. And also it's such a big problem. It's really hard for one person to just kind of like take that and pay that down and so well.
Claire Vo
And I'll say, imagine as an engineer, you go to your product counterpart and you're like, hey, I just want to spend like a week or two just making our test logs just a little less noisy. So my life's just a tiny bit. Like it's such a hard pitch to make for work like this. It's super important and like the pitch can work on the right leader. But again, like this is the kind of thing that's hard to justify in a fast moving org.
Zach Davis
Yeah. So I'm actually, I think what I'm gonna do is I'm gonna ask, I will talk, I will talk through kind of how this works. And in the background I will have Cursor take the next stab. So I'm actually going to say, so it has this context, it knows I'm in this file. And I'm just going to say, can you take the next tier of tasks? I can see here there's a tier one, tier two, there's three files, I think that's reasonable. And fix them. And I'm just going to say, click, go and we're going to see what happens. Okay. So in the meantime, what I did to actually produce this is I ran Yarn test and I piped the output to a log file, which I'm not like a super techie tech person. And so I actually asked Cursor how to do that effectively. And then I had a log file and I gave that to Claude to Claude Code and I asked Claude to basically create this file. What it did is it went through all. It actually had trouble with how big that file was, but it was smart about working around that. And so it found out that we have something like 1200 extra lines in a test run that we don't need to be there, that we don't really want there. And then it quantified this or it sort of grouped this into different types of warnings and then which files are the worst offenders. And so then once we had this file, I said, great, can you go fix the Tier 1 worst offenders? And so it actually went and has done that successfully. That's been merged in, reviewed and merged in. And then I can do stuff like this where I just say the Thing that I like about this is you can just give this to any agent. Now I can slack Devin and say, Evan, can you pick up the next task in the front end test noise cleanup? I can do it here in cursor and watch it go. I could give it to cursor background agent. It sort of like makes it easy to pick these things up as individual tasks and make progress on them.
Claire Vo
What I like about this approach as well is it's very. There's a lot of parallels to how you would approach something like this with an engineering team of human partners. Right. You're going to take a problem, somebody's going to go investigate it and identify priority tasks to do. You're going to put those tasks in some sort of task tracking system. And you and I both know all of our beloved task tracking and project management systems. And I am starting to see cursor markdown files become the new task tracking system. So I'm seeing this, this trend of these checkmarked files in cursor just being the source of truth for progress on initiatives. So you created basically a list of epics and tasks here, if that's what we call it. And they're prioritized by how severe they are. And then what I like about how you're approaching this, instead of saying like, rip through all 1300 noisy lines, you're saying, prioritize them, do them one by one. And then what I'm presuming you're doing is the work happens. Whatever agent you decide to do, the next task closes it out. You review the pr, you make sure any changes work, you merge it, it gets marked off. The other thing I want to call out is, while you are probably running this yourself, you could probably also get more people on the team to be aware that this test exists and just say, hey, if you have a few minutes and you're able to review a next set of noisy tests, like tell Devin to pluck off one and do the code review for me. And it's all set up and it's ready to go. So I think this multiplayer aspect is very important when, how you approach some of these tools when you're working in a larger, larger team.
Zach Davis
Yeah, just today I had a PR up to fix a few stray errors on this one file and one of the people from the team that works primarily on that, I included them in the review and he said, hey, if there's any more stuff like this, feel free to kind of like throw it over the wall to us. You don't have to be the one that does all of this. He didn't know that I was just using Claude or whoever. And so now I can actually just point them at this file. I said, hey, you know, take a look at this file and if there's any ones you want to pick off in your ownership area, then, then just go ahead and you're exactly right. Doing that, democratizing that. This is great for. Again, I'm saying the same things, but it's great for bots. It's also great for humans. Humans can come in here and understand this and work against it.
Claire Vo
Yeah. And if you're feeling like, you know, crafting your farm to table code and you want to pluck one of these off yourself and you want to fix it, you can approach it the same way. Right. Just open the file, mark the thing is done, do the pr. And so I really do think it's important that folks think of kind of these tools as an extension of the team. And the more the tools can operate the way the team would operate, and the more the team can operate in the same way the tools can operate, then then we can kind of all collaborate together and be, be much more efficient. So I think this is a great, super great example. I'm not going to make all of us watch cursor go through tests and lint errors because I have lost enough of my life to doing that. But I think it was a really, really great example of tech debt. And then just to ask the question, you know, what's the end payoff for, for front end developers? Like the actual issues bubble up in your tests and these tests get less noisy.
Zach Davis
Yeah. I think one is it's easier to find stuff when stuff is going wrong. Two is, I think it said that the biggest problem was actually accessibility warnings. So that's like a real problem that exists, but when there's 1200 lines of that and a lot of that's coming from the same component, if it's tested a bunch of times, we'll will spam the logs. But being able to sort of surface the actual signal through the noise, I think is one of the key benefits.
Claire Vo
Okay. And then for our last workflow, I know that Zach, you're going to impress everybody and everybody's going to think you are just an AI enabled, cutting edge engineering leader who only works with his army of bot friends. But you're actually hiring at launchdarkly, we expand the team. You're always bringing in great talent and you've actually used AI to solve another problem, which is making sure. That you're doing a great job hiring. So do you mind spending a couple minutes on what that little workflow looks like?
Zach Davis
Yeah, absolutely. So I am, you know, me, I'm, I'm, I'm a little bit of a conflict avoidant person. I don't love giving people tough feedback. You know, it's something I've, I've grown to do over my career, but especially when it's someone I don't have a strong relationship with. It's not a direct report. I don't love just dropping in, being like, hey, this isn't great. But we were trying to improve, make our hiring more consistent. And I created a rubric for all of, all of the panels that we have. So there was really clear guidelines about how to score a candidate. But the other piece of it was we needed people to follow those guidelines. And I wanted to be able to give people feedback about whether basically I wanted to raise the bar of the actual scorecards that we were creating. So I created this custom GPT. I gave it the rubrics and I gave it examples of good, good scorecards, bad scorecards, and gave it as much, kind of like you helped me write the prompt. So thank you very much for that. And so what I'm going to do is I'm actually just going to paste in a scorecard. And so this is a scorecard that we got and I'm going to click Go and it's going to do a few things. One, the rating that it's giving me is, is the rating of the scorecard itself. So it's a little meta. But I want to know, basically I. One of the things I did in the prompt is I said give it a rating. Is it excellent, good, fair or poor in terms of scorecard? And then I want you to list out strengths and potential improvements. And then the last thing that I had to do, which I also think you helped me with, so thank you very much, is the format I wanted to give this to people in was to send it to them over Slack, right? Like, hey, like, thanks for doing this. But also I had a little bit of feedback and so it actually, it gives me the detailed feedback, but then it also crafts a short Slack message that I can, if I want, just copy and paste and send to the person who created the scorecard.
Claire Vo
I love this because so many managers and hiring managers can empathize with this because if you're running an interview panel, you're having everyone from your boss to your direct reports to people you've never really worked with directly interview candidates. Right. You have these cross functional interviews and while you can have all the rubrics in the world, interviewers sometimes write terrible notes and you know, say, you know, assess the wrong things or don't give you the right details or really using the rubric incorrectly. And you're not sitting in every single one of those interviews to give live coaching. And so this is a really nice way to make sure that you're holding the kind of standards very high and then giving you some leverage as a manager to give your team coaching. And then as they get this coaching, they get better at doing the, the interview feedback and then you can be more confident in, in your hiring decisions.
Zach Davis
Yeah, and honestly, this helped me like as what? In order to test this out, I was doing a bunch of interviewing and I was writing scorecards and I would pace it in and see what kind of feedback it gave me. And it was giving me very good feedback. And I learned very quickly the kinds of things be, you know, be more specific, you know, avoid, avoid certain kinds of things. And so it actually made me write better scorecards just through trying to create this tool for other people.
Claire Vo
Okay, Zach, you have given a masterclass in how engineering leaders at larger companies can really approach integrating AI into not just their individual workflows, but their team workflows. So just to cover what we talked about, one, let the team experiment. Like every tool, just let's see what works. So you seem pretty kind of generous with your experimentation mindset around what tools can use, can, can bring value to the team. And I think two, context is king. And so you are loading up your actual repository with docs and rules. Three, those rules are centralized, so you don't use agent or tool specific rules. You create a central agent repo and then point all your specific tools toward that. You use your AI tools to actually create those rules. You use cursor and other tools to create plans to burn down tech debt and then have those AI tools burn down that tech debt. And then since you have all this free time now, you're coaching yourself and your team to be better interviewers and better hirers. So just that, no big deal. That's all you have to do. And this is all, I mean, truly from a personal, professional development perspective, these skills were developed what, in the last 12 months, right?
Zach Davis
Oh, I think January is when I really started like took on the mantle and playing with Devin and really going down this path.
Claire Vo
So six months. And we didn't give you, I mean we, I think we offered but, like formal L and D, none of that. We just pushed you into it and said. And said go.
Zach Davis
Yeah.
Claire Vo
Okay, I'm going to wrap with two quick lightning round questions, and I'll get you back to all your AI assisted code. Question number one. You listed so many AI tools. Which one is your favorite or which one has been most transformational?
Zach Davis
Ooh, that's really hard. I would say Windsurf, actually. Everyone was hot on cursor and it just wasn't. The UX at the time was not clicking for me, and I saw a video for Windsurf and I was just like, whatever, I'll give it a try. And I had the free trial and within an hour, I think I was paying for it because I just. It really clicked for me and the agent workflow just really quick clicked and I was hooked.
Claire Vo
Amazing. And then when AI is not listening to you, you're such a. You're conflict avoidance. So I'm actually very interested in your answer here. AI is not listening to you. You need to give it harsh feedback. What are your tactics? I know you don't yell. I know you're very polite, but what do you do?
Zach Davis
I mean, sometimes I lose it, but I have to. The thing that I actually do is sometimes I just feel like it's not the right task. So it depends. If I think it's something that AI should be good at, then I get a little snippy with it. Maybe I don't yell, but I'm definitely getting a little annoyed. But I also think that sometimes it's okay. Sometimes it's not going to work, and you don't have to keep banging your head against it. And I think developing that sense of where it works and where it doesn't has been really powerful for me. And also sometimes I just like getting in there and getting dirty, getting my hands in the code. And so, yeah, I think my technique is actually either I do it myself or I go back and try and fix it. You know, am I providing the right context? You know, what, What. What is missing that it can't accomplish this effectively?
Claire Vo
Yeah, you're. You're a very good manager, so I think it's from those skills. All right, Zach, this has been super informative. Where can we find you and is there anything we can do to be helpful?
Zach Davis
I'm on LinkedIn. We are hiring at LaunchDarkly. And also, if. If you are a launcher user and you have any feedback, I love user feedback, so please send it my way.
Claire Vo
Amazing. Well, thank you so much, Zach.
Zach Davis
Thank you.
Claire Vo
Thanks so much for watching. If you enjoyed this show, please like and subscribe here on YouTube or even better, leave us a comment with your thoughts. You can also find this podcast on Apple Podcasts, Spotify or your favorite podcast app. Please consider leaving us a rating and review which will help others find find the show. You can see all our episodes and learn more about the show@howiai pod.com See you next time.
Podcast Summary: Successfully Coding with AI in Large Enterprises Host: Claire Vo | Guest: Zach Davis, Director of Engineering at LaunchDarkly
Introduction In the July 21, 2025 episode of How I AI, host Claire Vo engages in an insightful conversation with Zach Davis, Director of Engineering at LaunchDarkly. The discussion centers on effectively integrating AI tools within large-scale engineering teams, emphasizing the importance of centralized rules, managing technical debt, and enhancing team training. This summary delves into their key discussions, providing valuable insights for engineering leaders aiming to harness AI's potential in enterprise environments.
1. AI Tools at LaunchDarkly Zach Davis shares an extensive list of AI tools employed by LaunchDarkly's technology team, highlighting their diverse applications across design, product, and engineering.
"[...] we're exploring a bunch of things, so lovable v0figma make we're using. On the product side, obviously we're using Chat PRD and then on the engineering side for code, Heavy Cursor users, Heavy Devin users, we're also using now, like Cursor's background agent."
— Zach Davis [03:09]
Davis emphasizes the experimental approach the team takes, trying various tools to determine what best fits their workflows. He mentions specific tools like Cursor, Devin, Clouds Code, and Copilot for code reviews, illustrating the multifaceted AI ecosystem at LaunchDarkly.
2. Organizational and Cultural Approaches Claire Vo and Zach Davis discuss the necessity of dedicated leadership in driving AI adoption within large engineering teams. Davis underscores the importance of having a person close to the codebase to oversee AI integration effectively.
"I think having a person who's close to the code helps a lot because you don't really know what's working and what's not working unless you're in the code, at least on some basis."
— Zach Davis [04:37]
They highlight the cultural shift required to embrace AI tools, moving away from isolated experimentation to a more structured, team-wide implementation. Davis reflects on his initial skepticism and how hands-on experience with LaunchDarkly's codebase transformed his perspective on AI's potential.
3. Implementing Centralized Rules and Documentation A significant portion of the discussion focuses on creating centralized rules and comprehensive documentation to ensure AI tools operate cohesively across the organization.
"What's good for humans is also good for LLMs. And so I really started with how do we make sure that the repo is well set up for humans to know how to work in it?"
— Zach Davis [00:22]
Davis explains the consolidation of various documentation sources into a unified docs directory within the repository. This approach not only facilitates human access but also enables Large Language Models (LLMs) to interact more effectively with the codebase.
"Instead of a cursorrules, I have this agentsrules and the idea is to kind of centralize all of this knowledge in one place."
— Zach Davis [08:07]
By centralizing rules, LaunchDarkly avoids duplicating efforts across multiple tools, ensuring consistency and scalability in AI interactions.
4. Using AI to Reduce Technical Debt Davis elaborates on leveraging AI to address and mitigate technical debt, a common challenge in large codebases.
"Technical debt is my favorite use case for AI to supercharge like a medium sized organization."
— Zach Davis [21:50]
He provides a concrete example where AI tools were used to clean up noisy test logs, identifying and prioritizing warnings that were previously overlooked due to their volume. This structured approach not only streamlines the debugging process but also enhances the overall code quality.
"I could slack Devin and say, Evan, can you pick up the next task in the front end test noise cleanup? I can do it here in cursor and watch it go."
— Zach Davis [32:38]
This method mirrors traditional team workflows, allowing AI tools to act as extended team members that handle repetitive and time-consuming tasks efficiently.
5. Enhancing Hiring Processes with AI Beyond coding and technical workflows, Davis discusses the innovative use of AI in refining the hiring process at LaunchDarkly.
"I created this custom GPT. I gave it the rubrics and I gave it examples of good, good scorecards, bad scorecards, and gave it as much, kind of like you helped me write the prompt."
— Zach Davis [37:12]
By integrating a tailored GPT model, Davis ensures that interview scorecards are consistent and adhere to established rubrics. The AI evaluates scorecards, provides ratings, and offers constructive feedback, thereby elevating the quality of candidate assessments.
"It also crafts a short Slack message that I can, if I want, just copy and paste and send to the person who created the scorecard."
— Zach Davis [38:35]
This automation not only standardizes the hiring feedback but also saves valuable time for engineering leaders, allowing them to focus on more strategic aspects of talent acquisition.
6. Challenges and Best Practices The conversation acknowledges the hurdles in AI integration, particularly in configuring AI tools within complex, large-scale repositories.
"Devin is running its own machine, which has a lot of upside. [...] the downside that it takes a little time depending on your repo, it takes a little bit of time to actually set that machine up and get it running."
— Zach Davis [19:50]
Davis recommends an incremental approach to implementing AI tools, allowing teams to adapt gradually without overwhelming their existing workflows. He also stresses the importance of high-quality documentation and centralized rule sets to maximize AI tool effectiveness.
7. Conclusion Claire Vo and Zach Davis wrap up the episode by reiterating the transformative potential of AI in large engineering organizations when approached thoughtfully. By fostering a culture of experimentation, centralizing knowledge, and utilizing AI to tackle both technical and operational challenges, engineering leaders can significantly enhance their team's efficiency and code quality.
Davis shares his preference for the tool Windsurf, noting its intuitive user experience and rapid impact.
"Within an hour, I think I was paying for it because I just. It really clicked for me and the agent workflow just really quick clicked and I was hooked."
— Zach Davis [42:22]
The episode concludes with actionable insights and a testament to the benefits of integrating AI as a collaborative extension of the engineering team.
Key Takeaways
This episode serves as a masterclass for engineering leaders seeking to implement AI tools in large organizations, demonstrating practical strategies and the profound benefits of a well-executed AI integration plan.