/interface-designer:genai-demofrom interface-designer
Build a pitch demo for the Rapid GenAI Assessment program - replicate a client's existing FileMaker or Salesforce interface in React from screenshots, then overlay suggested AWS AI implementations as a guided tour. Use when preparing a GenAI opportunity pitch for an existing client; for a normal design mock use /interface-designer:new.
Ships in interface-designer. Installing the plugin adds it to Claude Code.
Arguments: $ARGUMENTS
Format: {project-name} [--screenshots {path}] [--context {slug}] [--source filemaker|salesforce] [--opportunities {path}]
| Argument | Required | Description |
|---|---|---|
project-name | Yes | Folder name under design/. Convention: {client}-genai |
--screenshots | No | Folder or zip of interface screenshots. If omitted, ask. |
--context | No | project-context bank slug (e.g. kieffersc). If omitted, infer from the project name and confirm. |
--source | No | What is being replicated. Default filemaker. |
--opportunities | No | Path to a pre-written aiOpportunities.ts from the AWS team. If omitted, the command drafts one. |
Examples:
/interface-designer:genai-demo kieffers-genai --screenshots ~/Downloads/Kieffers.zip --context kieffersc
/interface-designer:genai-demo acme-genai --source salesforce --opportunities ./acme-ai.ts
A self-contained React app used to pitch AWS GenAI work to an existing client. It has two layers:
The pitch works because the client sees their own screens, not a generic mockup, with AI proposals attached to the exact places where their work hurts today.
This supports the Rapid GenAI Assessment ($7,500, 21-28 business days). The overlay content maps onto the engagement's deliverables: use case discovery, data readiness, business value, and the phased roadmap.
The single most common failure is producing something that looks like a modern MUI app wearing a FileMaker hat. Resemblance to the source system outranks visual polish, accessibility niceties, responsive behaviour, and house style. If the original has a cramped 24px row with a hairline border and 11px text, reproduce that. Do not improve it. Do not round the corners. Do not add whitespace.
The interface-designer agent's normal MUI conventions do not apply to the replica layer. They do apply to the overlay layer, which is intentionally modern so it reads as commentary on top of the old system.
Screenshots. If --screenshots points at a zip, extract to a temp dir. Ignore __MACOSX. List what you found and confirm the count with the user.
Read every screenshot. Do not skim. For each one, record in a scratch file docs/fidelity-spec.md:
Project context. Read the context bank at ~/.claude/project-context/{slug}/:
digest.md firstjira-projects/*/summary.md for the pain points and their evidencedocs/ and meetings/ for client-stated priorities and direct quotesgotchas/ if presentIf no bank exists, ask the user for context and proceed with what they give. Say clearly in the final report that opportunities were drafted without a context bank and are therefore weaker.
Source system. Confirm FileMaker or Salesforce. This selects the skin in Step 3.
Follow /interface-designer:new Steps 1 through 5 with these changes:
design/{project-name}templates/scaffold/src/theme/theme.ts. Use the skin from Step 3 instead.templates/scaffold/src/routes/index.tsx; the first replica screen becomes src/routes/index.tsx.templates/scaffold/src/routes/__root.tsx but reduce its component to a bare <Outlet />. The window chrome comes from the skin, not the MUI AppBar.mkdir -p src/{ai,components/fm,routes,services,types}Copy the whole of ${CLAUDE_PLUGIN_ROOT}/templates/genai-skin/src/ into the project's src/.
For --source filemaker this gives:
theme/filemakerTheme.ts — the palette, type scale and densitycomponents/fm/ — FMWindow, FMHeader, FMGrid, FMField, FMTabs, FMPortal, FMToolbarButtonFor --source salesforce, use theme/salesforceTheme.ts and the components/sf/ set instead.
Then tune the skin to the actual screenshots. The templates are a starting point calibrated to a typical FileMaker 19+ solution. Compare against the real screenshots and adjust the palette constants, row height and font sizes until they match. This tuning is expected, not optional.
One route file per screenshot under src/routes/ (index.tsx for the home or menu screen, orders.tsx for /orders, and so on). Build them in the order the user would navigate them, starting with whatever screen acts as the menu or home.
Rules:
src/types/, as in any mock. The ERD at /erd then maps the client's current data model, which feeds the data readiness discussion. It is a team reference, not part of the pitch.Add data-ai="..." attributes to every element an AI opportunity will point at. Name them for what they are, not for the opportunity: data-ai="order-report-grid", not data-ai="opportunity-3".
If --opportunities was supplied, copy that file to src/ai/aiOpportunities.ts and skip the drafting.
Otherwise derive them. Each opportunity must be traceable to evidence in the project context, not invented. Work from:
For each candidate, write one entry against the schema in src/ai/aiOpportunities.ts:
| Field | Content |
|---|---|
ref | AI-01, AI-02, ... |
phase | Quick Win, Phase 2, or Horizon |
title | Short, in the client's vocabulary |
painPoint | What is broken today, in one or two sentences |
evidence | The citation. Ticket key, meeting date, or doc name. Never leave this empty. |
proposal | What we would build, concretely |
awsServices | The AWS services involved. Bedrock for generative work, Textract for documents, Rekognition for images, Comprehend for text classification, and so on. Be specific and be correct. |
businessValue | The measurable effect. Use the client's own numbers from the context where they exist. |
dataReadiness | Ready, Needs work, or Unknown, with a short reason |
effort | S, M, L, XL |
route | The screen to navigate to |
highlights | The data-ai targets to spotlight, each with a sentence |
Aim for 6 to 10 opportunities. The brief promises "2-3 prioritized opportunities" as the assessment deliverable, so present more than that here and let the pitch narrow it down.
Order them so the first two are the most obviously valuable. The pitch often does not reach the end.
Accuracy rules. Do not state a cost saving the context does not support. Do not claim an AWS service does something it does not. Do not imply anything is already built. Mark anything speculative as such in businessValue. The AWS team will review this file, and wrong claims are worse than thin ones.
Copy ${CLAUDE_PLUGIN_ROOT}/templates/genai-tour/src/ai/ into src/ai/, keeping the aiOpportunities.ts you just wrote.
Mount in src/main.tsx, around the existing RouterProvider. The overlay sits outside the router, so it navigates through the router instance rather than a hook:
<AIProvider>
<RouterProvider router={router} />
<AILauncher />
<AIOverlay navigate={(to) => void router.navigate({ href: to })} />
</AIProvider>
The overlay:
route before spotlightingAI-03 of 8 style progress and a jump menuThis is the step that decides whether the demo works.
pnpm build must pass.Show the user the side-by-side comparisons, not just the new screenshots.
docs/ai-opportunities.md: the same opportunities in readable form, for the AWS team to review and for the leave-behind.docs/fidelity-spec.md if not already written in Step 1.CHANGELOG.md entry.After the first build the user will refine. Typical asks and what they mean:
aiOpportunities.ts only, with evidencesrc/ai/aiOpportunities.ts wholesale and re-verify every highlight target still resolvesWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub soliantconsulting/interface-designer --plugin interface-designer6 commands in this plugin
/adoptInterface Designer — Adopt ProjectAdopt an existing React app already sitting in design/{name} into the design-mock workflow: git init, CHANGELOG.md conversation history, dev server + Chrome DevTools screenshot loop. For Astro/CMS codebases use /cms-designer:adopt./mockifyInterface Designer — Mockify a Real Production AppClone a real production React app into the design/ folder and convert it to use mock data + bypassed auth/new