A Framework for Better UX Prompts

By saleemm | 11/22/2026

A Framework for Better UX Prompts

Generating UX content with AI is easy. Getting relevant, context-aware output requires the right input.

Instead of asking AI to generate content with a short instruction, I prefer structuring the prompt around seven key elements. This helps AI understand the user, the problem and the experience we’re trying to create.

A simple framework

  • Who: Who is the user?
  • Problem: What problem are they trying to solve?
  • Product: What product or experience are we designing for?
  • Differentiator: What makes this experience unique?
  • Sections: What content or components should the output include?
  • Action: What should the user do next?
  • Constraints: What rules, limitations or guidelines should AI follow?

Putting it into practice

Scenario: Generate UX microcopy for a payment confirmation page.

You are an experienced UX writer designing for an e-commerce mobile application.

Who: A customer who has just completed a purchase.

Problem: The customer needs confirmation that the payment was successful and wants to know what happens next.

Product: An e-commerce mobile app.

Differentiator: A transparent, simple and trustworthy shopping experience.

Sections: Generate a confirmation headline, supporting message, payment details, order reference, delivery information and CTA labels.

Action: Encourage the customer to view order details, with continue shopping as a secondary action.

Constraints: Use simple English, a reassuring tone, concise copy and avoid unsupported delivery promises.

This structure helps AI understand the design context before generating content, reducing generic responses and making the output more aligned with the product experience.

Better prompts start with better design thinking.

Let's Connect

Feel free to reach out for collaborations

Email Address

saleem2310@gmail.com

Phone Number

(469) 679 2771

Location

Austin, TX