Latest / AI Fire Daily / #598 Neil: Claude Design Builds Reusable Rules From One Reference
Transcript
- 0:00We've all been there, right? You spend, I don't
- 0:01know, an hour crafting the perfect AI image prompt.
- 0:05And the result you get, it looks truly amazing.
- 0:07It's exactly what you wanted. But then you ask
- 0:10for a really simple second version, just one
- 0:13small tweak. And it all falls apart. Completely.
- 0:16Suddenly the fonts drift into something unrecognizable.
- 0:19The colors completely shift away from your brand.
- 0:21The whole layout just... It just breaks. It's
- 0:24this deeply universal frustration with AI design.
- 0:28It really is the worst. I mean, you finally get
- 0:29that perfect aesthetic look, right? And then
- 0:31the AI just seemingly forgets everything you
- 0:33just taught it. It's like you're back to square
- 0:35one. But today, we actually fixed that problem.
- 0:39We're finally solving it. We are. We're going
- 0:41to reverse engineer a PERSIC design. We'll turn
- 0:44it into an automated, completely reusable AI
- 0:47system. And we're doing this entirely using Claude
- 0:50Design. Welcome to the deep dive. We have a very
- 0:54clear roadmap for you today. We're exploring
- 0:56a specific six step workflow. We'll move from
- 1:00just a single reference image and we'll end up
- 1:02with a completely foolproof visual system. I
- 1:05really want to take this slow today. I want to
- 1:08understand the underlying logic here. You know,
- 1:10how this actually works under the hood. Yeah,
- 1:12I think we need some context first before we
- 1:14get into the steps. So there are several cheaper.
- 1:18you know, Chinese AI models available today.
- 1:20Right, highly capable ones. Very capable, incredibly
- 1:23fast. But Claude Design has one massive advantage
- 1:26over them. It can study a really good visual
- 1:29design and actually find the mathematical rules
- 1:31hitter behind the pixels. And then it builds
- 1:35a reusable framework from that math. Which means
- 1:37you never have to start from zero again. Okay,
- 1:40so let's talk about that starting point. Step
- 1:42one. We obviously need to feed the AI some sort
- 1:46of inspiration. Right. I assume we don't just
- 1:48give it a blank canvas and say, you know, do
- 1:50your best. No. We must upload a very clear visual
- 1:54reference. So it could be a vintage poster or
- 1:56maybe a modern website. But what kind of instructions
- 1:59are we actually giving it when we upload that
- 2:01image? So we give Claude a highly detailed brief.
- 2:04We're giving it very strict factual instructions
- 2:07to follow. We tell it to deeply analyze the overall
- 2:10layout. we ask it to study the visual hierarchy.
- 2:14We really want it looking at the typography very
- 2:16closely. Like the specific fonts. Exactly. Yeah.
- 2:19It needs to check specific font sizes, the weights
- 2:21of the text. It also checks the spacing and the
- 2:24structural alignment of the whole page. So it's
- 2:27breaking down the actual anatomy of the design.
- 2:30Yeah. It analyzes the specific use of empty space.
- 2:34It looks at signature visual details across the
- 2:36canvas. Subtle things, right? Like borders or
- 2:39drop shadows. All of it. But how do we control
- 2:41what it actually takes? Because if it just copies
- 2:44it, that's a problem. Right. So we give Claude
- 2:46a very strict boundary here. We explicitly tell
- 2:49it not to copy the original brand. It must never
- 2:52copy the original text exactly. Instead, we have
- 2:55it separate the visual rules into two distinct
- 2:57buckets. Two buckets. Yeah. Bucket one holds
- 2:59the elements that must stay consistent, the fixed
- 3:02stuff. Bucket two holds the elements that flex
- 3:05with new content. And this separation generates
- 3:08our very first draft. I have to say, I've tried
- 3:10something vaguely similar before, and the AI
- 3:13usually just ends up ripping off the original
- 3:15logo anyway. Yeah, that happens a lot. So how
- 3:18do we ensure the AI is actually learning the
- 3:21style? We really need to prevent actual plagiarism
- 3:24from happening here. It really comes down to
- 3:26the level of abstraction we're asking for. OK.
- 3:29Claude is specifically analyzing the spatial
- 3:32relationships on the page. It's looking for the
- 3:35underlying geometric logic. It is not looking
- 3:38at the actual colored pixels. It ignores the
- 3:42original creative content entirely. It just simply
- 3:45maps how the different elements interact with
- 3:48each other. So it steals the underlying blueprint,
- 3:50not the actual house. Exactly. It just wants
- 3:53the architectural math. It completely leaves
- 3:55the original furniture behind. OK. That makes
- 3:58perfect sense. So we have this first generated
- 4:00draft. Yeah. But in my experience, the first
- 4:02draft is rarely perfect. It usually gets us,
- 4:05I don't know, maybe 80 % of the way there. If
- 4:07you're lucky, yeah. Right. And if we extract
- 4:09the rules right now, we're basically extracting
- 4:12flawed rules. Honestly, I still wrestle with
- 4:15prompt drift myself. Oh, we all do. It's incredibly
- 4:18hard to manage over multiple iterations. You
- 4:21fix one thing, another thing breaks. And that
- 4:23is exactly why this next phase exists. Step two.
- 4:26We do not extract the rules from that rough first
- 4:30draft. We create a separate, completely reusable,
- 4:34clawed skill instead. We call this specific utility
- 4:37the design loop. The design loop. Yeah. It performs
- 4:41four specific, very rigorous review passes on
- 4:44the draft. Tell me more about those specific
- 4:47review passes. What exactly is it looking for
- 4:49in the very first pass? So pass one specifically
- 4:52checks the overall composition. OK. It's looking
- 4:54for structural balance and a clear focal point.
- 4:56It basically wants to know where the eye travels
- 4:58first when you look at it. Right, the visual
- 5:00anchor. Exactly. Then Pass 2 focuses heavily
- 5:03on typography and structural hierarchy. It asks
- 5:06if the main headline has enough visual impact.
- 5:09It checks for strict font consistency across
- 5:11the entire design. So it's actively critiquing
- 5:14its own previous work. Very critically, yeah.
- 5:17That's fascinating. And then Pass 3? Pass 3 is
- 5:19all about spacing. and exact alignment. It checks
- 5:23the margins, the invisible grids. It makes sure
- 5:26no specific area feels too visually crowded.
- 5:29It's acting like an art director. Basically,
- 5:31yeah. So what happens in the final pass of this
- 5:34loop? Pass four is the final visual consistency
- 5:38check. It verifies the exact color palette is
- 5:41applied correctly. It checks that repeated details
- 5:44match perfectly throughout the entire canvas.
- 5:46Wow. Yeah. And we run this loop on the first
- 5:49draft inside our original chat. Oh, I see. We
- 5:51keep the core visual concept completely intact.
- 5:55We just systematically polish the weak areas.
- 5:57We just do this until we have a flawless source
- 5:59design. I understand the function of refining
- 6:02the draft. It makes total sense. Yeah. But I'm
- 6:04curious about the mechanical setup here. Why
- 6:06build this design loop as a completely separate
- 6:08skill? Why not just prompt the main chat to review
- 6:11its own work right then and there? Because you
- 6:13want to completely isolate this specific function.
- 6:17By isolating it, you create a permanent utility
- 6:20tool. You never have to rebuild this critique
- 6:22system again. You never have to re -explain the
- 6:25four passes for future design projects. They're
- 6:27just ready. It just sits there, perfectly ready
- 6:29to work. You just call on it whenever a new draft
- 6:31needs polishing. Build the tool once, reuse it
- 6:34forever without retyping instructions. Exactly.
- 6:36You save yourself just hours of repetitive frustration.
- 6:40It automates the absolute most tedious part of
- 6:43the creative process. So after this rigorous
- 6:45loop, we finally have a perfect source design.
- 6:47Yes. But right now, it is just a beautiful flat
- 6:51image, essentially. We need to extract its soul
- 6:53before we can actually automate it. Right. We
- 6:55have to translate all that visual beauty into
- 6:57usable data. How do we actually pull the rules
- 7:00out? What is step three? So we call this specific
- 7:04extraction the design DNA. Design DNA. Yeah.
- 7:07Claude analyzes the flawless design across 10
- 7:10specific vectors. 10. 10 of them. Yeah. And this
- 7:13analysis is incredibly thorough. It is deeply
- 7:17mathematical. It looks closely at the typography,
- 7:20the overall layout. It maps out the grid and
- 7:23the specific spacing used. It measures proportions
- 7:26alongside the entire color system. It must also
- 7:29map the negative space. Right. That's huge in
- 7:32design. Oh, definitely. Yes, it charts negative
- 7:34space and all the little visual details. It outlines
- 7:36the hierarchy and the distinct signature choices.
- 7:39Okay. And finally, it clearly defines the specific
- 7:42design refusals. Doing all this, it's like stacking
- 7:47Lego blocks of data. That's a great way to put
- 7:49it. It just builds a complete structural profile
- 7:51of the aesthetic. I think that analogy is perfectly
- 7:54accurate. It really is like building blocks.
- 7:56Yeah. But these resulting rules, they must be
- 7:58completely measurable. Correct. They can't just
- 8:01be vague, artistic suggestions to the AI. Like
- 8:05we cannot just say something like, use bold typography
- 8:09or make it pop. No, no. Make it pop will ruin
- 8:12everything. Right. The rule must be rooted in
- 8:14strict mathematics. Absolutely. The source material
- 8:17gives a really great factual example of this.
- 8:19Instead of vague instructions, the AI actually
- 8:22writes a strict formula. It says, the main headline
- 8:26should take 35%. to 45 % of the content width.
- 8:30Oh, wow. Right. It measures everything in precise
- 8:33percentages and strict ratios. And this extraction
- 8:37process typically yields about 10 to 15 core
- 8:40rules like that. That is so precise. Yeah. I
- 8:42want to circle back to one term you mentioned,
- 8:44though. Sure. You brought up something called
- 8:46design refusals. Ah, yes. What exactly are they
- 8:49and why are they a necessary part of the DNA?
- 8:51I really want to understand their specific function
- 8:53in this whole system. Refusals are essentially
- 8:56negative constraints. for the AI. They clearly
- 9:00define what the design should actively avoid
- 9:02doing. OK. So they might permanently ban specific
- 9:06colors from being used, like never use neon green.
- 9:08Right. They might forbid the use of overly busy
- 9:10layouts or central line text. They actively prevent
- 9:14the core visual identity from breaking down.
- 9:16They keep the AI from making messy creative leaps.
- 9:19Defining the boundaries is just as crucial as
- 9:21painting the picture. Sometimes knowing what
- 9:24not to do is actually more important. It just
- 9:25keeps the automated system safely on the rails.
- 9:28OK, so we've successfully extracted this mathematical
- 9:31DNA now. We have our 10 to 15 rules. But isolated
- 9:35DNA still needs a proper host to survive. We
- 9:38must organize these scattered rules into a master
- 9:41file. We have to build the actual structural
- 9:44system. This is step four and five. Right. So
- 9:46how do we organize these core rules? We organize
- 9:49the DNA into a 12 -part AI design system. It
- 9:53basically becomes a massive, highly structured,
- 9:55technical document. It includes all the foundational
- 9:58elements, all the specific typography rules.
- 10:00It clearly maps the grid, the spacing, and the
- 10:02scale. It defines reusable components alongside
- 10:06fixed versus flexible rules. It also outlines
- 10:09usage rules and a strict consistency checklist.
- 10:12Exactly. And then we have to save this entire
- 10:15system document. We save it as a KLAIU .md file
- 10:18in the project root. Let me quickly clarify that
- 10:20specific term for our listeners who might not
- 10:22be developers. A KLAIU .md file is basically
- 10:25a hidden rule book the AI reads before it starts
- 10:27any work. That is exactly what it is in practice.
- 10:30It completely preconditions the AI before you
- 10:32even type a prompt. It just knows. It just knows.
- 10:35And when you realize the true potential here...
- 10:38Whoa, imagine scaling to a billion queries. Seriously?
- 10:42You could apply this master rule book across
- 10:44an entire enterprise's design output. It guarantees
- 10:48total brand consistency globally, completely
- 10:50without human oversight. Every single generated
- 10:53image instantly follows the corporate math. The
- 10:56scale of that is genuinely hard to wrap your
- 10:58head around. It's staggering. It's massive. But
- 11:00I do see a potential practical issue here. OK,
- 11:03what's that? When we start generating a completely
- 11:06new design, things naturally change. What happens
- 11:09if a rigid rule contradicts the new text content
- 11:12we want to use? What if the new headline is just
- 11:15way too long for the allocated grid? That exact
- 11:17tension is why the system is structurally split.
- 11:21The keylad .md file explicitly separates the
- 11:24rules into two categories. It separates the fixed
- 11:27rules from the flexible rules. Fixed rules strictly
- 11:30protect the core visual identity, the absolute
- 11:33must -haves. But the flexible rules, they gently
- 11:36adapt to content links or new formats. The AI
- 11:40basically knows which rules it is allowed to
- 11:43dynamically bend. Fixed rules lock the identity,
- 11:46flexible ones let the content breathe. Yes. Beautifully
- 11:49put it perfectly prevents the design from shattering
- 11:51under pressure. It gives the AI structured freedom
- 11:54to actually solve layout problems Okay, but a
- 11:57theoretical system is honestly pretty useless
- 11:59on its own true It is only valid until it survives
- 12:02contact with a completely different format. We
- 12:05have to stress test this master file in the real
- 12:07world Step six. Right, step six. How do we prove
- 12:10that the keelyud .md file actually works? So
- 12:14this final phase is the ultimate consistency
- 12:16test. We purposefully prompt Claude to create
- 12:19a completely new poster. OK. But this time, we
- 12:22demand a square social media poster. The specific
- 12:25dimensions are 1080 by 1080 pixels. Oh, that's
- 12:28tricky. Very tricky. And the theoretical event
- 12:30is called midnight frequencies. It features an
- 12:33electronic artist named Mira Vale. So we are
- 12:35moving from a tall vertical canvas to a square
- 12:37canvas. The system must adapt all its rules to
- 12:41this new geometric constraint. And it must do
- 12:44this without losing the original visual identity.
- 12:47That seems like an incredibly difficult leap
- 12:50for an AI. It really does. But the outcome from
- 12:53the source material is genuinely fascinating.
- 12:56Claude successfully scales the typography hierarchy
- 12:59specifically for the square format. It mathematically
- 13:02calculates and adjusts the negative space perfectly.
- 13:06It keeps the distinct accent colors completely
- 13:08intact. It manages to look like the exact same
- 13:11brand campaign, just square. But what happens
- 13:14if the math just doesn't fit? Say a headline
- 13:16with rule is simply way too strict for a square
- 13:18canvas. It has to break at some point, right?
- 13:20If a rule fails, Claude actually reports it back
- 13:23to you. Really? Yeah. Claude provides a detailed
- 13:26visual consistency report. It points out exactly
- 13:28which mathematical rule caused the layout conflict.
- 13:31That is incredibly helpful. It's amazing. This
- 13:34feedback loop allows the user to easily update
- 13:36the CLOTUDHD file. You can slightly tweak those
- 13:40flexible rules for future square generations.
- 13:42I'm still really hung up on the spatial translation
- 13:45part of this. How does the AI know how to handle
- 13:48a completely different shape? I mean, moving
- 13:50from a tall vertical poster to a perfect square
- 13:53is jarring. Yeah. How does it arrange the elements
- 13:56without just squishing them all together? It
- 13:58does not rely on visual memorization at all.
- 14:00Claude relies entirely on the mathematical ratios
- 14:03we extracted earlier. It looks deeply at the
- 14:06grid relationships that are stored in the DNA.
- 14:09It doesn't try to just force the original layout
- 14:11into a new box. It fundamentally recalculates
- 14:14the math for the new specific dimensions. It
- 14:17translates the core math to fit the new canvas
- 14:19perfectly. Exactly. It just becomes an exercise
- 14:22in pure geometry at that point. It solves the
- 14:24square canvas as a mathematical equation. Sponsor.
- 14:27So let us zoom out for a second and look at the
- 14:30big idea here. We really need to summarize this
- 14:32philosophical shift for the listener. It's a
- 14:33big one. Because this completely changes how
- 14:36we approach AI generation. You no longer have
- 14:39to start from a terrifying blank prompt every
- 14:42single time. The structural pipeline we talked
- 14:45about changes everything about visual creation.
- 14:48It really gives you a highly repeatable scientific
- 14:51process. Exactly. You start by providing a strong
- 14:54visual reference. You rigorously run that draft
- 14:56through the You systematically extract the mathematical
- 15:00design DNA. You organize and build the master
- 15:03CLIE .md file. And finally, you run the consistency
- 15:08testing on new formats. This means you can turn
- 15:10one single spark of inspiration into a permanent,
- 15:13scalable visual engine. It really is a profound
- 15:16change to the workflow. Treating design as measurable
- 15:19data completely changes the creative process.
- 15:22It totally removes the frustrating guesswork
- 15:24from generating daily assets. I want to leave
- 15:28you with one final thought today. If an AI can
- 15:31perfectly map our signature design choices into
- 15:33pure math, and if it can flawlessly replicate
- 15:36them across any format, does visual originality
- 15:39just become a highly customizable algorithm?
- 15:42I invite you to try extracting the DNA of your
- 15:44favorite poster this week. Feed it into the system
- 15:46and see what the underlying math actually looks
- 15:48like.