The Working Approach
The agent begins with the actual image: its dimensions, visible copy, hierarchy, proportions and assets. It also reads the target project so the implementation fits the existing framework and screen. A cropped screenshot defines only the visible area; it is not permission to invent the rest of the page.
Implementation uses real layout, text and controls. Once the reference viewport is matched, the agent checks other requested sizes. The final step is to render at the reference dimensions, wait for fonts and images, compare the result and correct visible differences. Missing assets and unverified rendering must remain explicit.
Expected Deliverables
- Editable interface code using the target project’s stack and appropriate reusable components
- Requested controls connected to existing behavior, without invented backend functionality
- A short account of the actual visual comparisons, remaining differences and missing assets
From Reference to Comparison
- 01Inspect the Actual Image
Read the image itself, not just its filename or extracted text. Identify its dimensions, visible region, alignment, typography and assets before editing code.
- 02Build at the Reference Size
Match hierarchy, wrapping, spacing and crops in the existing stack. Reuse components when they can reproduce the reference; do not force it into unrelated defaults.
- 03Render and Correct
Capture the running screen at the same viewport. Compare large layout and proportion differences first, then typography, color and small details; render again after changes.
- 04Check the Requested Variants
After the reference size is established, test the requested responsive sizes and working controls. Report any remaining mismatches instead of promising pixel-perfect fidelity.