From mattpocock-skills
Builds a throwaway prototype to answer a specific design question, branching between a terminal app for state/logic exploration or multiple UI variations toggleable from one route.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mattpocock-skills:prototypeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Prototype 是**用来回答一个问题的 throwaway code**。问题决定形状。
Prototype 是用来回答一个问题的 throwaway code。问题决定形状。
先识别正在回答哪个问题:来自用户 prompt、周围代码,或在用户在线时直接询问:
这两个分支会产出非常不同的 artifacts;选错会浪费整个 prototype。如果问题确实模糊且用户不可达,默认选择更匹配周围代码的分支(backend module → logic;page 或 component → UI),并在 prototype 顶部说明假设。
pnpm <name>、python <path>、bun <path> 等。用户必须能不动脑地启动它。Prototype 里唯一值得保留的是_答案_。把它和所回答的问题一起记录到持久位置(commit message、ADR、issue,或 prototype 旁边的 NOTES.md)。如果用户在线,这个记录可以是一段快速对话;如果不在线,留下 placeholder,让他们(或下一轮的你)在删除 prototype 前补上结论。
npx claudepluginhub vinvcn/mattpocock-skills-zh-cnBuilds a throwaway prototype to answer a design question — either a terminal app for state/logic exploration or multiple UI variations on a single route. Use when sanity-checking a data model, mocking up a UI, or exploring design options.
Builds disposable prototypes to flush out design before committing. Routes between a terminal app for state/business logic questions or multiple radically different UI variations on a single route.
Builds a throwaway prototype to answer a design question—either a terminal app for logic/state exploration or multiple UI variants toggleable from one route.