Engineering
Chapter 9 of 35
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 · 435 words · 2 sections
A prototype is throwaway code that answers a question. The question decides the shape.
Identify which question is being answered — from the user’s prompt, the surrounding code, or by asking if the user is around:
The two branches produce very different artifacts — 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.Install this repository
npx skills add mattpocock/skills/plugin marketplace add mattpocock/skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
main, last pushed 7 August 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 chapter 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 chapter 9.
Everything else published alongside the skill.