Your AI Agent Builds the Same Mobile Screen Every Time. Here's the Prompt That Fixes It A developer's hands-on writeup argues that AI coding agents like Claude Code, Cursor and Codex produce generic mobile screens because text prompts leave layout, motion, insets and theming decisions to the model's defaults. The proposed fix is to paste a complete reference screen—with spring animations, safe-area insets and light/dark palettes—into the prompt so the agent adapts concrete code rather than guessing, backed by a five-part prompt checklist. Try this. Open Claude Code, Cursor or Codex in a fresh Expo project and type: Build a sign-in screen. I'd bet you get this: It works. It also looks like every other app the agent has built. This post is a hands-on take on Why your AI agent's mobile screens all look the same https://gluestack.io/blogs/why-ai-agent-mobile-screens-look-the-same?utm source=devto&utm medium=referral&utm campaign=ai-screens-same&utm content=intro by Sanket Sahu on the gluestack blog. An LLM writes the most likely code for your request. Give it nothing specific to aim at and the most likely screen is the average of every screen it has seen. On mobile there are a lot of decisions the prompt never mentions: insets, gestures, press feedback, scroll behavior, motion timing, a second color theme. The agent picks the default for each one. Stack enough defaults and you get "generic." 1. Longer prompts. Writing "modern, clean, soft gradient, subtle animations" just gives the model more adjectives to read in the safest possible way, and none of them pins down spacing, hierarchy or timing. 2. Screenshots alone. A screenshot is one frame in one theme. Motion, press states, component structure and dark mode are all lost, so the agent guesses them. 3. A UI kit on its own. A component library gives the agent good buttons and inputs, but not a screen. Arrange good parts in an average layout and you still get an average screen. Paste a complete, finished screen into the prompt: real layout, spacing, animations, insets and both palettes. The agent stops guessing and starts adapting , which is what it's actually good at. Here's the kind of detail a reference carries that a text prompt never does. Compare a typical agent output: // What you usually get export default function SignIn { return