prototype
Skill27 starsChanged 3 months agoMITView on GitHub
构建一个用完即弃的原型来回答某个设计问题。当用户想核实一个状态模型或逻辑是否感觉对劲,或者探索某个 UI 该长什么样时使用。
Files
原型
一个原型是回答一个问题的用完即弃代码。问题决定形状。
挑一个分支
弄清正在回答的是哪个问题——从用户的提示、周围的代码,或者在用户在场时直接问:
- 「这个逻辑 / 状态模型感觉对吗?」 → LOGIC.md。构建一个单一的可分享 HTML 文件——自由玩耍按钮加上带标签页的引导式演练——把状态机推过那些在纸上难以推理的情形,而且非开发者也能驱动它。
- 「这该长什么样?」 → UI.md。在单个路由上生成若干截然不同的 UI 变体,通过一个 URL 查询参数和一个浮动底栏切换。
两个分支产出非常不同的产物——搞错了会浪费整个原型。如果问题确实含糊而用户又联系不上,就默认走与周围代码更匹配的那个分支(后端模块 → 逻辑;页面或组件 → UI),并在原型顶部陈述这个假设。
两个分支都适用的规则
- 从第一天起就用完即弃,并明确标注为如此。 把原型代码放在它实际会被用到的地方附近(挨着它在为之做原型的那个模块或页面),这样上下文一目了然——但给它起个名,让随意的读者一看就知道这是原型、不是生产代码。对于用完即弃的 UI 路由,遵循项目已有的路由约定;不要发明新的顶层结构。
- 运行起来轻而易举。 一个 UI 原型从项目任务运行器里的一条命令启动——
pnpm <name>、python <path>、bun <path>等。一个逻辑演示是一个用户双击的单 HTML 文件。无论哪种方式,启动它都不用动脑子。 - 默认不持久化。 状态活在内存里。持久化是原型在核实的东西,不是它该依赖的东西。如果问题明确涉及数据库,就打到一个临时数据库或本地文件,起个明确的「PROTOTYPE — wipe me」名字。
- 跳过打磨。 没有测试,除了让原型可运行所必需的之外没有错误处理,没有抽象。重点是快速学到点东西。
- 让状态浮现。 每次 action(逻辑)之后,或每次变体切换(UI)时,打印或渲染全部相关状态,让用户看到变了什么。
- 完成后捕获它。 把任何经过验证的决策折叠进真实代码,然后把原型本身作为一份一手来源捕获:把它 commit 到一个主线之外的用完即弃分支,并在实现工单上留一个指向那个分支的上下文指针。也捕获答案——那个结论以及它所定夺的问题——记在工单或一个 commit 里。主分支只保留经过验证的决策。
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- mattpocock/skills★ 309ksame name
- emilkowalski/skill★ 53ksame name
- emilkowalski/skills★ 53ksame name
- QuivrHQ/quivr★ 40ksame name
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- GreyDGL/PentestGPT★ 16ksame name
- spree/spree★ 16ksame name
- usekaneo/kaneo★ 9.7ksame name
- podman-desktop/podman-desktop★ 8.1ksame name
- ArcReel/ArcReel★ 6ksame name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use playtest-report, soak-test and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillplaytest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
Also in 12 projects that use this
lilangMaxSkillsoak-test
Generate a soak test protocol for extended play sessions. Defines what to observe, measure, and log during long play sessions to surface slow leaks, fatigue effects, and edge cases that only appear after sustained play. Primarily used in Polish and Release phases.
Also in 9 projects that use this
lilangMaxSkillteam-live-ops
Orchestrate the live-ops team for post-launch content planning: coordinates live-ops-designer, economy-designer, analytics-engineer, community-manager, writer, and narrative-director to design and plan a season, event, or live content update.
Also in 9 projects that use this
CoralGameSkillteam-polish
Orchestrate the polish team: coordinates performance-analyst, technical-artist, sound-designer, and qa-tester to optimize, polish, and harden a feature or area for release quality.
Also in 14 projects that use this
- +5 more from lilangMax
- +3 more from CoralGame
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ask-mattSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- grill-with-docsSkill
- implementSkill
- improve-codebase-architectureSkill
- researchSkill
- resolving-merge-conflictsSkill
- setup-matt-pocock-skillsSkill
- tddSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- wayfinderSkill
- wizardSkill
- claude-handoffSkill
- loop-meSkill
- setup-ts-deep-modulesSkill
- writing-beatsSkill
- writing-fragmentsSkill
- writing-shapeSkill
- git-guardrails-claude-codeSkill
- migrate-to-shoehornSkill
- scaffold-exercisesSkill
- setup-pre-commitSkill
- grillingSkill
- grill-meSkill
- handoffSkill
- teachSkill
- to-questionnaireSkill
- wait-whatSkill
- writing-for-agentsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

