Annotate the design with its hidden states
Anthropic’s product design account describes using mockup images to start working prototypes. Consider an example invitation modal with one input and a Send button. A screenshot cannot show initial focus, what happens on a second click during submission, or where focus goes when an error appears. Put those details beside the screenshot before asking for a prototype.
Prompt with the interaction you want to observe
Use a local fixture with simulated responses so the prototype can show relevant states without contacting a live backend.
Build this invitation dialog from the mockup. On open, focus the email field. Show a pending state once Send is activated. Make separate fixtures for success and an email already invited. Return focus to the launcher when it closes. Keep the API stub local and document how to open each state.Review the whole flow with concrete actions
Open the dialog with the keyboard, shift focus backwards, submit twice during the pending case, and check the error near the field it describes. At a narrow viewport, verify the form can be completed while the footer is visible. Record steps, screenshots, and expected behavior for any point that needs a design decision.
Give engineering a reproducible issue
For an error state that obscures the field, include the viewport width, mock fixture and keyboard steps that reveal the defect. State which text should remain on screen and where focus should land. A teammate should be able to reproduce the issue without guessing which screenshot or state they need.
Related reading
Claude Code for Data Infrastructure