---
name: Prototype
slug: prototype-4
category: Frontend
description: Prototype builds disposable code to answer a design question. Use it to sanity-check a state model, logic, or UI direction before committing to a fuller implementation.
github: "https://github.com/stevesolun/ctx/tree/main/.agents/skills/prototype"
language: Python
stars: 578
forks: 71
install: "npx degit https://github.com/stevesolun/ctx/tree/main/.agents/skills/prototype ~/.claude/skills/prototype"
installs_to: ~/.claude/skills/prototype
source_path: .agents/skills/prototype/SKILL.md
collection_size: 25
category_size: 567
collection_url: "https://dirskills.com/collections/stevesolun/ctx"
added: 2026-08-25T05:14:03.361Z
last_synced: 2026-08-25T05:14:03.361Z
canonical_url: "https://dirskills.com/skills/prototype-4"
---

# Prototype

Prototype builds disposable code to answer a design question. Use it to sanity-check a state model, logic, or UI direction before committing to a fuller implementation.

**Install:**

```bash
npx degit https://github.com/stevesolun/ctx/tree/main/.agents/skills/prototype ~/.claude/skills/prototype
```

## README

# Prototype

A prototype is disposable code that answers a specific design question. Let the
question, repository, and cheapest credible feedback loop determine its shape.

## Pick a branch

Infer the branch from the request and surrounding code:

- **Logic or state-model uncertainty** → read [LOGIC.md](LOGIC.md).
- **Visual or interaction uncertainty** → read [UI.md](UI.md).

If both are involved, prototype the riskiest uncertainty first. State a material
assumption instead of blocking when the choice can be reversed cheaply.

## Shared guidance

- Mark the artifact clearly as a prototype and follow existing project structure.
- Keep it runnable with a simple documented command or URL.
- Prefer in-memory or stubbed dependencies unless persistence or integration is
  the question being tested.
- Add only the error handling, tests, and structure needed for trustworthy
  feedback. Avoid production polish and speculative flexibility.
- Make the relevant state, alternatives, or outcomes easy to inspect.
- Stop when the evidence answers the question.

Report the answer, how to exercise the prototype, and its limitations. Do not
promote, commit, branch, publish, or preserve the artifact unless the user asks.
When preservation is useful, record the question and conclusion alongside it.
