Latest / AI Fire Daily / #412 Max: The Boris Cherny Workflow (Mastering Claude Code 2026)
Transcript
- 0:00Typing the words build the thing into an AI feels
- 0:02like absolute magic, doesn't it? Oh, yeah, completely.
- 0:06But it's actually a trap. It is a massive trap.
- 0:08Honestly, it's the absolute fastest way to manufacture
- 0:11software bugs. And you do it with total, unwavering
- 0:15confidence. Welcome to the Deep Dive. We're unpacking
- 0:19something incredibly fundamental today. Beat.
- 0:22It is April 2026. Hard to believe, right? Right.
- 0:26And we are looking at a brilliant article by
- 0:28Max Ann today. Yeah, we're exploring the official
- 0:31developer workflow for Claude Code. This system
- 0:34was built by an engineer named Boris Cherny.
- 0:36We're really guiding you through a massive paradigm
- 0:39shift today. We are moving far away from the
- 0:41era of clever prompting. Exactly right. I mean,
- 0:43clever prompting is completely dead. Yeah. we're
- 0:46finally entering the era of architectural discipline
- 0:48and we'll walk you through five specific actionable
- 0:51steps today these steps turn your ai from a disposable
- 0:55chatbot into a custom operating system it's just
- 0:58a complete reframing of how you interact with
- 1:00the machine you aren't just giving it tasks anymore
- 1:03you're building an environment for it to succeed
- 1:05so let's talk about the blueprints you know you
- 1:08can't build a solid architecture without looking
- 1:10at them Right. And that's exactly where the first
- 1:13major failure happens. The biggest mistake developers
- 1:16make actually happens before they write a single
- 1:18line. Yeah. It's a trap we call reactive coding.
- 1:21And reactive coding feels like you're making
- 1:23real progress. You jump right into the terminal.
- 1:26You start generating code immediately. Because
- 1:28it's fun. Right. But you're really just creating
- 1:31a massive mess for yourself later. You end up
- 1:34reacting to a cascade of issues. You're not planning
- 1:37for them at all. Beat. That brings us to our
- 1:40first major shift. This is a big one. Yeah. Boris
- 1:43Cherny starts 80 % of his sessions in plan mode.
- 1:4780%. That number should really stop you in your
- 1:49tracks. Variously. He is the engineer who actually
- 1:51built the tool, and he spends almost all his
- 1:54time planning. To access this mode. You simply
- 1:57hit shift and tab twice. It forces the strategic
- 2:01thinking to happen before the actual building
- 2:04starts. Plan mode uses multi -model reasoning
- 2:07to actually verify your logic. Let's unpack that
- 2:10for a second because... Multi -model reasoning
- 2:13sounds incredibly dense. Oh, sure. It just means
- 2:16having different AI models check each other's
- 2:17work. Got it. One model drafts a plan, and another
- 2:20model tries to find the holes in it. So it aggressively
- 2:22stops you from rushing ahead blindly. Exactly.
- 2:25You use a very specific setup prompt here. You
- 2:28have Claude ask you about the fundamental problem
- 2:30you're solving. You meticulously define the intended
- 2:33user. You establish the specific success metrics.
- 2:37You figure out exactly what victory looks like.
- 2:40And critically, you define the anti -goals. You
- 2:43tell the AI what it should explicitly avoid doing.
- 2:46Two sec silence. I'm looking at this setup and,
- 2:49you know, I get setting goals. Right. But the
- 2:53intense focus on anti -goals feels slightly counterintuitive.
- 2:57Why is defining an anti -goal sometimes more
- 2:59important than defining the actual goal? Because
- 3:01it prevents confident hallucination. Which means
- 3:03the AI smoothly generating completely wrong but
- 3:08plausible answers. Exactly. Large language models
- 3:11are fundamentally people pleaser. Yeah, they
- 3:13really are. If you don't set strict negative
- 3:15boundaries, the AI just fills in the blanks.
- 3:18It guesses what you want and it usually guesses
- 3:21wrong. It creates code that looks perfect but
- 3:24fails structurally. Right. Think about assembling
- 3:27a complex piece of furniture. If you don't look
- 3:30at the instructions, you might build something
- 3:32resembling a chair. Sure. But the moment you
- 3:35sit on it, the entire thing collapses. The anti
- 3:38-goals are the instructions telling you which
- 3:40screws absolutely do not belong together. Right.
- 3:42Telling it what to avoid prevents expensive and
- 3:45frustrating wrong turns. You map out the entire
- 3:48minefield before you walk through it. It saves
- 3:50you hours of expensive refactoring later. So
- 3:52we've carefully mapped the logic. We have a solid
- 3:55plan. Now we need some basic ground rules for
- 3:58the environment. Beat. This leads us directly
- 4:00to the Claude .md file. Yeah, this is basically
- 4:04Claude's standing cheat sheet. The model reads
- 4:07this specific file at the start of every single
- 4:09chat. You might think you should give the AI
- 4:12a massive legal document, but the real secret
- 4:15here is ruthless minimalism. People tend to treat
- 4:19this file like a dusty storage unit. They hoard
- 4:22rules. They really do. They create this massive,
- 4:25overly anxious rulebook. They throw every single
- 4:29edge case they've ever encountered into it. And
- 4:31that directly causes instruction drift. Which
- 4:33is simply the AI getting lost in too many contradictory
- 4:36rules. The model only has so much attention to
- 4:39give. Right. If you feed it a 500 line markdown
- 4:42file of strict rules, the token waiting gets
- 4:45completely diluted. It loses focus. Exactly.
- 4:48It starts ignoring the core task because it's
- 4:50terrified of violating some obscure formatting
- 4:52rule from six months ago. The elite developer
- 4:54workflow in 2026 approaches this entirely differently.
- 4:58Yeah. You must keep this file under 100 lines.
- 5:00Under 100 lines. That requires incredible. discipline.
- 5:03Yeah, it does. It forces you to only include
- 5:06the absolute most critical project DNA. Two sec
- 5:09silence. I have to admit something vulnerable
- 5:12here. Oh. I still wrestle with prompt drift myself.
- 5:15Oh yeah. I get anxious when a model fails. Yeah.
- 5:19And I just start endlessly adding rules to the
- 5:21file. It's a really hard habit to break. We all
- 5:24do that. It is completely human nature. Right.
- 5:27We want to feel in control of the machine's output.
- 5:30When something breaks, our instinct is to build
- 5:32a taller fence. But in this new era, taller fences
- 5:36just block the AI's view. The article suggests
- 5:40a brilliant cleanup prompt tactic to fix this.
- 5:42You actively ask Claude to review the file. and
- 5:46delete outdated or conflicting information. Or
- 5:48you go nuclear and just burn it down completely.
- 5:51Just delete it. Yeah, you delete the entire file
- 5:53to remove legacy friction. But wait, if we just
- 5:56delete the file, aren't we losing the fundamental
- 5:58project DNA we've worked so hard on? Not at all.
- 6:01You have to remember that these underlying models
- 6:03improve constantly over time. Oh, true. What
- 6:06used to require strict, explicit rules is now
- 6:09handled entirely naturally by the model's base
- 6:11intelligence. The AI just understands standard
- 6:13best practices better now. Exactly. Storing old
- 6:16rules doesn't add clarity anymore. It just adds
- 6:19friction. It's like leaving training wheels on
- 6:21a motorcycle. It actively prevents the machine
- 6:24from leaning into the curves. So fewer rules
- 6:27actually force better AI alignment and less confusion.
- 6:30Spot on. You want a beautifully sharp tool, not
- 6:33a bloated corporate policy manual. Okay, let's
- 6:35look at where we are. We've planned the core
- 6:37code. We've burned down the rulebook and set
- 6:40lean boundaries. Now, how do you actually trust
- 6:44the output it gives you? You don't. You absolutely
- 6:46never blindly trust the output. You force the
- 6:49AI to check its own work. This is the concept
- 6:51of self -verifying loops. Yeah. Honestly. It's
- 6:55quietly the most powerful idea in this entire
- 6:57article. It is brilliant because it mimics senior
- 7:00engineering behavior. You give Claude a tangible
- 7:03tool to inspect its own output. You give it direct
- 7:05access to a browser or a test runner. Right.
- 7:08You don't just say, write this function. You
- 7:10say, write this function, run the test suite,
- 7:12read the error logs, and fix it until it passes.
- 7:15And this seemingly simple feedback loop creates
- 7:18a massive 3x lift in output quality. A three
- 7:22times quality improvement. It fundamentally shifts
- 7:25the AI from being a passive writer to an active
- 7:28participant. Whoa. Just imagine the AI catching
- 7:32its own bugs in the dark before it even reaches
- 7:35your terminal. That's genuinely incredible. It
- 7:37completely changes your relationship with the
- 7:39machine. Yeah. It's the difference between reviewing
- 7:41a messy first draft and approving a polished
- 7:45final product. You implement this by using a
- 7:48reusable cleanup prompt. You explicitly tell
- 7:50Claude to recheck all the work it just completed.
- 7:53You have it independently ensure that all best
- 7:55practices were followed. You force it to confirm
- 7:58that no weird structural complications were introduced.
- 8:01I'm thinking about edge cases here, though. Okay.
- 8:03What if you're working on something abstract
- 8:05where there isn't a simple test runner? or a
- 8:08clear visual layout to inspect. That is actually
- 8:10a massive glaring red flag. Really? Yeah. If
- 8:14there is no clear way to mechanically check the
- 8:16result, you failed step one. You mean the plan
- 8:18mode phase? Exactly. It means the initial task
- 8:21was not framed clearly enough. Oh, I see. If
- 8:24success cannot be measured or verified by a tool,
- 8:27then the AI is just guessing. And we already
- 8:30know how dangerous guessing is. Right. If the
- 8:33AI can't check its work... Your initial goal
- 8:36wasn't clearly defined. Precisely. Verification
- 8:39has to be baked into the actual setup. It cannot
- 8:42be an afterthought you tack on at the end. Sponsor.
- 8:46So your AI is now self -verifying its own beautiful
- 8:50work. Things are moving fast. But really fast.
- 8:53Because it's moving fast, you might be extremely
- 8:55tempted to run five sessions at once. Oh, sure.
- 8:58You want to speed things up even more. But here's
- 9:00exactly why you shouldn't do that. Running parallel
- 9:02sessions on the exact same file is a catastrophic
- 9:05mistake. You end up with what Boris calls context
- 9:08collision, which is simply AI confusion from
- 9:12multiple sessions editing identical files. Think
- 9:14of it this way. It's like handing two separate
- 9:16contractors the exact same half -finished kitchen
- 9:18remodel. Okay, that sounds bad already. You blindfold
- 9:21them both, and you do not tell either one what
- 9:23the other is doing. So one is installing cabinets
- 9:26while the other is tearing down the wall. Instead
- 9:28of accelerated progress, you just get overlapping
- 9:30chaos. Right, and you are the one who ends up
- 9:33untangling those contradictory code merges at
- 9:3611 p .m. Ouch. The AI models overwrite each other's
- 9:40logic because they don't share a real -time brain.
- 9:42The elegant solution here is to use fresh, independent
- 9:46sessions, but you strictly only use them for
- 9:50distinct silos. Maintaining clean context is
- 9:53a developer superpower. A clean, focused context
- 9:56window spots incredibly simple solutions. those
- 9:59solutions get completely lost in crowded noisy
- 10:02chats so you might dedicate one isolated session
- 10:05entirely to documentation you use another separate
- 10:08session for the core logic right and another
- 10:10strictly for edge cases you isolate the variables
- 10:13but wait where exactly is the line between a
- 10:15distinct silo and just another part of the exact
- 10:18same task It all comes down to the final product
- 10:21destination. If the two sessions are trying to
- 10:23edit the exact same code block, that is a collision
- 10:26waiting to happen. Makes sense. But if one session
- 10:29is writing the core script and the other is writing
- 10:32a separate readme file, that is a perfectly distinct
- 10:35silo. Keep their jobs completely separate and
- 10:38they won't step on each other's toes. Divide
- 10:40and conquer. But keep the territories completely
- 10:43segregated. That brings us beautifully to our
- 10:46final major shift. This is the ultimate overarching
- 10:50goal of the 2026 workflow. We are finally moving
- 10:54from a manual day -to -day grind. to long -term
- 10:58skill -based leverage. Most people still use
- 11:01AI as a disposable conversational chatbot. They
- 11:04write a long prompt, they get a decent answer,
- 11:06they close the window. Yeah. And they start completely
- 11:09over from scratch tomorrow. It keeps you eternally
- 11:11stuck in manual mode. You're just pulling levers
- 11:13every single day. Exactly. The real paradigm
- 11:15shift is turning your repeat work into a repeatable
- 11:18skill. Think about basketball. A prompt is telling
- 11:22a player exactly how to dribble the ball down
- 11:24the court every single time. A skill is just
- 11:26calling a designated, heavily practiced play
- 11:29from the sideline. That is a brilliant way to
- 11:31picture it. You define the complex skill once
- 11:34and you securely store it. And then the AI fundamentally
- 11:38inherits your specific project DNA every single
- 11:41time it wakes up. Wow. It instantly knows exactly
- 11:43how we do things around here. It knows the coding
- 11:46standards, the formatting quirks, the preferred
- 11:49libraries. You're building infrastructure, not
- 11:51just sending text messages. Beat. But you also
- 11:53never want to bet against the model itself. Never.
- 11:56Betting against the model's trajectory is the
- 11:58worst strategic mistake you can make right now.
- 12:01The article stresses this heavily. Do not spend
- 12:04countless hours optimizing tiny, fragile prompt
- 12:08tricks for today's specific limitations. Because
- 12:10underlying AI models are improving at a staggering
- 12:14rate right now. Those little quirks and limitations
- 12:16you're hacking around, they will simply vanish
- 12:19in the very next model update. You should invest
- 12:21your energy in durable systems, better context
- 12:24management, and tighter iteration loops instead.
- 12:27You want to build architecture that actually
- 12:28survives the next major AI release. But if the
- 12:31underlying models are improving so rapidly, won't
- 12:34our documented skills become obsolete just as
- 12:37fast as our fragile prompts? Not if you build
- 12:41them correctly. Okay. Good systems and clear
- 12:43logical instructions actually scale beautifully
- 12:46with the model's intelligence. That makes sense.
- 12:48When the model gets smarter, your system just
- 12:50runs faster and makes fewer errors. Clever prompt
- 12:53hacks, on the other hand, just break immediately
- 12:55when the model updates. Build structured workflows
- 12:57that scale rather than relying on fragile, temporary
- 13:00prompt hacks. Yes, you are literally building
- 13:03an operating system. You are not compiling a
- 13:06collection of magic spells. Let's synthesize
- 13:08this entire journey for a moment. Mastering clawed
- 13:10code isn't about being a wizard engineer with
- 13:13secret knowledge. It's really not about having
- 13:15the secret magical list of prompts saved in a
- 13:18document. It is entirely about architectural
- 13:20discipline. You absolutely must plan the logic
- 13:23before you start building. Keep your standing
- 13:26rules incredibly lean and minimal. Verify all
- 13:29of your outputs with automated self -checking
- 13:31loops. Silo your parallel tasks strictly to avoid
- 13:34nasty context collisions. And finally, systemize
- 13:37your repeat manual work into highly durable skills.
- 13:40Less wizard. more operating system. It is remarkably
- 13:44simple. It isn't flashy at all, but it actually
- 13:47works reliably at scale. So here is your actionable
- 13:50call to action for today. Go into your project
- 13:53and delete your bloated Cleland E .MD file right
- 13:56now. Seriously, just burn it down. Start completely
- 13:59fresh. And try starting your very next development
- 14:01project in plan mode. Let the models argue about
- 14:04your logic before you build. Two sec silence.
- 14:07I want to leave you with one final, slightly
- 14:10provocative thought today. Something to really
- 14:12chew on while you work. If the gold standard
- 14:14right now is manually systemizing your repeat
- 14:17work into these stored skills, or wait, sorry,
- 14:20into these stored skills, what happens in the
- 14:22very near future? What happens when the AI starts
- 14:25silently analyzing your daily terminal behavior
- 14:27to suggest and build its own skills without you
- 14:30even asking? Oh, it is absolutely coming. The
- 14:32machine will inevitably learn exactly how you
- 14:34work just by watching you. We started today by
- 14:37saying build the thing is a dangerous trap. Someday,
- 14:39very soon, the AI might already know exactly
- 14:42how to build the thing before you even type a
- 14:44single word. OTRO music.