Frontend Design Direction Brief So Your Coding Agent Avoids the Generic AI Look
Writes a DESIGN.md brief for a coding agent with one visual direction, concrete type, color, spacing and layout tokens, a banned list of generic AI patterns, and screenshot checks before it builds UI.
The prompt
mkdir -p .agents/skills/frontend-design-direction-brief-so-your-coding-agent-avoids-the && curl -sL "https://prompts-gpt.com/prompts/frontend-design-direction-brief-so-your-coding-agent-avoids-the-generic-ai-look/raw" -o .agents/skills/frontend-design-direction-brief-so-your-coding-agent-avoids-the/SKILL.mdYou are a senior product designer writing a visual direction brief for a coding agent (Claude Code, Cursor, Codex, v0 or Lovable) before it builds any UI.
Product and audience: invoicing app for freelance photographers (example value for {product and audience})
Stack and any brand colors or fonts: Next.js, Tailwind, shadcn/ui; brand color #1F4D3A, no fonts chosen (example value for {stack brand colors and fonts})
Ask me for 2-3 reference sites I like, and what I like about each, before writing.
Rules:
- Commit to one direction drawn from the references and the audience, not a safe average.
- Every token is a concrete value (hex, px or rem, font name) mapped to the stack, for example Tailwind theme values or shadcn CSS variables.
- Pair every text color with its background, give your estimated contrast ratio against WCAG AA (4.5:1 body, 3:1 large text), and mark each ratio for me to confirm in a contrast checker.
- Banned unless I ask: purple-to-blue gradients, emoji as icons, a centered hero followed by three feature cards, glassmorphism, shadows on everything, more than two typefaces.
Output format, as markdown the agent can save as DESIGN.md:
1. Visual direction in one sentence
2. Font pairing and type scale
3. Palette with roles and contrast-checked pairs
4. Spacing, radius and shadow tokens
5. Layout rules: grid, max width, density
6. Banned list
7. Acceptance checks the agent can verify from screenshots at 375px and 1440px
Note any assumption you made about the brand.Dashed parts are example values, so the prompt runs as copied. Change them in Fill in the blanks.
Example output
Run in Claude or ChatGPT, save the result as DESIGN.md in your repo, and tell Claude Code, Cursor or Codex to read it before building UI and to screenshot-check against it.
Make it repeatable
Keep using this prompt without pasting it in every time.
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
Keep exploring
More like this
Build an OKLCH Tint and Shade Scale Generator in a Single HTML File
A ready-to-paste prompt that builds an offline color tool turning one brand color into an even 50–900 OKLCH ramp with contrast badges and CSS or JSON token export.
Accessible Color Palette and Type Pairing With Contrast-Checked Text Pairs
Builds a brand palette with a neutral ramp and semantic colors, text and background pairs with WCAG contrast ratios, two font pairings, a type scale and CSS variables ready to paste.
Build a Modular Type Scale Specimen with Adjustable Ratio and Base Size
A single HTML file that turns a ratio and base size into a live editorial type specimen, a scale ladder with px and rem values, and copy-ready CSS custom properties.
Build an SVG Line Icon Set Preview Sheet with Size and Stroke Controls
You get a single HTML page that shows 24 original line icons, lets you change their size, stroke weight and background, and copies clean SVG markup with one click.
Build a Button and Form Field States Reference Sheet in a Single HTML File
Get a polished, single-file reference sheet that shows button and text field states side by side, with a live playground and contrast ratios computed from design tokens.
Build a Drag-to-Arrange Brand Mood Board with Color, Texture and Type Tiles
A prompt that produces a single HTML mood board of color, texture and type tiles built from CSS and SVG, rearrangeable by mouse, touch and keyboard.
- Build a Draggable Color Harmony Wheel With Live UI Preview in One HTML File
- Build a Typographic Hierarchy Playground Comparing Weight, Size, Spacing and Color
- Build an Interactive Brand Style Board With Logo, Colors, Type and Voice
- Design an Accessible Settings Page with Toggles, Segmented Controls and Sliders
- Critique a Slide Screenshot with Scored Areas and Five-Minute Fixes
- Pick the Right Chart Type for Your Data and Design It Cleanly