All UX laws

Specificity Principle

An AI gives back about as much detail as you give it.

AI outputs match the specificity of the input.

By Rohit Sonawane, product designer · Last reviewed 16 November 2026

What is the specificity principle for AI?

The specificity principle says an AI's output is about as specific as the input you give it. A vague prompt gets a generic result. A prompt that states the purpose, audience, layout and constraints gets something much closer to what you need.

Build a prompt that leaves nothing to guess

The prompt behind an AI feature is two words long. Build a better one from parts, and see what the model still has to guess. Some parts add words and settle nothing.

How do you apply the Specificity Principle?

State purpose, layout, color, typography, density, and dimensions. Reference a known style.

How to apply the Specificity Principle, step by step

  1. State the purpose of the screen and who uses it.
  2. List what must appear and what must not.
  3. Describe layout, style and constraints, with a reference if possible.
  4. Review the result and refine one detail per follow-up.

What does the Specificity Principle look like in a real product?

Vague prompt in, generic result out

Ask an AI tool for “a nice landing page” and you get a bland, average one, because you left every real decision to it. Specify the purpose, the layout, the colour direction, the typography, the density, and the exact dimensions, and reference a style it knows, and the output snaps toward what you actually pictured. The model matches the specificity of the input: the more precisely you constrain it, the less it has to guess, and the closer the first draft lands.

What are common mistakes with the Specificity Principle?

  • Giving a one-line prompt and blaming the model when the result is generic. It filled the gaps you left.
  • Piling on adjectives (“modern, clean, premium”) that sound specific but constrain nothing concrete.
  • Leaving out the measurable constraints (dimensions, layout, density, a named reference) that actually pin the output down.

When does the Specificity Principle not apply?

Precision helps most when you already know what you want. Early in exploration the opposite is useful: a loose, open prompt lets the model surface directions you hadn't considered, which you then tighten. Over-specifying too soon can also fight the model, forcing a worse result than a clear goal plus room to solve it would give.

How do you know you applied the Specificity Principle well?

Someone reading your prompt could sketch roughly the right screen without asking you questions.

Specificity Principle: frequently asked questions

How do I write a better prompt for UI design?

Say what the screen is for, who uses it, what must be on it, the layout and the visual style, and name a reference if you have one. Then refine one detail at a time.

Does a longer prompt always give better results?

Not always. Relevant detail helps; filler does not. A short prompt with the key facts often beats a long one full of vague adjectives.

Why do AI-generated designs look generic?

Because generic prompts produce the most common answer the AI has seen. Specific goals, users and constraints push it away from the average.

Practise it on a real challenge

AI Mockup — the prompt behind a clean pricing card

You want to use an AI image tool to mock a clean SaaS pricing card. The prompt decides the result.

Put Specificity Principle into practice

  • AI Prompt Engineering Kit — A designer's AI toolkit — prompts that assist, not replace.

Related reading

  • AI product design: 8 principles for AI features people trust

More UX laws

  • Interruption Cost
  • Calibrated Trust
  • Statistical Power
  • Tesler's Law
  • Time-to-Value
  • Token Layering
UX QuestUX Laws and PrinciplesUI UX PracticeUX Design Challenge GeneratorNotion TemplatesBlogPricingAboutContactPrivacy PolicyTerms of ServiceRefund PolicySitemapChangelogPopular UX laws:60-30-10 RuleDesign every stateStatistical PowerFunnel TriageAccessible contrastDensity Matches ContextHick's LawFitts's LawAll UX laws