create-prototype

A workflow for building a working browser-based prototype from a feature specification. It uses simulated APIs, so the interface can be tried before the real backend is connected.

In plain words
What is it for?
Use it to create client-side prototypes, read the project's feature settings, and implement the interface described in a feature specification. It uses the feature's manifest and prototype directory.
Why use it?
It gives a concrete, interactive version of a feature after its specification is complete. It skips prototype work when the feature does not include interface changes.

Skill for Claude CodeCodexCursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/markmhendrickson/foundation/create-prototype
Any agent
npx skills add markmhendrickson/foundation --skill create-prototype
Clone the repo
git clone --depth 1 https://github.com/markmhendrickson/foundation

Made for: Claude Code, Codex, Cursor.

Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 693 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00010 $0.00693
Opus 5 $0.00005 $0.00347
Sonnet 5 $0.00002 $0.00139
Haiku 4.5 $0.00001 $0.00069

Measured yesterday against content hash 8fb4e8262bbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-prototype scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

95% identical to create-prototype — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/skills/create-prototype/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Prototype

Create fully functional client-side prototype for Feature Unit {{input:feature_id}}.

Follow foundation/development/feature_unit_workflow.md Step 1 (Prototype Creation). Configuration is read from foundation-config.yaml.

This happens after Checkpoint 0 (spec creation) and before Checkpoint 1 (prototype review).

Implements prototype creation after Checkpoint 0 (spec) is complete. Creates a fully interactive, client-side prototype with mocked APIs.

Trigger

  • Spec created with UI requirements (Checkpoint 0 complete, UI changes present) OR
  • No UI changes required (skip prototype)

Tasks

  1. Load configuration:

    • Read foundation-config.yaml to get feature unit settings
    • Determine directory structure and prototype paths
  2. Load spec and manifest:

    • {configured_directory}/in_progress/{{input:feature_id}}/{{input:feature_id}}_spec.md (or completed/ if completed)
    • {configured_directory}/in_progress/{{input:feature_id}}/manifest.yaml (or completed/ if completed)
  3. Check if UI changes present:

    • Review spec and manifest for UI components
    • Verify UX Requirements section exists in spec (from Checkpoint 0)
    • If no UI changes → skip to implementation
    • If UI changes present → proceed
  4. Create prototype:

    • Use configured prototype directory structure (or default: frontend/src/prototype/)
    • Create prototype component(s): {prototype_dir}/components/{{input:feature_id}}_*.tsx
    • Create mock API fixtures: {prototype_dir}/fixtures/{{input:feature_id}}_*.ts
    • Integrate into prototype main file
  5. Prototype requirements:

    • Fully interactive (click, type, navigate)
    • All API calls mocked (no real backend)
    • All UI states testable (empty, error, loading, success)
    • Accessible (keyboard nav, ARIA if applicable)
    • Uses existing design system components (if available)
    • Documented mock API responses
  6. Make prototype runnable:

    • Ensure prototype can be run (e.g., npm run dev:prototype)
    • Document how to run prototype

Read the full file on GitHub · 92 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 92 lines · 10 tokens per session scan A 8fb4e8262bbe

Subscribe to this mod's changes

create-prototype is a skill published in the GitHub repository markmhendrickson/foundation (2 stars, last pushed 1mo ago), licensed MIT. It adds 10 tokens to every session and 693 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to create-prototype, differing in 7 lines, and is treated as a copy.

Related

Other skills, from other repositories

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

mintlify-preview

Run the public Mintlify product docs site locally for live preview. Use when previewing or iterating on docs under docs/ (.mdx/.md pages, docs.json nav), or when the user says "start the docs", "run mintlify", "preview the docs site".

latitude-dev/latitude-llm · 69 tokens