omh-decision-prototype
它能做什么
它设置一个有范围限制、可丢弃的实验,用于验证一个不确定的技术选择,例如 API 或性能问题。适合在规划之前需要一个真实答案的团队。
适用场景
- ✓当某个技术问题阻碍规划,且只有实验才能回答时。
- ✓当你想在隔离环境中测试某个 API 或性能选择时。
- ✓当你希望把一次探索性尝试与生产工作分开进行时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-decision-prototype/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们不确定所选的 API 能否承受预期的负载。在规划之前,请设置一个小型一次性测试来确认。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体界定唯一的问题,在隔离环境中构建一个可丢弃的实验,记录观察到的结果,并把它纳入规划。这个原型不会被视为可以用于生产的成品。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Decision Prototype
This is an OMH decision-prototype workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
decision-prototype exists so one empirical uncertainty can be settled by a bounded, disposable experiment instead of endless interviewing or an experiment hidden inside production work; it records observed results apart from interpretation and feeds planning a receipt without claiming the prototype is implementation-ready.
Do Not Use When
- $context is the explicit-only route for a repository terminology or product decision frontier (
ulw-context); preference or policy decisions that behavior cannot test stay withulw-interview. - $context is the explicit-only route for unresolved repository terminology or project language (
ulw-context); hand only an empirical decision here. - The decision is already made and the request is an implementation plan with acceptance criteria; use
ulw-planand consume the decision receipt there. - The user wants the feature built, reviewed, or shipped rather than one question answered; use
ulw-workafter an accepted plan. - The request is UI creation, redesign, or polish of a real surface rather than a throwaway wireframe that answers one interaction question; use
omh-frontend. - The request is a premium content, layout, or visual quality gate on deliverables; use
omh-design-quality-gate. - The uncertainty is whether customers have the problem or would adopt the solution, which needs customer evidence rather than a technical or interaction spike; use
omh-product-discovery-validation. - The request needs QA certification, production-readiness evidence, or a performance baseline for release; prototype results do not generalize beyond their declared fixture and environment.
Examples
Good example:
- Prompt: Run a small spike to check whether the streaming API can hold 500 concurrent connections on one worker before we plan the migration.
- Expected behavior: Frame one decision question with a stable id, bound the budget and scratch worktree, prepare a timing probe with exact commands and expected observations, record only observed results, and close with a decision receipt for planning.
- Why: One empirical uncertainty blocks planning and a cheap, reversible, isolated probe can answer it without building the migration.
Bad example:
- Prompt: decision-prototype build the whole notifications feature as a prototype and merge it if it works.
- Expected behavior: Refuse the multi-feature scope, ask for the one decision the prototype should settle, and route accepted implementation to
ralplanthenultrawork. - Why: A general feature build is not a bounded experiment, and a successful prototype is never promoted without a separate accepted plan.
Completion Checklist
- Exactly one decision question with a stable decision id, alternatives, and a falsifiable hypothesis is recorded, or the request was refused with the missing question named.
- Time, tool, file, and command budgets carry units, and the scratch directory or temporary worktree identity matches the observed workspace.
- The artifact kind is the smallest that can answer the question, and any expansion into feature implementation was refused.
- Execution status is one of prepared_not_observed, observed, timeout, or inconclusive; observed outputs, evidence references, interpretation, and confidence sit in separate fields.
- Cleanup is observed before
discardedis reported, and a cleanup failure is recorded distinctly. - The decision receipt names the supported option, rejected option, residual risk, evidence limits, and prototype-code reference permission, and no implementation handoff was prepared from it.
Recovery Notes
- If the request spans several decisions or has no falsifiable hypothesis, HOLD and ask for or derive the single question instead of running anything.
- If no executor, temporary worktree, browser tool, or device is available, emit the prepared handoff with exact commands and expected observations and report every result as unobserved.
- If the observed workspace differs from the declared scratch boundary, stop before the first write and report the mismatch as a blocker.
- If the time or command budget runs out, record
timeoutwith whatever was observed so far and leave interpretation as unresolved questions. - If observations do not falsify or support the hypothesis, record
inconclusivewith the e
常见问题
原型是生产代码吗?
不是。它是可丢弃的,该技能说明它尚不能直接用于实施。
它会构建整个功能吗?
不会。它只回答一个不确定的选择。构建功能是另一个工作流程。
它涵盖精美的界面设计吗?
不涵盖。构建或打磨真正的界面由前端技能负责。
详情
作者的原始描述
[omh] Uncertain technical choice for a spike: bounded decision prototype workflow: resolve one uncertain interaction, API, performance, or integration choice with a disposable, isolated experiment whose observed result feeds planning. Use when the user says: decision-prototype, decision prototype, prototype this uncertain choice before planning, prototype before planning, prototype the uncertain choice, run a small spike, small spike, spike solution.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15097
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。