/builder-design:prompt-ux-designfrom builder-design
Use when designing the user-facing prompt experience for any AI feature. Covers input design, suggestion patterns, history, feedback signals, and the interaction model between user intent and model execution.
Ships in builder-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
THE PROMPT INPUT IS THE PRODUCT INTERFACE FOR AN AI FEATURE.
"It's just a text box" ships an input with no suggestions, no state feedback, and no token limit — users probe the model by trial and error until they give up.
Input design + suggestion system + 6-state feedback loop + constraints IS a prompt UX.
Trigger when:
The physical input must match the expected interaction pattern:
| Pattern | Use When | Input Type |
|---|---|---|
| Short query | Single-question answers, search | Single-line input, auto-submit on Enter |
| Multi-line | Document drafting, detailed prompts | Auto-resize textarea, Cmd+Enter to send |
| Conversational | Chat, back-and-forth dialogue | Textarea + history above |
| Command | Agent invocation, slash commands | Input with @ / / trigger detection |
| Constrained | Structured data entry, forms | Templated input with field hints |
Never default to multi-line when single-line is appropriate. Never use a fixed-height textarea.
Users don't know what the model is good at. Suggestions teach the interaction model.
Types:
/summarise, /translate, /explain — explicit capability menuRules:
EscapeIn conversational interfaces:
The user must know the state of their request at all times:
Typing → Normal input, send button active
Submitting → Input locked, [Stop] replaces [Send], "Thinking…" status
Streaming → Input unlocked for new message, "Generating…" + cursor
Complete → [👍 👎] feedback, [Copy], [Retry], input re-focused
Error → Error message inline, input re-activated, send re-enabled
Response feedback (👍 👎 or rating) must be:
From the table in Dimension 1, select the pattern that matches the interaction model. Write it in the spec (see design-before-code).
Define: what suggestions appear at empty state, what triggers autocomplete, whether refinement suggestions are shown, and which slash commands exist.
Write out the state machine for the input: idle → typing → submitted → streaming → complete → feedback. Each state has a visual treatment (see ai-states-required).
Specify: token limit, validation rules, rate limiting UX, and minimum input requirements.
These thoughts mean prompt UX was not designed — stop:
When prompt-ux-design is satisfied, state it like this:
Prompt UX designed.
Input pattern: <single-line / multi-line / conversational / command>
Reason: <one sentence>
Suggestion system:
Example prompts: N — written out (e.g. "Summarise this contract", "What are the key risks?")
Autocomplete: yes/no / Refinements: yes/no / Slash commands: yes/no
History: <thread display / context limit indicator / clear button>
Feedback loop: idle → typing → submitted → streaming → complete → feedback (all states mapped ✓)
Constraints: token limit=N (counter at 80%) / validation rules / rate limit UX ✓
Documented in: design/specs/<feature>.md ✓
The prompt input is the primary interface for every AI feature. Users who can't figure out what to ask, don't know whether their message was sent, can't stop a runaway generation, or can't tell the model it was wrong — those users churn. The prompt UX is not an input field; it is the entire interaction model made visible.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/accessible-ai-outputUse before shipping any UI that renders AI-generated content. Dynamic model output requires ARIA live regions, reading order, and cognitive load review that static content does not. Blocks "we'll do accessibility later" completions./ai-component-patternsUse when designing or implementing any of the 6 core AI UI components. Each has specific patterns, pitfalls, and required sub-components that generic UI components don't address./ai-onboarding-designUse when designing first-run flows and empty states for AI features. AI onboarding has specific requirements — model capability communication, trust building, and graceful degradation when the model doesn't know — that generic onboarding patterns miss./ai-output-designUse when designing how AI-generated content is rendered — streaming text, structured data, citations, code blocks, and uncertainty signals. Covers both visual rendering and the accessibility layer./ai-states-requiredUse before writing any code for an AI feature's UI. All 7 states must be designed and documented before implementation begins. Blocks "we'll add loading states later" completions./design-before-codeUse before implementing any new AI feature UI component. Requires a written shape/spec — layout, states, copy, interactions — before a single line of implementation code is written. Blocks "I'll design it as I build it" completions.builder-design@rbraga01 is listed by rbraga01/a-team — review the source before installing
npx claudepluginhub rbraga01/a-team --plugin builder-design