agentleFS
gvastethecreatorgvastethecreator/prototype-lab-skill/SKILLS/prototype-lab/SKILL.md

prototype-lab

Skill1 starsChanged 4 months agoMITView on GitHub

Prototype Lab: live UI variant picker, create portable browser prototypes, compare options, verify self-containment, and package a static ZIP.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. markoblogo/abvx-agent-skills★ 16same name
    2. lglucas/ai-dev-operating-system★ 12same name
    3. dkpapadopoulos/auto-claude-skills★ 6same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 1 is distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Test one idea: quick

    line 15
  2. Very specific:

    Verify and package: ship

    line 17
  3. Very specific:

    Run node <skill-root>/scripts/manage-prototype-lab.mjs help.

    line 19
  4. Very specific:

    Use when the question is which visual direction to keep for one UI piece and the user wants to flip live.

    line 23
  5. Very specific:

    Default 3 variants, cap 5.

    line 27
  6. Very specific:

    Look at it in a browser. ...

    line 37
  7. Very specific:

    Default blank scaffold is neutral.

    line 44
  8. Very specific:

    Read references/portable-run-pack.md before archive or upload.

    line 62
  9. Distinctive:

    Keep required runtime files local.

    line 68

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

Dated owners live at prototypes/<YYYY>/<MM>/<NNN>-<slug>/. Each one runs from its own index.html. metadata.json is the source of truth. Library and compare views are generated.

State-machine / logic throwaways: html-lab, not this skill.

Choose The Smallest Route

  • Flip live visual variants of one piece: picker. No dated owner.
  • Test one idea: quick
  • Compare independently runnable options: compare
  • Verify and package: ship

Run node <skill-root>/scripts/manage-prototype-lab.mjs help. In this repository: pnpm run lab -- <command>.

Picker Route

Use when the question is which visual direction to keep for one UI piece and the user wants to flip live. Skip init / quick unless they also need a dated lab owner.

  1. Scope to one piece. If the brief spans a dashboard, pick the highest-value control and say why.
  2. Recon stack, tokens, personality, and where the piece sits. No project: neutral grays, one accent, system font.
  3. Default 3 variants, cap 5. Name + axis each. Names describe direction (Quiet, Editorial), never Option A. Two tints of one idea are one variant — replace one.
  4. Build the picker from references/picker.md verbatim. Isolated route or one HTML file. One variant at a time, full size, realistic context. Instant swap. Do not touch production code.
  5. Exercise every variant. Present the set and stop. User chooses. Honest cost per direction.
  6. Promote the winner into the product, then delete the picker surface unless they asked to keep it.

Quick Route

  1. ... init once per workspace (creates prototypes/ and a simple index).
  2. ... quick --title <title> --question <decision-question> [--profile blank|tool|mobile|canvas].
  3. Build only inside the returned folder. Keep runtime, local assets, and proof there.
  4. Look at it in a browser. ... preview --id <id> --open when modules, fetch, or media need an HTTP origin.
  5. ... verify --id <id> for self-containment. ... attach-proof --id <id> --file <screenshot> after you looked.

create is the same command. adopt --path <static-folder> --question <text> for an existing self-contained build. fork --from <id> for a new iteration (proof is not copied).

Profiles:

  • Default blank scaffold is neutral; from assets/prototype-blank/
  • tool: compact app shell
  • mobile: mobile-width root
  • canvas: 2D/WebGL stage
  • imported: assigned by adopt

Compare Route

  1. Produce or adopt at least two standalone artifacts.
  2. ... compare --ids <id>,<id> [--title <title>] [--question <text>].
  3. The compare page is a tab + iframe switcher. It does not own the variants.

Ship Route

... ship --id <id> [--include-proof] runs verify, writes dist/prototype-lab/<slug>/ plus ZIP, and marks the owner complete.

The pack is host-neutral: no build command, server runtime, or SPA fallback. Packaging is not publication. ChatGPT Sites: adapt via sites-building, publish via sites-hosting; confirm before public sharing.

Read references/portable-run-pack.md before archive or upload. scripts/package-prototype-lab.mjs owns the static pack.

Integrity Contract

  • One owner at prototypes/<YYYY>/<MM>/<NNN>-<slug>/ per independently generated result.
  • metadata.json is the artifact source of truth.
  • Keep required runtime files local. Reject horizontal overflow, root-relative URLs, external runtime dependencies, local paths, and missing references.
  • Preserve existing work. Never overwrite unmanaged folders.

Conditional References

  • references/picker.md: picker chrome. Copy verbatim.
  • references/quality-bar.md: look at it in a browser before claiming it works.
  • references/portable-run-pack.md: static/ZIP and publication safety.

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.