Prompt Library
Working prompts for designing with AI.
The 28 prompts I actually use in product design, generalized from real projects so you can adapt them. Copy one, swap in your specifics, and go.
Discovery
Audit a product, codebase, docs, or feedback, and see how leading products solve the same problem, before you change anything.
Find data that's already there but hidden in the UI
You think the information a feature needs already lives in the product, it's just not shown anywhere.
Find data that's already there but hidden in the UI
You think the information a feature needs already lives in the product, it's just not shown anywhere.
Interrogate this codebase and map what's already available to
show in the UI but isn't surfaced today: capability metadata,
parameter and schema descriptions, categorization, connection
and execution state, health and status. For each one, tell me
where it lives and what it would take to expose. Cite the
files so I can read them myself. - codebase
- discovery
- developer tools
See every action a user can take, and the overlaps
A screen has piled up buttons and menu items over time and you need the full list before you reorganize it.
See every action a user can take, and the overlaps
A screen has piled up buttons and menu items over time and you need the full list before you reorganize it.
Inventory every action a user can take on this object, and
where each one is exposed today. Group them by what they
actually do, and flag the duplicates and the outliers:
actions that appear twice, or that don't belong with the
rest. Don't propose a redesign; just make the overlaps easy
to see. - IA
- actions
- audit
Make sense of a docs site that grew out of control
Documentation has sprawled and you need to see the overlaps, dead ends, and mis-filed pages.
Make sense of a docs site that grew out of control
Documentation has sprawled and you need to see the overlaps, dead ends, and mis-filed pages.
Crawl the full documentation tree and inventory every page:
URL, title, and what it covers. Cluster the pages by topic,
and surface the overlaps, the orphans, and anything filed
under the wrong group. Propose a few candidate groupings for
me to react to. The call on entry points and category names
stays with me. Match your prototype's parts to the real components
You built something in a prototype and engineers need to know which production component each piece becomes.
Match your prototype's parts to the real components
You built something in a prototype and engineers need to know which production component each piece becomes.
Audit the production component library. For each primitive in this
explorer (button, input, select, table, tabs, dialog), name the
production component it maps to and the props that would carry
over. Output a table I can drop into the status board, and cite
the files so the front-end team can read them. - design systems
- handoff
- components
Find out which components are the real ones
You've inherited a big component library and need to know what's canonical before you clean it up.
Find out which components are the real ones
You've inherited a big component library and need to know what's canonical before you clean it up.
Crawl every component file in the repo. For each, extract path,
name, exported props, which token and framework imports it uses,
and how many other files import it. Classify by function (layout,
data-display, input, feedback, navigation, domain) and flag likely
duplicates where several components solve the same problem (multiple
table, dialog, or button architectures). Output one machine-readable
inventory file. Read-only; change nothing. - design systems
- audit
- duplication
Turn five versions of a component into one
The same component exists in several inconsistent variants and you need a single agreed-on version.
Turn five versions of a component into one
The same component exists in several inconsistent variants and you need a single agreed-on version.
Using the inventory as reference, scan every real usage of one
component type (say, all table and data-grid variants). Treat them
as evidence, not code to port. Note repeated structures, drift, and
duplicated wrapper layers, and inconsistency in spacing, density,
empty and loading states, filters, pagination, selection, row
actions, and errors. Assign ownership by layer: base mechanics,
styling and defaults, toolbar and states, product data. Then define
one harmonized target model, with parity notes on what's real,
what's mocked, and what's unresolved. - design systems
- consolidation
- drift
Pull scattered feedback into one clear list
Feedback on a feature is spread across chat, support, and tickets and you need it in one place before a redesign.
Pull scattered feedback into one clear list
Feedback on a feature is spread across chat, support, and tickets and you need it in one place before a redesign.
Scan the listed channels and trackers for all feedback about the
feature. Compile it into one document, external feedback first, then
internal. For each item capture who, where, when, a verbatim quote,
and a one-line takeaway. Separate UX problems from technical bugs and
genuine feature requests. Build a recurring-patterns table mapping
each pattern to who reported it, and close with the highest-leverage
takeaways for the redesign. Flag any attribution you can't confirm
rather than asserting it. - research
- feedback
- synthesis
Learn how a codebase really works before you touch it
You're jumping into an unfamiliar repo and the setup notes you were handed don't match what's there.
Learn how a codebase really works before you touch it
You're jumping into an unfamiliar repo and the setup notes you were handed don't match what's there.
Onboard me to this repo without breaking anything. The setup steps I
was given may be for a different project. Read the README and any
AGENTS/CONTRIBUTING/style files and report the real toolchain, install
command, dev-server command, and build and lint checks. Infer the
branch-naming convention from git history. Flag any mismatch between
the instructions I was given and what the repo actually uses. Confirm
with me before running anything that could affect the main build. - onboarding
- codebase
- conventions
Find every hardcoded color and what token it should be
A feature still uses raw hex or one-off colors instead of your system's tokens.
Find every hardcoded color and what token it should be
A feature still uses raw hex or one-off colors instead of your system's tokens.
Audit this feature's components for structural UI colors set with
primitive palette references (like grey[500]) or raw hex, and produce
a migration map to our semantic tokens. For each instance, propose the
semantic token matching its role (body text, secondary text, border,
surface, active icon). Keep status and data-encoding colors (risk,
pass/fail, added/removed) on primitives, and say so. Output a table of
file, line, current value, proposed token, and usage, plus which files
can drop the primitive import entirely. - design tokens
- migration
- audit
See how the best products design the same page
You're redesigning a page and want to ground it in what leading products already do well.
See how the best products design the same page
You're redesigning a page and want to ground it in what leading products already do well.
I'm redesigning a page type on our site. Identify three to five leading
products with an equivalent page and do a teardown of each: the layout
pattern, how they handle metadata, examples, and calls to action, with
a public source cited for each claim. Then rank the transferable
patterns in a table by three axes: readability impact, AI-readiness
impact, and disruption to our current page. End with a recommended
direction framed as an evolution of our existing page, and name
explicitly which patterns are too disruptive to adopt now. - competitive
- benchmarking
- patterns
Prioritization
Weigh effort, separate quick wins from deep work, and sequence the work before you commit.
Sort a feature list by how hard each one really is
You've got a list of proposed features and need a fast read on effort before you sequence them.
Sort a feature list by how hard each one really is
You've got a list of proposed features and need a fast read on effort before you sequence them.
Read the existing system and list every component, endpoint,
and pattern I could reuse. Then, for each proposed feature,
tell me what it actually needs to ship: frontend only, or
backend, data, or another team. Tag each as MVP or later, and
flag your confidence so I know which estimates to check by
hand. Do the analysis; leave the final cut to me. - roadmap
- feasibility
- prioritization
Pull the design problems out of a messy bug list
A tracker mixes UX issues with data and logic bugs and you only want the ones design can fix.
Pull the design problems out of a messy bug list
A tracker mixes UX issues with data and logic bugs and you only want the ones design can fix.
Sweep the issue trackers for everything touching the feature. Filter
to UX and interaction problems and exclude logic, ingestion, and pure
data bugs. Produce a table of interface issues (issue, who filed it,
state, the UX problem in one line). List borderline items separately
with a one-line rationale for triaging each as technical rather than
interface. Note any access limits that constrained the sweep so the
gaps are visible. - triage
- tracker
- classification
Definition
Turn an idea into the full set of states, IA, rules, and specs an engineer can build from.
Shape research and feedback into a scoped plan
You've got research and feedback and need a clear epic with goals, scope, and acceptance criteria.
Shape research and feedback into a scoped plan
You've got research and feedback and need a clear epic with goals, scope, and acceptance criteria.
From the attached feedback and research, draft an epic to improve the
feature. Include a two-to-three-sentence business goal (problem, for
whom, why now), an outcome statement describing the end state (not the
solution), outcome-oriented acceptance criteria, an explicit
in-scope/out-of-scope split, and sub-issues each tied to the feedback
that motivates it. Add an open-questions section that surfaces
ambiguity and conflicting input instead of guessing, each with an
owner and a decision point. - planning
- epic
- scoping
Group a confusing menu by what each thing actually does
A menu mixes actions that affect different things, so users can't tell what each one will do.
Group a confusing menu by what each thing actually does
A menu mixes actions that affect different things, so users can't tell what each one will do.
This action menu mixes controls that operate on different objects, so
users can't tell what each acts on. Reorganize the actions into groups
by target scope: feature-level (open, create, import, manage),
current-item (edit, configure, undo), and workspace-level. For each
action, state which object it operates on and which group it belongs
to. Call out any action whose scope is ambiguous today and recommend
where it should land, so the grouping resolves the mental model rather
than just relabeling it. - IA
- actions
- mental model
Ideation
Get a fast first version to react to, a draft, an empty state, a set of guardrails, with the decisions still yours.
Set the rules before AI writes anything public
Before you let AI turn private work into public writing, so it can't leak specifics.
Set the rules before AI writes anything public
Before you let AI turn private work into public writing, so it can't leak specifics.
# Portfolio charter (excerpt)
Never publish: source code, internal screenshots, non-public
metrics, roadmaps, customer or employee names, internal docs.
Transform rule (specific becomes general):
"Project Atlas" -> "an internal platform initiative"
"cut latency 42%" -> "a meaningful performance gain"
a real screenshot -> a recreated conceptual sketch
Public Test: would my manager, legal, a future employer, and
the original company all agree this shows my contribution
without exposing IP? If unsure: generalize, abstract, or cut. - governance
- safety
- writing
Get a case-study draft out of your rough notes
You want a structured first draft from raw notes, generalized, with nothing made up.
Get a case-study draft out of your rough notes
You want a structured first draft from raw notes, generalized, with nothing made up.
You are a portfolio editor working under the charter above.
Input: my private notes for one project.
Draft a case study answering, in order: problem, why it
mattered, constraints, my role, options, tradeoffs, how
UX/engineering/business intersected, how AI was used, what I
learned, the outcome.
Rules:
- Generalize every specific per the transform rule.
- Invent no metrics. Use relative outcomes only.
- Generate diagrams as code; never describe a real screen.
- Raise anything you are unsure about for my review. Do not
decide it yourself. - writing
- drafting
- case study
Prototyping
Have AI build it from your system: components in every state, themed screens, tokens, and clickable prototypes.
Turn one palette into a full light and dark token set
You need light and dark token sets from a single source, and every pairing has to pass contrast.
Turn one palette into a full light and dark token set
You need light and dark token sets from a single source, and every pairing has to pass contrast.
Take the marketing site's dark-only token file and derive a
themeable version: a light mode and a dark mode that maps back to
the current palette. Keep every value a token, derive tints with
color-mix() instead of re-picking hex, and hold the accent green
to status only so it stays meaningful. Then check every
foreground/background pair against WCAG AA in both modes and list
any that fail, with a suggested fix. - design systems
- tokens
- accessibility
Set up design tokens an AI can actually work with
You're building a token pipeline and want AI, not just a compiler, to understand the intent behind each value.
Set up design tokens an AI can actually work with
You're building a token pipeline and want AI, not just a compiler, to understand the intent behind each value.
Scaffold a token system whose canonical file is meant to be read and
reasoned about by an AI agent, not just compiled to pixels. Keep a
human-editable authoring file that carries semantic intent plus
provenance (role, evidence, applies-to, notes, whether a value is
extrapolated). Generate a normalized canonical artifact that preserves
every piece of that metadata, plus a JSON Schema describing its shape,
and validate against the schema at build time (fail the build on any
violation). Emit downstream projections (say, a standard design-token
format) that strip provenance. Never hand-edit generated artifacts. - design tokens
- semantics
- pipeline
Get an automatic check that your colors pass contrast
You have a themeable token set and want a pass/fail contrast check in both light and dark, every build.
Get an automatic check that your colors pass contrast
You have a themeable token set and want a pass/fail contrast check in both light and dark, every build.
Write a small Node script that audits my design tokens for WCAG 2.1
contrast, with no dependencies: implement sRGB-to-linear luminance and
the (L1+0.05)/(L2+0.05) ratio directly. Enumerate every meaningful
foreground/background pair: body ink on each surface, muted and label
text, link and status colors on panels, on-fill text over each solid
button fill, and colored text over the deepened badge tints (reproduce
those with a color-mix helper). Require 4.5:1 for normal text and 3:1
for large or bold text and UI graphics. Run both palettes, print each
pair as PASS/FAIL with its ratio, and exit non-zero if any fail. - accessibility
- contrast
- tokens
Generate a component in all its states at once
You're building a gallery and need one component shown across every state, size, and variant.
Generate a component in all its states at once
You're building a gallery and need one component shown across every state, size, and variant.
Build a static gallery page for this component showing it in every
state as separate, labeled instances: default, hover, focus-visible,
active, disabled, and error where it applies, plus each size and
variant. Drive every value from the design tokens (no hardcoded hex);
derive tints with color-mix rather than re-picking colors. Use
real-looking placeholder data and generic labels. The page is the
deliverable, so treat spacing (8px grid), type hierarchy, and
alignment as production quality. Add an HTML comment noting the
intended props, the states shown, and the production component this
maps to. - components
- states
- gallery
Rebuild a real screen to test your system on it
You want to prove a design-system direction holds up on a real layout, not just isolated components.
Rebuild a real screen to test your system on it
You want to prove a design-system direction holds up on a real layout, not just isolated components.
Recreate this product screen as a static mock built only from our
design-system component classes and tokens, never bespoke one-off CSS.
Reproduce the layout shell (nav rail, top bar, page header, content)
and the screen's real structure: filter tabs, a search field, a table
or card list, badges, status dots. Use generic labels and realistic
placeholder data, never the real product's copy. It must inherit the
live theme (same tokens, no local colors) and stay responsive: filter
rows wrap instead of overflowing, nothing forces horizontal scroll at
mobile width. Flag any component the screen needs that the library
doesn't have yet. - screens
- mock
- components
Design systems & governance
Keep a system trustworthy as it grows: mirror what shipped, review drift, and approve every change.
Show what actually shipped, and where it broke the rules
You want the design tool to reflect the live app and point out where it drifted from the system.
Show what actually shipped, and where it broke the rules
You want the design tool to reflect the live app and point out where it drifted from the system.
Read the component stories and the running app, and generate a
design-tool file that redraws each shipped component from the
system. Then scan the app for places it reached past the system:
a raw framework element where a system component exists, an
inline style override. List each gap with the system equivalent
to use instead. - design systems
- governance
- drift
Review a drifted design file one decision at a time
A design file has drifted from its spec and you want a recorded, reviewed way to bring it back.
Review a drifted design file one decision at a time
A design file has drifted from its spec and you want a recorded, reviewed way to bring it back.
Here is the team's diff that finds where a design file disagrees
with the token spec. Build the review panel around it: walk every
difference, token by token and component by component, let me
approve or reject each with a reason, and write each decision
back as a receipt in the frame name and the file. - design systems
- governance
- review
Grow a design system from a single source of truth
You want building blocks and a review loop that all flow from one machine-readable spec.
Grow a design system from a single source of truth
You want building blocks and a review loop that all flow from one machine-readable spec.
From this one spec, generate the command-line system's building
blocks and project them into the design tool. On re-run, diff any
change a designer made and let me apply it or set it aside.
Before a new pattern is accepted, check it against the
machine-readable ruleset and report what fails. - design systems
- tooling
- governance
Work through a pile of review comments methodically
A reviewer left lots of mixed comments and you want them sorted into fixes, questions, and decisions.
Work through a pile of review comments methodically
A reviewer left lots of mixed comments and you want them sorted into fixes, questions, and decisions.
Read the reviewer's comments on this PR and break them into groups:
quick cosmetic fixes, content or data accuracy issues the reviewer
knows better than us, positive feedback needing no action, and open
design decisions that need my input. For each design decision, restate
the reviewer's actual concern, lay out two or three options with
tradeoffs, and cite how comparable products handle it. Make the
decisions with me first, then implement them in one batch and produce a
changes table I can post back. - review
- triage
- changelist
Get a checklist to prove your change didn't break anything
A change touches structure or styling and you want a concrete way to confirm nothing regressed.
Get a checklist to prove your change didn't break anything
A change touches structure or styling and you want a concrete way to confirm nothing regressed.
For the change you're about to make, append a verification section I
can run to confirm nothing regressed. Include the type-check and
dev-server commands, the exact route to open, and a short list of
behaviors to click through (open the view, switch tabs, exercise
sort/filter/group, resize panels, confirm compact and expanded states).
Frame each item as a pass/fail check on the rendered page, not the
source, and call out anything expected to look visually identical so I
know what "unchanged" means. - verification
- QA
- refactor
No prompts match that filter.