spike
它能做什么
这项技能让智能体在你正式投入开发之前,用一个小原型快速测试某个技术想法。适合需要判断某件事能否实现,或要在两个选项中做选择的人。
适用场景
- ✓当你想在动手开发之前,先确认某个技术想法是否可行时。
- ✓当你想用真实测量数据比较两种方案时。
- ✓当你需要一个快速原型来尽早发现风险,而不是完整成品的时候。
技能链接
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/spike/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在我们开始开发之前,请帮我快速测试:能否在网页浏览器中通过蓝牙读取传感器数据?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先说明要回答的问题,阅读足够的文档,编写最小的可运行测试,并检查一个棘手的情况。最后给出结论:该想法已验证、部分验证或已被推翻。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Spike
Use when the user asks to test an idea before committing to a production build: “spike this”, “quick prototype”, “is this possible”, “compare A and B”, or “before we build”.
Do not use when documentation or source inspection can answer the question, or when the user requested production implementation.
Loop
- State the concrete feasibility question.
- Read enough documentation or source to choose a credible approach.
- Create the smallest runnable artifact that validates or invalidates the idea.
- Exercise one important edge case or failure mode.
- Report
VALIDATED,PARTIAL, orINVALIDATED.
Workspace
- Default:
.tmp/spikes/<slug>for disposable work. - Tracked option:
spikes/<NNN-slug>/with a README and minimal code, only when the user wants the prototype kept. - Prefer a runnable CLI, tiny HTML page, one endpoint, or a focused test.
- Avoid package sprawl, Docker, environment files, app frameworks, and production cleanup.
For multiple questions, split them into two to five independent spikes, run the riskiest first, and keep A/B inputs and measurements equal. Ask before building every variant when the work is no longer small.
Verdict
## Verdict: VALIDATED | PARTIAL | INVALIDATED
Question: ...
Evidence: exact command, output, or measurement.
What worked: ...
What failed or surprised us: ...
Recommendation: ship, adjust, or avoid, with the next production step.
An invalidated spike is useful when it rules out a path with evidence. Do not merge disposable spike code into production without rewriting it to production standards. When evaluating dependencies, check maintenance activity, documentation, license, and install friction.
常见问题
原型会生成正式的生产代码吗?
不会。这项技能用于一次性原型,不会为了生产环境去整理代码。
什么情况下不应该使用它?
当文档或源代码就能回答问题,或者你要的是正式生产版本时,就不应使用。
原型文件保存在哪里?
默认保存在临时的 spikes 文件夹中,除非你要求保留该原型。
详情
作者的原始描述
Build small throwaway prototypes to validate feasibility, compare approaches, measure risks, and report an evidence-based verdict.
repo: EKKOLearnAI/ekko-studio
热度
- GitHub 星标
- 12k
- 排名
- #11577
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
1password
12k帮你的智能体使用 1Password CLI 为命令和配置文件获取机密信息,同时不在聊天、日志或已保存的文件中显示这些信息。
apple-notes
12k帮你的智能体在 Mac 上使用 memo 命令行工具创建、搜索、阅读、编辑、移动或删除 Apple 备忘录。
apple-reminders
12k帮你的智能体在 Mac 上使用 remindctl 工具列出、创建、编辑、完成或删除 Apple 提醒事项及提醒列表。
document-to-action-items
12k帮你的智能体把文档、会议记录或一组笔记,整理成一张清晰的任务、负责人、截止日期和决定的表格。