Builds low-fidelity UX flow prototypes as a single self-contained HTML file in the n8n wireframe theme (handwritten font, monochrome, scenario pills). Use when the user asks for a prototype, wireframe, mockup, or clickable demo of a UX flow, or says /prototype-design. Not for production UI.
A prototype shows a UX flow. It does not do real work. Nothing calls a backend, and nothing persists. Reviewers click through it to judge the flow, the states, and the copy.
For production UI, use n8n:ui-design instead. The rules for the n8n design
system do not apply here: no i18n, no design tokens, no N8n* components.
The theme below is a wireframe theme on purpose. It keeps reviewers on the
structure, not on the visuals.
.html file. Inline <style> and <script>. No build step.'Segoe Print', 'Comic Sans MS', cursive fallbacks.The tokens are in template.html. Keep them. Do not add brand colors.
| Aspect | Rule |
|---|---|
| Font | Kalam only. Weight 300 for text, weight 400 for emphasis. Do not use bold. |
| Type scale | 16px title, 14px heading, 12px body, 11px meta and hints. |
| Color | Ink on paper. Use --ink, --ink-soft, --ink-faint, --wash. Use --red and --green only for error and success text and icons. |
| Borders | 1.5px --line-soft for quiet borders. 1.5px --line for buttons and controls. 2px --line for modals, menus, sheets. |
| Radius | 7px controls. 14px modal. 8-10px menus and sheets. 999px pills and chips. 50% for avatars. |
| Shadow | A hard offset only: 5px 5px 0 var(--wash). No blur. |
| Primary button | Filled --ink, text --paper. Disabled is --line-soft. |
| Icons | Unicode glyphs (✕ ⌄ › ✓ ⊗ ⌕) or small inline SVG with stroke="currentColor". A brand icon is one letter in a circle or square on --wash. |
| Modal | 584px wide, max-width: 100%. Centered on the page. |
| Dark mode | Support it. Follow prefers-color-scheme and allow data-theme to override. Swap only the color tokens. |
Use realistic sample data, such as https://mcp.acme-crm.com/mcp or
"CRM API token". Never use lorem ipsum. Never use real customer names.
Put a pill bar above the UI. It belongs to the prototype, not to the product. Keep it visually lighter than the UI.
Keep every prototype in this shape:
S plus a few module variables. Write a
comment that names each state and its allowed values.render(). Rebuild the UI with innerHTML from state. Do not patch
the DOM by hand.wire(). Call it at the end of render(). Bind listeners with
data-act, data-sel, data-pick attributes. Do not use inline onclick.await new Promise(r => setTimeout(r, 900)). Take a
token before the wait. Return if token changed. This cancels stale
results when the user edits a field or switches a pill.Math.random(). A reviewer must get the same result every time.esc()
helper before you put it in innerHTML.render(), restore focus and
the cursor position to the input..spin) and a short verb
("Connecting"). Disable the controls that the wait affects..dim). Add a
note that says why, such as "Available after you connect"..menu) for choices. Use a sheet (.overlay and .sheet)
inside the modal for confirmation and small create forms.toast('Changes saved')). The toast hides after
about 2.6 seconds.Keep it even in a throwaway file:
<button> and <input> elements. Do not use clickable <div>.:focus-visible outline. aria-label on icon-only buttons.role="status" for progress and success. role="alert" for errors.aria-expanded on toggles. role="dialog" aria-modal="true" on sheets.@media (prefers-reduced-motion: reduce) stops the spinner.template.html. Rename the file and the <title>
(<flow> - prototype).Do not add the prototype to packages/. Do not add tests, lint, or i18n. Save assets in .agent-setup/ folder
n8n-io/n8n
e405c26
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.