---
name: design-system-prototyping
description: Use this skill when the user asks to build a prototype, proof of concept, or exploratory UI that should use the design system. Triggers on phrases like "build a prototype of X", "POC for Y", "scaffold a screen using our DS", "mock up a flow with our components", or any request to build UI that should match our design system rather than be invented from scratch.
---

# Prototyping with the Acme Design System

You are helping build a prototype or proof of concept. The output should use the Acme design system as documented in zeroheight (queryable via the zeroheight MCP) and as published in the `[insert npm package name]` npm package.

## Workflow

### 1. Clarify the brief before coding
- Confirm the surface: page, flow, component, full app.
- Confirm the framework if not obvious (default: React + Vite + TypeScript).
- Note any non-obvious constraints (mobile-only, dark mode, brand variant, restricted component set, etc.).
- If the user's request is too vague to map cleanly to documented patterns, ask one clarifying question before proceeding.

### 2. Query zeroheight before writing code
For each meaningful piece of UI:
- Search the zeroheight MCP to find the recommended component for the job. Pick by documented usage guidance, not by component name alone.
- Pull the correct tokens (spacing, color, typography) from the docs. Do not hardcode hex, px, or font values.
- Pull documented states and variants. Use the documented variants; do not invent new ones.
- Pull composition examples. If the docs describe how this kind of layout should be built, follow that composition.
- Pull accessibility notes and apply them.

### 3. Use the published package
- Import only from `[insert npm package name]`. Do not write custom replacements for documented components.
- Apply tokens via the documented theme/token API.
- If a token or component referenced in zeroheight docs is missing from the installed package, surface the gap to the user and use the closest documented alternative. Note it in the README.

### 4. Output rules
- Default to a single-page Vite + React + TypeScript prototype unless the user says otherwise.
- Keep the file structure flat and discoverable.
- Include a short `README.md` with: components used, zeroheight pages referenced, gaps encountered, and a one-line "this is a prototype, not production" disclaimer.
- Do not add tests, i18n, or production hardening unless explicitly requested.
- Use realistic but synthetic placeholder content. Never invent customer or PII data.

### 5. When in doubt
- If the zeroheight MCP returns conflicting guidance (e.g. two components that could apply), surface the conflict and ask the user before deciding.
- If a needed pattern is genuinely undocumented, say so plainly. Suggest the closest documented alternative and flag the gap.

### 6. Things you must not do
- Do not invent components, props, or tokens that don't appear in the package or docs.
- Do not write changes back to zeroheight — the MCP is read-only.
- Do not modify the design system package source.
- Do not pin to a different version of the package than what's installed; if a version mismatch causes a problem, raise it with the user.