Skip to content
SkillModel-led604 tokens in use

Prototype

Builds throwaway code that answers one design question, either as a shareable HTML logic demo or as several UI variants on one route.

328,754 stars on the repository MIT Licensemattpocock/skills · skills/engineering/prototype
claude plugin install mattpocock-skills@claude-plugins-official
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Prototype costs

39tokens idle
604tokens in use
3,531tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts and code blocks. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter12/15
  • Structure17/25
  • Examples3/15
  • Output10/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity96
  • Maintenance100
  • Community56
  • Maturity32
  • Momentum40

Prototype picks a branch from the question. “Does this logic or state model feel right” leads to LOGIC.md, a single HTML file with free-play buttons and tabbed guided walkthroughs that a non-developer can drive. “What should this look like” leads to UI.md, several radically different variations on one route switched with a URL search param and a floating bottom bar.

If the question is ambiguous and you are away, it picks the branch that matches the surrounding code and states the assumption.

What You Get

  • A single self-contained HTML file with the logic in a pure, portable module
  • Three UI variants by default, five at most, behind a ?variant= param with arrow-key switching
  • The full relevant state shown after every action or variant switch
  • A prototype branch kept as a primary source and the verdict recorded in the issue or a commit

Common Use Cases

  • Checking whether a state machine handles an awkward edge case before writing it for real
  • Comparing three layouts of a settings page against real data
  • Handing a non-developer a demo they can click through to challenge a data model

What Makes It Unique

The shape of the artifact follows the question. The logic demo is written in domain language for people outside engineering. The UI variants must be structurally different, and the skill prefers hosting them inside an existing page so they sit among real data. Main keeps only the validated decision.

Under The Hood

SKILL.md is Markdown that routes to LOGIC.md or UI.md. It bundles no scripts. The model creates prototype files in your project, adds a run command to your task runner for UI prototypes, writes one HTML file for logic prototypes, and commits the prototype to a throwaway branch.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers