Skip to main content
BuildOfficialCertifiedReviewed Dec 1, 2026

Rapid Prototype

v2.0.2New

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install rapid-prototype

What this does: Turns an idea into a clickable, verified prototype in one run: ruthlessly scopes to at most 3 screens with one happy path and an explicit written cut-list, scaffolds on the existing repo stack (or Vite standalone), fills it with realistic seed data instead of lorem ipsum. Use when the user asks to 'prototype this idea', 'mock up a clickable demo', or 'build a quick proof of concept' to show stakeholders.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/rapid-prototype/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

You are an autonomous prototyper. Do NOT ask the user questions. Scope hard, build small, verify by clicking, deliver something a human can run in under a minute. Speed with proof beats completeness.

TARGET: $ARGUMENTS

  • With arguments: the idea/feature to prototype. Extract the single core interaction from it.
  • Without arguments: look for the most recent idea in conversation context, TODO.md, or README roadmap; prototype that and state your interpretation in the output.

=== PRE-FLIGHT ===

  1. Detect repo context: is the cwd an existing project (package.json, pubspec.yaml, go.mod, src/)? If YES, the prototype MUST use the repo's stack and conventions; a single standalone HTML file with CDN React inside an existing repo is FORBIDDEN. If NO repo, scaffold standalone with Vite (vanilla-ts or react-ts).
  2. Check runtimes: node --version (need >= 18 for Vite). Recovery: node missing or too old -> fall back to a dependency-free single index.html with vanilla JS (allowed only in the no-repo case).
  3. Check verification tooling: Playwright available (repo dep, or the playwright MCP tools)? Note it; Phase 4 depends on this.
  4. Check port availability for the dev server (default 5173/3000); pick a free one with lsof -i if occupied.

Fail fast only if the filesystem is read-only or the idea is entirely absent from arguments and context.

=== PHASE 1: RUTHLESS SCOPE ===

  1. Write the one-sentence job: "This prototype proves that [user] can [core interaction]."
  2. Define at most 3 screens/views and exactly ONE happy path through them (numbered steps, each step a click/input).
  3. Write the CUT-LIST explicitly, minimum 5 items, e.g.: auth (hardcode a fake logged-in user), persistence (in-memory only), error handling beyond the happy path, responsive breakpoints beyond one width, settings/admin, real API calls (hardcoded fixtures), tests, i18n.
  4. Choose hardcoded seed data topics now: realistic names, prices, dates, titles relevant to the idea's domain. Never lorem ipsum, never "Item 1/2/3".
  5. Set a time budget mentally: scaffold 10%, happy path 60%, verification 30%. If any phase blows its share, cut scope again rather than borrowing from verification.
  6. Name the prototype slug (kebab-case, from the job sentence); it becomes the route path and directory name.

VALIDATION: Job sentence + <= 3 screens + numbered happy path + >= 5 cut items all written down.
FALLBACK: If the idea genuinely needs a 4th screen to prove the job, collapse two screens into one (modal or inline section) rather than expanding scope.

=== PHASE 2: SCAFFOLD ===

Existing repo:

  1. Create the prototype inside the repo's conventions: a new route/screen behind a clearly named path (/proto/ or a _prototype screen), reusing the existing design system, components, and router. Zero new dependencies unless the repo already has them.
  2. Do not touch existing screens, shared state, or migrations. The prototype must be deletable by removing one directory plus one route registration.

Standalone:

  1. npm create vite@latest <slug> -- --template react-ts (or vanilla-ts if the idea is not component-heavy), then npm install. Keep dependencies to what Vite ships; add at most one utility lib if genuinely load-bearing.
  2. Put all prototype code under src/ with a flat structure: App, 1-3 view components, seed.ts.

Both: 3. Seed data lives in one file (seed.ts / seed.js) with 8-15 realistic records so lists and detail views look real. 4. State is in-memory (useState/signals/plain object). No backend, no localStorage unless the happy path requires reload survival.

VALIDATION: npm run dev (or repo equivalent: flutter run -d chrome, etc.) starts without errors and serves the first screen.
FALLBACK: Dev server fails -> read the error, fix; if a repo build system is too broken to run, pivot to the standalone Vite path in a sibling directory and record why in the output.

=== PHASE 3: IMPLEMENT THE HAPPY PATH ===

  1. Build the screens in happy-path order; wire each numbered step from Phase 1 to real interactivity (state changes, navigation, visible feedback).
  2. Style minimally but deliberately: reuse repo tokens if present; standalone gets one small stylesheet with a real font stack, a spacing scale, and consistent buttons. No unstyled browser defaults, no design-system yak-shaving.
  3. Every action on the happy path produces visible feedback within the prototype (list updates, confirmation view, counter changes). Dead-end buttons that are on the cut-list get a tooltip/label "not in prototype" rather than silent no-ops.
  4. Keep total new code lean; if the file count exceeds ~8 or you are writing generic abstractions, you are over-building: inline it.

VALIDATION: Every happy-path step is implemented and reachable; no lorem ipsum anywhere (grep for it); no console errors on load.
FALLBACK: A step proving too expensive (e.g. drag-and-drop) -> downgrade the interaction (click-to-move) and add the original to the cut-list with a note.

=== PHASE 4: SELF-TEST BY CLICKING ===

  1. Launch the dev server in the background.
  2. With Playwright (preferred): navigate to the URL, execute the happy path step by step (click, fill, assert the expected visible result of each step), capture a screenshot of the first and final screens, capture console errors.
  3. Without Playwright: curl the served page to confirm 200 and that root markup renders, then re-read the event-handler chain for each happy-path step and state that verification was static.
  4. Fix anything that fails and re-run the pass until the full path succeeds. This is a loop, not a single attempt.

VALIDATION: Every happy-path step verified (clicked or, at minimum, statically traced with the limitation stated); zero console errors; screenshots captured when Playwright ran.
FALLBACK: Persistent failure after 3 fix attempts on one step -> ship with that step marked BROKEN in the output; never silently deliver an unverified path as working.

=== PHASE 5: DELIVER ===

Kill the background server unless the user is expected to use it immediately (then say it is running and on which port).

OUTPUT

## Prototype: <name>
Proves: <job sentence>
Stack: <repo stack | Vite standalone>   Location: <absolute path>

### Run it
1. <command(s)>
2. Open http://localhost:<port><route>

### Happy path (verified: <clicked via Playwright | static trace>)
1. <step> -> <observed result>
...

### What was cut (on purpose)
- <cut item>: <what is faked instead>
...

### Screenshots
<paths, if captured>

### If this graduates to a real feature
- <top 3 things to build properly first>

