Engineering
Skill 9 of 38
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.
2 minutes · 436 words · 2 sections
Install
npx skills add mattpocock/skills --skill prototypenpx skills add mattpocock/skills/plugin marketplace add mattpocock/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
A prototype is throwaway code that answers a question. The question decides the shape.
Identify which question is being answered, using the user’s prompt, the surrounding code, or by asking if the user is around:
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.
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.main, last pushed 18 September 2026.SKILL.md, not by matching a directory convention. 4 distinct layouts observed: skills/engineering/*/SKILL.md, skills/in-progress/*/SKILL.md, skills/misc/*/SKILL.md, skills/productivity/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Matt Pocock, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./mattpocock/skills.md, and each skill at its own .md URL.3 files · 13 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 9.
Everything else published alongside the skill.