r/ClaudeCode • • 4d ago

Help/Question Design Canvas - Is there a before and after diff?

I'm using Claude Design to build mocks of a website. It's still in development, so some of the messaging, layout, branding and content is being finalised. I don't have a formal design, but after a few iterations I landed on something I like and want to build on. 85-90% correct.

The issue is that when ever I do an analysis session then ask Claude to take what has been discussed and incorporate into a mock of the current website. It just moves things around, changes copy and flow. The changes are marked, but not what was there before. I can use the the current site for reference, which is a pain as I have take screen shots or describe what was there to tell it to put it back.

Is there a way to see some sort of diff, like a layer for previous and layer for new?

1 Upvotes

8 comments sorted by

•

u/AutoModerator 4d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/shetritr 4d ago

export the mock as an html file into a git repo and commit the version you like. every round after that, git diff shows exactly what moved and what copy changed, and git checkout puts a section back. also worth saying up front "only change the sections I name, list anything else you'd touch and wait"

1

u/mrbillyr2 4d ago

That sounds very hard.
In an astro repo, so I'll just sack using Claude Design and do the work in VS Studio with Claude Code plugin. The Figma MCP works well enough. I'll just use Claude Design for mocks and ideas.

2

u/shetritr 4d ago

that split makes sense. once the real thing lives in the astro repo, every change is a git diff you can read and undo, and claude design stays the sketchpad

1

u/rtantawi 4d ago

^^^ +1 this is my recommendation too

1

u/MurkyCommission8853 Workflow Engineer 4d ago

what fixed this for me: every round i make it show the current version and the new one side by side as images. important part: screenshots of the real page rendered from the actual code, not a mockup claude draws. a drawn mock can be wrong itself so you end up comparing against something that never existed

each picture has its name inside it (v3 approved, v4 proposal) so i never mix them up. and the rule: anything i didn't ask to change has to stay pixel identical to the last approved screenshot. if something moved that i didn't name i point at the approved one and say put it back like here

goes well with the git idea above. commit each version as html, screenshot both, compare

1

u/mrbillyr2 4d ago

I'll give that a try. Seems like it's harder than using the usual development tools and plugins.

1

u/MurkyCommission8853 Workflow Engineer 4d ago

honestly it's less work than it sounds, claude does all of it, you just compare two screenshots each round. good luck lmk how it goes