r/ClaudeDesign • u/stargazer1002 • 10h ago
Best visual regression / optimization loop?
the title is clumsily worded but what I mean is a loop you can run deterministically with claude code where you give it a source like a mockup image with an objective and a set of invariants so the loop runs until it reaches 95% of fidelity of the source. And then move onto the next mockup.
so for example taking a Claude design mockup and converting it into a shadcn component using base ui primitives or whatever.
ive had marginal success trying to prompt engineer this.
1
Upvotes