agentleFS
SantiagoVqzSantiagoVqz/claude-skills/skills/1-define/prototype/SKILL.md

prototype

Skill2 starsChanged 10 days agoMITView on GitHub

Build throwaway prototypes as Claude artifacts to explore UI designs and answer design questions. Use when the user asks to prototype, mock up or see options, when a project rule asks for an HTML mockup, and before a UI change that the user must see first.

194 other projects use a version of this, 112 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use playtest-report, soak-test and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 12 projects that use this

  • lilangMaxSkill

    soak-test

    Generate a soak test protocol for extended play sessions. Defines what to observe, measure, and log during long play sessions to surface slow leaks, fatigue effects, and edge cases that only appear after sustained play. Primarily used in Polish and Release phases.

    Also in 9 projects that use this

  • lilangMaxSkill

    team-live-ops

    Orchestrate the live-ops team for post-launch content planning: coordinates live-ops-designer, economy-designer, analytics-engineer, community-manager, writer, and narrative-director to design and plan a season, event, or live content update.

    Also in 9 projects that use this

  • CoralGameSkill

    team-polish

    Orchestrate the polish team: coordinates performance-analyst, technical-artist, sound-designer, and qa-tester to optimize, polish, and harden a feature or area for release quality.

    Also in 14 projects that use this

  • +5 more from lilangMax
  • +3 more from CoralGame

The file

We split this skill into the rules it gives an agent

5 rules. 1 is common, 3 are distinctive, and 1 is very specific to this project.

  • 1

    Common

    Most of the 179 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every prototype is one Claude artifact, published with the Artifact tool.

    line 10
  2. Distinctive:

    Throwaway from day one, and clearly marked as such: Put "Prototype" in the artifact title, and state the question at the top of the page.

    line 25
  3. Common:

    Surface the state: After every action, render the full relevant state so the user can see what changed.

    line 29
  4. Very specific:

    Browser: Use Claude in Chrome. When it is not connected or does not answer, use the DevTools tools, as DEVTOOLS.md in the folder of the …

    line 32
  5. Distinctive:

    Blocked page: When the link shows a bot check or a sign-in, do not try to get past it.

    line 33

“Common” is measured: kept by at least 6 in 10 of the 179 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prototype

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

Every prototype is one Claude artifact, published with the Artifact tool. The share is a link. The repo gets no prototype files, no route and no dev server. When the session has no Artifact tool, tell the user that the prototype needs one, and stop.

Pick a branch

Identify which question is being answered, using 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 one artifact (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 in one artifact, side by side on one canvas.

The two branches produce very different artifacts, so 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.

Name the surface too: which app, and which page or flow. When the request does not name it and the user is present, ask one question with a recommended option before you build. Guess only when the user is away, and state the guess at the top of the prototype.

Rules that apply to both

  1. Throwaway from day one, and clearly marked as such. Put "Prototype" in the artifact title, and state the question at the top of the page.
  2. Trivial to run. The artifact opens from its link, with nothing to install or start. It needs no app server, so stop each dev server that this session started before you build.
  3. No persistence. State lives in memory. When the question is about persistence, fake the store in memory and label it as fake on the page.
  4. High fidelity on the surface, throwaway underneath. The prototype looks and behaves like the real product: the project's fonts, colours, spacing and components, real copy, realistic data, and working hover, focus and open states. Read the project's design doc first: DESIGN.md, docs/design-system.md, or the doc that AGENTS.md names. Build each screen from the components it names, and use only the platform patterns it uses. Then read the tokens and component styles from the code (theme files, CSS variables, Tailwind config) or from the user's screenshots. The code behind it stays throwaway: no tests, no error handling beyond what makes the prototype runnable, no abstractions.
  5. Surface the state. After every action, render the full relevant state so the user can see what changed.
  6. Iterate in place. Republish each change to the same artifact, so the link always shows the current prototype.
  7. Check before the handover. Run the script check, and wait for its result before you publish. Then open the published link in a browser at the target width, take a screenshot of each frame, and drive its hover and open states. Fix what you find, and republish. The check counts only on the last publish, so check again after each fix.
    • Browser. Use Claude in Chrome. When it is not connected or does not answer, use the DevTools tools, as DEVTOOLS.md in the folder of the ui-check skill says.
    • Blocked page. When the link shows a bot check or a sign-in, do not try to get past it. Open the local source files of the frames in the browser, when they render alone.
    • Still no look. Send the link, and name each frame and state that you did not see, and why. A failed attempt is the only reason to send an unchecked frame.
    • Close. Close each page that you opened, and stop any Chrome that this session started for the check, because a project script can refuse to run next to a second Chrome.
  8. Capture it when done. Fold any validated decision into the real code. Record the answer (the verdict and the question it settled) with the artifact link as the context pointer: on the implementation issue when one exists, in the decisions log when /spec called the skill, else in the reply to the user. The artifact is the primary source, so the repo keeps only the validated decision.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.