跳到正文
Skillpedia
通用编程12k · #11577

spike

它能做什么

这项技能让智能体在你正式投入开发之前,用一个小原型快速测试某个技术想法。适合需要判断某件事能否实现,或要在两个选项中做选择的人。

适用场景

  • ✓当你想在动手开发之前,先确认某个技术想法是否可行时。
  • ✓当你想用真实测量数据比较两种方案时。
  • ✓当你需要一个快速原型来尽早发现风险,而不是完整成品的时候。

技能链接

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/spike/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/spike/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. State the concrete feasibility question.
  2. Read enough documentation or source to choose a credible approach.
  3. Create the smallest runnable artifact that validates or invalidates the idea.
  4. Exercise one important edge case or failure mode.
  5. Report VALIDATED, PARTIAL, or INVALIDATED.

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能