prototype
构建一个 throwaway prototype 来回答设计问题。当用户想确认某个 state model 或 logic 是否合理,或想探索 UI 应该长什么样时使用。
Skill by toRolex
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/torolex-prototype
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/prototype
What's inside
- Skill name
prototype- Description
- 构建一个 throwaway prototype 来回答设计问题。当用户想确认某个 state model 或 logic 是否合理,或想探索 UI 应该长什么样时使用。
- License
- MIT
- Instructions
- 23 lines in SKILL.md · view on GitHub
Files (3)
- LOGIC.md
- SKILL.md
- UI.md
SKILL.md (first lines)
# Prototype prototype 是**用来回答某个问题的 throwaway 代码**。问题决定了它的形态。 ## 选择分支 先确认要回答的是哪个问题,从用户的 prompt、周围的代码来判断,如果用户在场也可以直接询问: - **「这套 logic / state model 合理吗?」** → [LOGIC.md](LOGIC.md)。构建一个单一的、可分享的 HTML 文件(包含自由操作的按钮和带标签页的引导式分步演示),让 state machine 跑过那些在纸面上很难推演的用例,而且让非开发者也能操作。 - **「它应该长什么样?」** → [UI.md](UI.md)。在单一路由上生成几个差异极大的 UI variant,通过 URL search param 和一个浮动底栏来切换。 两个分支产出的 artifact 截然不同,选错了会浪费整个 prototype。如果问题确实模棱两可,又联系不上用户,就默认选择更贴合周围代码的分支(后端 module → logic;页面或组件 → UI),并在 prototype 顶部注明这个假设。 ## 适用于两个分支的规则 1. **从第一天起就是 throwaway,并且要明确标注。** 把 prototype 代码放在它实际会被使用的位置附近(紧挨着它为之做原型的 module 或页面),这样上下文一目了然,但命名要让随便翻到的人一眼看出这是 prototype,不是生产代码。对于 throwaway 的 UI 路由,遵循项目现有的路由约定,不要发明新的顶层结构。 2. **启动要毫无门槛。** UI prototype 从项目任务运行器里的一条命令就能启动:`pnpm <name>`、`python <path>`、`bun <path>` 等。logic demo 则是用户双击即可打开的单个 HTML 文件。无论哪种,启动它都不需要动脑。 3. **默认不持久化。** state 放在内存里。persistence 是 prototype 要_检验_的对象,不是它应该依赖的东西。如果问题明确涉及数据库,就接一个临时数据库,或一个命名清晰、写着「PROTOTYPE, wipe me」的本地文件。 4. **跳过打磨。** 不写测试,除了让 prototype 能_跑起来_所必需的错误处理之外不做错误处理,不做抽象。重点是快速学到东西。 5. **把 state 亮出来。** 每次操作之后(logic)或每次切换 variant 时(UI),打印或渲染完整的相关 state,让用户看到发生了什么变化。 6. **完成后收尾。** 把任何验证过的 decision 合并进真实代码,然后把 prototype 本身作为 **primary source** 留存:提交到一个 throwaway branch,不进入 main,并在实现 issue 上留下指向该 branch 的 context pointer。也要把答案记下来(结论以及它解决的问题),记在 issue 或某个 commit 里。main branch 只保留已验证的 decision。
From toRolex/rolex-skills, MIT.
More from toRolex/rolex-skills
- 0.586score
diagnosing-bugs
toRolex
针对硬 bug 和 performance regression 的诊断循环。当用户说"诊断"/"调试这个",或报告有东西坏了/抛异常/失败/慢时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
code-review
toRolex
审查自某个 fixed point(commit、branch、tag 或 merge-base)以来的变更,沿两个轴进行:Standards(代码是否遵循本仓库文档化的编码规范?)和 Spec(代码是否匹配原始 issue/spec 的要求?)。两个并行 sub-agent 分别运行审查并并排报告结果。当用户想要…
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
codebase-design
toRolex
用于设计 deep modules 的 shared vocabulary。当用户想设计或改进某个 module 的 interface、寻找 deepening 机会、决定 seam 放在哪里、让代码更可测试或更易被 AI 导航,或当其他 skill 需要 deep-module vocabulary 时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
unknowns
toRolex
实现前走完四个象限,通过盲点扫描、头脑风暴、原型和访谈,交付一份 unknowns map。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
domain-modeling
toRolex
构建并打磨项目的 domain model。在讨论代码库术语、编写或编辑 GLOSSARY.md、或记录或编辑 ADR 时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
improve-codebase-architecture
toRolex
扫描代码库找出 deepening opportunities,以可视化的 HTML report 呈现出来,然后对你挑中的那个进行 grilling。
SkillAFreshness: A★ 1Claude Code +9 - 0.578score
implement-spec
toRolex
把 /to-spec 和 /to-tickets 的产出实现为代码。
SkillAFreshness: A★ 1Claude Code +9 - 0.578score
ask-rolex
toRolex
询问哪个 skill 或 flow 适合当前场景。本仓库所有 user-invoked skill 的路由器。
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
pre-implement
toRolex
在计划或讨论结束、开始实际交付多步骤任务时调用:新建并维护 implementation notes,逐步记录实现决策;偏离 plan、spec 时记录 Deviations。
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
blind-spot-pass
toRolex
找出并解释任务相关的 unknown unknowns。当用户要求盲点扫描、进入陌生代码或领域,或 unknowns 流程需要先教学扫盲时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
brainstorm
toRolex
用多个截然不同的候选显化 unknown knowns。当用户要求头脑风暴、需要界定范围、说不出偏好但看到能认出,或 unknowns 流程进入候选探索阶段时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
research
toRolex
针对高信任度一手资料调研问题,并将发现作为 Markdown 文件保存在仓库中。当用户希望调研某个主题、查阅文档或 API 事实、或将阅读工作委托给后台 agent 时使用。
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Aug 20, 2026 (2 months ago)
- Last release
- Oct 1, 2026 (28 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/toRolex/rolex-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from toRolex
- 0.586score
diagnosing-bugs
toRolex
针对硬 bug 和 performance regression 的诊断循环。当用户说"诊断"/"调试这个",或报告有东西坏了/抛异常/失败/慢时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
codebase-design
toRolex
用于设计 deep modules 的 shared vocabulary。当用户想设计或改进某个 module 的 interface、寻找 deepening 机会、决定 seam 放在哪里、让代码更可测试或更易被 AI 导航,或当其他 skill 需要 deep-module vocabulary 时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
code-review
toRolex
审查自某个 fixed point(commit、branch、tag 或 merge-base)以来的变更,沿两个轴进行:Standards(代码是否遵循本仓库文档化的编码规范?)和 Spec(代码是否匹配原始 issue/spec 的要求?)。两个并行 sub-agent 分别运行审查并并排报告结果。当用户想要…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
unknowns
toRolex
实现前走完四个象限,通过盲点扫描、头脑风暴、原型和访谈,交付一份 unknowns map。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
improve-codebase-architecture
toRolex
扫描代码库找出 deepening opportunities,以可视化的 HTML report 呈现出来,然后对你挑中的那个进行 grilling。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
domain-modeling
toRolex
构建并打磨项目的 domain model。在讨论代码库术语、编写或编辑 GLOSSARY.md、或记录或编辑 ADR 时使用。
SkillAFreshness: A★ 1Claude Code +9
Cite this page
prototype skill. Agent Mart. https://agentmart.dev/skills/torolex-prototype (last updated 2026-10-24)