In the pack: Claude Prompts for Work: 46 Prompts for Projects, Artifacts, Files and Claude Code
Fix a Layout From a Screenshot and a Mockup
Prompt
First, in a short list, describe the differences you can see between the two images: spacing, alignment, sizes, colours, missing or extra elements. Say which differences you are sure about and which are guesses.
Then find the component and styles that produce this part of the page and tell me which files you will change before you change them.
Make the changes. Keep to the existing styling approach in the repo and add no new libraries. If you can, run the app and check the result against the target image, and tell me what you compared. If you cannot run it, say so and list what I should check by eye. Finish with a short summary of every file changed.
Customize this prompt
Fill in the variables below to personalize this prompt:
Model Settings
Recommended Models
Temperature
Max Tokens
Additional Notes
About this prompt
“Fix a Layout From a Screenshot and a Mockup” is a free prompt for Claude in the Coding & Software category, 145 words long, added to The Prompt Index on November 18, 2026 by The Prompt Index. Copy it with the button above, paste it into Claude or any other AI chat assistant, and send it.
It has 3 placeholders to fill in first:
{{CURRENT_IMAGE}}, {{TARGET_IMAGE}}, {{FRAMEWORK}}.
Use the “Customize this prompt” fields to personalise it before you copy.
Recommended models: Claude.
0 upvotes, sent to an AI tool 0 times, viewed 8 times.
Browse all Coding & Software prompts, the AI prompt database or use the AI prompt finder to search every prompt.