interactive-prototype
Skill0 starsChanged 7 days agoMITView on GitHub
Build a hi-fi clickable React prototype with realistic device chrome. Triggered by "prototype", "clickable", "app mockup", "interactive demo".
4 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- jiayuewangjavy/product-designer-skills-ostheir own version, first seen Oct 28, 2026
- stritar/skillstheir own version, first seen Sep 11, 2026
- aiatelie/ai-atelietheir own version, first seen May 9, 2026
- bluzir/claude-code-designedited, first seen Apr 20, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- bluzir/claude-code-design★ 10286% same
Wrote their own version · 3
- aiatelie/ai-atelie★ 9same name
- jiayuewangjavy/product-designer-skills-os★ 4same name
- stritar/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- animated-videoSkill
- apply-editsSkill
- apply-tweaksSkill
- copy-exampleSkill
- create-design-systemSkill
- doctorSkill
- export-pdfSkill
- export-pptxSkill
- export-standaloneSkill
- governance-reviewSkill
- handoffSkill
- ingest-documentSkill
- ingest-figmaSkill
- ingest-githubSkill
- ingest-screenshotSkill
- inspectSkill
- live-reloadSkill
- local-commentsSkill
- make-deckSkill
- make-editableSkill
- make-tweakableSkill
- publishSkill
- register-assetSkill
- ship-branchSkill
- snapshotSkill
- sync-design-systemSkill
- use-design-systemSkill
- verify-artifactSkill
- wireframeSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before design questions, silently check for context:
- Distinctive: line 21
Do NOT invoke any ingest skill automatically.
- Very specific: line 24
If nothing found, ask ONE AskUserQuestion: design system from registry / codebase / screenshot / Figma / none (use frontend-design) / …
- Very specific: line 28
Check brief for: platform (iOS/Android/desktop/web), app category (food delivery, social, productivity, etc.), feature count, design …
- Very specific: line 30
If platform + category present → max 2 clarifying questions.
- Distinctive: line 38
Do not: ask about brand context — Phase 0 already handled it.
- Very specific: line 45
If no tokens → invoke Skill: frontend-design if it is installed.
- Very specific: line 83
Critical React rule: never const styles = {...}.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Interactive Prototype
Build a working clickable prototype — not a static mockup. Uses React + Babel inline with pinned versions, wrapped in a DeviceFrame.
Phase 0 — Context pre-flight (auto-detect, ONE question max)
Before design questions, silently check for context:
Read .claude/design-tokens.jsonif existsBash(ls design-systems/ 2>/dev/null)— project-local registry (gitignored). If the brief names a registered brand, say "Found design system<name>in the registry. Apply it?" and wait. Never auto-apply.Globfor codebase tokens:**/tailwind.config.*,**/theme.{ts,js,json},**/tokens.{css,scss},**/_variables.*- Scan brief/attachments for external references: github URL →
ingest-github, Figma URL →ingest-figma, image path →ingest-screenshot,.pptx/.docx/.xlsx/.pdfpath →ingest-document,.md/.txt→Read. Do NOT invoke any ingest skill automatically. List what was found and ask one AskUserQuestion: "Ingest<X>? (yes / no)". Only invoke the matching ingest skill on an explicit yes.
If nothing found, ask ONE AskUserQuestion: design system from registry / codebase / screenshot / Figma / none (use frontend-design) / Claude decides. Report "Using <context>. Proceeding."
Phase 1 — Ambiguity gate
Check brief for: platform (iOS/Android/desktop/web), app category (food delivery, social, productivity, etc.), feature count, design context (brand/codebase).
If platform + category present → max 2 clarifying questions. Otherwise AskUserQuestion:
- Platform
- Screens needed (list)
- Transitions between screens (instant / slide / fade / custom)
- Does it need "live data" mocking (fake API returns)
- How interactive — taps only, or scroll/swipe/drag
- Variations wanted
Do not ask about brand context — Phase 0 already handled it.
Phase 2 — Visual system
Using context from Phase 0, commit to a mobile-aware system:
- Min 44px hit targets on mobile
- Consistent spacing / type scale from loaded tokens
- If no tokens → invoke
Skill: frontend-designif it is installed; otherwise proceed with the taste rules inCLAUDE.md
Phase 3 — Build
artifacts/<slug>.htmlwith shell:<!doctype html> <html> <head> <meta charset="utf-8"/> <title>{{name}}</title> <link rel="icon" href="data:,"/> <script src="https://unpkg.com/react@18.3.1/umd/react.development.js" integrity="sha384-hD6/rw4ppMLGNu3tX5cjIb+uRZ7UkRJ6BPkLpg4hAu/6onKUg4lLsHAs9EBPT82L" crossorigin="anonymous"></script> <script src="https://unpkg.com/react-dom@18.3.1/umd/react-dom.development.js" integrity="sha384-u6aeetuaXnQ38mYT8rp6sbXaQe3NL9t+IBXmnYxwkUI2Hw4bsp2Wvmx4yRQF1uAm" crossorigin="anonymous"></script> <script src="https://unpkg.com/@babel/standalone@7.29.0/babel.min.js" integrity="sha384-m08KidiNqLdpJqLq95G/LEi8Qvjl/xUYll3QILypMoQ65QorJ9Lvtp2RXYGBFj1y" crossorigin="anonymous"></script> <script src="./device_frame.jsx" type="text/babel"></script> <script src="./animations.jsx" type="text/babel"></script> <style>body { margin: 0; display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #f4f4f6; }</style> </head> <body> <div id="root"></div> <script type="text/babel"> const { useState } = React; // your components here function App() { const [screen, setScreen] = useState('home'); return <DeviceFrame kind="ios"> {screen === 'home' && <HomeScreen onNav={setScreen}/>} {screen === 'detail' && <DetailScreen onBack={() => setScreen('home')}/>} </DeviceFrame>; } ReactDOM.createRoot(document.getElementById('root')).render(<App/>); </script> </body> </html>Bash(cp starters/device_frame.jsx artifacts/<dir-of-html>/)+Bash(cp starters/animations.jsx artifacts/<dir-of-html>/)— copy into the same dir as the HTML, spelling the directory out literally (no$(dirname …))- Navigation pattern:
useStatefor current screen. For transitions use<Transition>from animations.jsx. - Critical React rule: never
const styles = {...}. Use component-prefixed names:const headerStyles,const cardStyles. Inline styles also OK. - Mock data inline; no external fetch.
Phase 4 — Verify
Important: because this artifact loads external .jsx starters, file:// will hit CORS errors. Run /serve first (one-time), then preview via http. Keep the <link rel="icon" href="data:,"/> from the shell: over http Chrome otherwise requests /favicon.ico, the server answers 404, and that lands in the console as an error that /done would report against a clean artifact.
/serve
/done http://127.0.0.1:4567/<slug>.htmlFix errors → Skill: verify-artifact in background.
Phase 5 — Next steps
/make-tweakableto expose knobs (primaryColor, fontSize, density variants)/export-standalonefor offline deliverable/handoffto produce component files for the dev team/register-assetto add to overview
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

