SKILL

prototype

构建一次性原型以回答设计问题。适用于用户想快速检验某个状态模型或逻辑是否合理,或探索UI应呈现何种样貌的场景。

机器翻译
查看英文原文

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.

适用对象:设计与内容创作。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Prototype
  • Pick a branch
  • Rules that apply to both

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: "Does this logic / state model feel right?" → LOGIC.md. Build a single shareable HTML file (free-play buttons plus tabbed guided walkthroughs) that pushes the state machine through cases that are hard to reason about on paper, and that a non-developer can drive. "What should this look like?" → UI.md. Generate several radically different UI variations on a single route, switchable via a URL search param and a floating bottom bar. 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. 1. Throwaway from day one, and clearly marked as such. Locate the prototype code close to where it will actually be used (next to the module or page it's prototyping for) so context is obvious, but name it so a ca

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
mattpocock/skills
源文件
skills/engineering/prototype/SKILL.md
固定版本
4ae2317ddb22b046e26455e4f9c9b3aaaf62212d
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:Matt Pocock Skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T22:01:33.149Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。