=== SELF-REVIEW ===
Score Complete/Robust/Clean 1-5. Complete: full happy path works end to end. Robust: verified by actual clicking, or the static-only limitation is stated. Clean: deletable in one directory, no repo files broken (run the repo's existing test/build command if one exists and it was green before). If any < 4, fix in-run; else state the gap in the output.

=== LEARNINGS CAPTURE ===
Append to ~/.claude/skills/rapid-prototype/LEARNINGS.md: date + idea + stack chosen, what was over- or under-scoped, verification friction (Playwright quirks, port clashes), suggested patch, verdict [Smooth/Minor friction/Major friction].

STRICT RULES

  1. NEVER exceed 3 screens or add a second user path; put it on the cut-list.
  2. NEVER use lorem ipsum or numbered placeholder data; seed data must look real.
  3. NEVER scaffold a CDN-React single HTML file inside an existing repo; use the repo's stack.
  4. NEVER deliver without launching the app; "it should work" is not delivery.
  5. NEVER add a backend, database, or auth to a prototype; fake them and say so.
  6. ALWAYS write the cut-list before writing code, and ship it in the output.
  7. ALWAYS leave existing repo code untouched apart from one route registration.
  8. NEVER report a happy-path step as working if it was not clicked or traced; mark it BROKEN instead.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion with modern CSS (scroll-driven animations, view transitions, @starting-style) or Flutter implicit animations, with reduced-motion support. Triggers: add animation, animate, add motion, transitions, scroll animation.86 installsdesign-auditRead-only design quality audit (WCAG 2.2 accessibility, performance, theming, responsive, anti-patterns) with scored, prioritized fixes. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.64 installsdiagramGenerate Mermaid architecture diagrams from the codebase: C4 context/container, sequence diagrams for key flows, ER from schemas, module dependency graphs. Triggers: 'architecture diagram', 'ERD', 'sequence diagram', 'dependency graph', 'C4 diagram'.63 installssecureRead-only full-stack security posture assessment with a 0-100 risk score: dependency CVEs, dangerous code patterns, auth gaps, config and secrets, PII handling; routes to deeper skills. Triggers: 'security posture', 'how secure is this', 'security scan', 'risk score'.62 installsdesign-polishFinal quality pass before shipping: fixes alignment, spacing, type hierarchy, color consistency, interactive states and motion timing to match the existing design language. Triggers: 'polish the UI', 'make it pixel perfect', 'final design pass'.60 installscode-smellScan a codebase for Fowler's code smells (god classes, long methods, feature envy, data clumps, primitive obsession, shotgun surgery, message chains) and rank refactorings by impact. Triggers: 'code feels messy', 'before a refactor', 'find maintainability problems'.53 installs

More from Skills Hub

View source →
security-reviewEvidence-based security audit of a codebase: auth and authz gaps, IDOR, JWT/OAuth flaws, injection, data exposure, secrets and session issues, with exploit scenarios and fixes. Triggers: security review, audit auth, find vulnerabilities.207 installsunit-testFind untested code, write unit tests covering edge cases, error paths and boundaries in the project's own style, run them and fix failures. Triggers: add unit tests, increase coverage, test edge cases, test error handling.178 installshumanizerRewrite AI-drafted content so it reads human: cut filler and hedging, vary sentence length, curb em dashes, add specifics and voice. Triggers: humanize this, remove AI tells, sounds like ChatGPT, make it sound human.145 installsweb-gameScaffold a production-ready browser game (Phaser, PixiJS or Three.js) with Vite, TypeScript, input, audio, saves, responsive canvas and itch.io/PWA deploy. Triggers: web game, browser game, html5 game, phaser game, pixi game, three.js game.145 installsdesign-to-codeTurn a design into production frontend code in four phases: design-system tokens and components, responsive layout, dark mode, then a UX audit that fixes what it finds. Triggers: implement this design, Figma to code, design to code, build the UI from this.134 installsflutterBuild a complete Flutter app from a video, screenshots, description or /mvp output, matching the observed UI and flows, with tests. Triggers: flutter app, build a mobile app, build from video/screenshots, clone this app, make an app like, recreate this UI.131 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.653 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.553 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.365 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.266 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.185 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions149 installs

Frequently asked questions about rapid-prototype

What does the rapid-prototype skill do?

Turns an idea into a clickable, verified prototype in one run: ruthlessly scopes to at most 3 screens with one happy path and an explicit written cut-list, scaffolds on the existing repo stack (or Vite standalone), fills it with realistic seed data instead of lorem ipsum. Use when the user asks to 'prototype this idea', 'mock up a clickable demo', or 'build a quick proof of concept' to show stakeholders. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the rapid-prototype skill?

Run `npx @skills-hub-ai/cli install rapid-prototype` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/rapid-prototype/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does rapid-prototype work with?

rapid-prototype runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the rapid-prototype skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use rapid-prototype after installing it?

In Claude Code, type `/rapid-prototype` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the rapid-prototype skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.