ui-prototyping
Ui Prototyping
Purpose and use
Build or modify an executable interface prototype or UI implementation using the project's active UI kit and validated design foundations. Use when a user needs a working screen or interactive artifact; do not use for critique alone, invent custom components over an existing UI kit, or imply a prototype is production-ready.
Inputs
Required: the request and any available source material. Optional: active UI kit (shadcn/ui, Nuxt UI, Apple HIG, Material 3, Custom), audience, goals, constraints, project context, and evidence. State missing material and assumptions; ask when a consequential decision cannot be made safely.
Relevant knowledge
Load only what the task needs: ui kit adaptation, multi modal hmi, component contracts, responsive accessible ui, human reviewed ai. Choose depth based on context; see the topic index.
For visual direction when creating a custom brand or marketing experience, also load frontend-design; apply it in service of the product and never override an established UI kit's component structure unless requested. For a targeted review, use UI review checks. For work in Figma, follow the host tools and Figma MCP guide.
Workflow
- Verify design foundations, complexity & form factor first: Scale setup to task complexity—for a trivial spacing or label fix, apply the change directly; for a feature or screen, confirm user needs (
ux-research), problem framing & the "no-redesign" check (product-framing), context-appropriate pattern selection & 7-state logic (interaction-design), and interface copy (ux-writing). Confirm the target medium (Web, Mobile, Desktop, Tablet, Wearable, or HMI), user expertise (novice vs. expert), and operating mode (solo,team,enterprise). - Lock the UI Kit & enforce Anti-AI-Slop discipline: Identify whether the target uses
shadcn/ui,Nuxt UI,Apple HIG (iOS/watchOS),Material Design 3 (Android/Wear OS), or aCustomtoken/HMI system (design-system). Compose from unmodified stock components and semantic tokens by default; document and address an essential task or accessibility gap when composition cannot meet it. Reject all 7 categories of AI slop: (A) generic SaaS card grids or charts for every metric, (B) overdesigned nested borders/gradients, (C) overengineered one-off wrapper components, (D) text overload and author meta-notes, (E) interaction clutter and competing primary CTAs, (F) context mismatch (e.g., consumer cards on dense expert tables), and (G) false sophistication. Preserve necessary domain complexity and compliance disclosures. - Implement all relevant states & task-focused copy: Build the artifact with semantic controls, associated labels, visible
:focus-visiblestyles,tabular-numsfor comparable data, responsive layout, and every relevant state (empty, default, loading, validation error, failure, success, back/cancel). Never place author notes (sample data,this is a prototype,illustrative only) inside the product UI unless required to prevent a consequential misunderstanding. - Run bounded anti-slop evaluation & deterministic checks: Run
python3 scripts/audit_artifact.pyon generated HTML/Markdown, correct any material (Critical/Major) issues in a single bounded pass, and review the rendered interface at suitable desktop and mobile widths when browser tools are available. - Deliver handoff & decision changelog proportionally: Deliver artifact paths, UI kit component mappings, implementation limits, sample-data provenance, and key trade-offs/decisions (using the handoff template for standard/complex work). Never claim simulated operations (payments, saves, emails) actually occurred.