Throwaway Prototypes

VerifiedSafe

Build a throwaway prototype to answer a design question, exploring logic/state or UI variations.

Sby Skills Guide Bot
DevelopmentIntermediate
8/29/2026
Claude CodeCursorCodex
#prototyping#design-exploration#state-modeling#ui-variants#throwaway-code

Recommended for

Automated summary

Builds a throwaway prototype — an interactive logic demo or a set of UI variations — to settle a design question quickly.

Strengths

  • Splits the work into two clearly separated branches: validating a state model versus exploring what a UI should look like
  • Produces artifacts that are trivial to run (a single double-clickable HTML file or one task-runner command) with no persistence by default
  • Requires the prototype to sit next to the code it informs while being visibly marked as throwaway rather than production
  • Ends by folding the validated decision into the real code and archiving the prototype on a throwaway branch with a context pointer

Limitations

  • Ships no ready-made code scaffold: the concrete implementation guidance lives in LOGIC.md and UI.md, which are not part of this file
  • Relies on the agent correctly picking a branch; when the question is ambiguous and the user is unreachable, it guesses from the surrounding code
  • The prototype is deliberately untested and unpolished, so it cannot be reused as-is in production
When to use it

Reach for it when you want to sanity-check a state machine, business logic, or visual direction in minutes before committing to real implementation.

When not to use it

Avoid it for code meant to ship as-is, for features whose behavior is already specified and agreed, or when a proper automated test would answer the question better.

Security analysis

Safe
Quality score88/100

The skill provides high-level guidance for building throwaway prototypes and does not instruct any destructive, exfiltrating, or obfuscated actions. It declares no tools and focuses on design decisions, state modeling, and UI exploration without requiring execution of risky commands.

No concerns found

How this analysis is made

Examples

Validate an order state model
Before I commit to this order state machine, build a throwaway prototype I can click through — I want to see whether the partial-ship and refund transitions actually feel right.
Explore settings page layouts
Generate three radically different designs for the account settings page on one route, switchable with a URL param, so I can decide which direction to take.
Stress-test retry logic
I'm not sure our retry and backoff logic handles the weird cases. Prototype it as a single HTML file with buttons for each action and show the full state after every step.

name: prototype description: Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Prototype

A prototype is throwaway code that answers a question. The question decides the shape.

Pick a branch

Identify which question is being answered — from the user's prompt, the surrounding code, or by asking if the user is around:

  • "Does this logic / state model feel right?" → LOGIC.md. Build a single shareable HTML file — free-play buttons plus tabbed guided walkthroughs — that pushes the state machine through cases that are hard to reason about on paper, and that a non-developer can drive.
  • "What should this look like?" → UI.md. Generate several radically different UI variations on a single route, switchable via a URL search param and a floating bottom bar.

The two branches produce very different artifacts — getting this wrong wastes the whole prototype. If the question is genuinely ambiguous and the user isn't reachable, default to whichever branch better matches the surrounding code (a backend module → logic; a page or component → UI) and state the assumption at the top of the prototype.

Rules that apply to both

  1. Throwaway from day one, and clearly marked as such. Locate the prototype code close to where it will actually be used (next to the module or page it's prototyping for) so context is obvious — but name it so a casual reader can see it's a prototype, not production. For throwaway UI routes, obey whatever routing convention the project already uses; don't invent a new top-level structure.
  2. Trivial to run. A UI prototype starts from one command in the project's task runner — pnpm <name>, python <path>, bun <path>, etc. A logic demo is a single HTML file the user double-clicks. Either way, no thinking required to start it.
  3. No persistence by default. State lives in memory. Persistence is the thing the prototype is checking, not something it should depend on. If the question explicitly involves a database, hit a scratch DB or a local file with a clear "PROTOTYPE — wipe me" name.
  4. Skip the polish. No tests, no error handling beyond what makes the prototype runnable, no abstractions. The point is to learn something fast.
  5. Surface the state. After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see what changed.
  6. Capture it when done. Fold any validated decision into the real code, then capture the prototype itself as a primary source: commit it to a throwaway branch, out of main, and leave a context pointer to that branch on the implementation issue. Capture the answer too — the verdict and the question it settled — in the issue or a commit. The main branch keeps only the validated decision.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/throwaway-prototypes-mte1lh1q' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/throwaway-prototypes-mte1lh1q/download' --output '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md.part' && mv '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md.part' '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md' && test -s '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/prototype' && cp -R '.skill-downloads/throwaway-prototypes-mte1lh1q' '.claude/skills/prototype'

Cursor
test -f '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md' && test -s '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/prototype' && cp -R '.skill-downloads/throwaway-prototypes-mte1lh1q' '.cursor/skills/prototype'

Codex
test -f '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md' && test -s '.skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/prototype' && cp -R '.skill-downloads/throwaway-prototypes-mte1lh1q' '.agents/skills/prototype'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/throwaway-prototypes-mte1lh1q'

openskills read 'throwaway-prototypes-mte1lh1q'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/throwaway-prototypes-mte1lh1q/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills