Community编程与开发github.com

Spike(技术验证)

快速构建一次性原型,验证技术方案的可行性、对比不同方法并给出明确结论。

Spike(技术验证) 是什么?

Spike 技能专为需要快速验证技术可行性或对比不同实现方案的场景设计。它遵循一个严格的五步循环:**提问**(明确要验证的问题)、**调研**(阅读文档或源码选择可信方案)、**构建**(创建最小可运行的原型)、**压力测试**(尝试一个边界情况或失败模式)、**判决**(给出 VALIDATED、PARTIAL 或 INVALIDATED 结论)。该技能支持在临时工作区(`.tmp/openclaw-spikes/<slug>`)或仓库本地路径(`spikes/<NNN-slug>/`)中运行,优先使用 CLI 工具、小型 HTML 页面、单一 API 端点或聚焦测试,避免引入复杂依赖(如 Docker、环境文件、应用框架)。对于 A/B 对比或多方案验证,技能会引导将问题拆分为 2-5 个独立子问题,并按风险从高到低依次验证。最终输出包含详细证据、成功与意外发现以及明确的下一步生产建议。注意事项包括:无效的验证结果同样有价值(证明某条路径不可行)、Spike 代码绝不能直接合入生产环境、评估外部依赖时必须检查其活跃度、文档、许可证和安装体验。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/spike

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Spike(技术验证) 是做什么的?

当用户希望在实际构建之前先测试一个想法时使用:"spike this"、"快速原型"、"这是否可能"、"对比 A/B"、"在构建之前"。

在阅读文档/代码能回答问题,或者用户明确要求生产实现时,请勿使用。

循环

  1. 提问:陈述具体的可行性问题。
  2. 调研:阅读足够的文档/源码以选择可信的方案。
  3. 构建:创建能够验证或否定该想法的最小可运行产物。
  4. 压力测试:尝试一个边界情况或失败模式。
  5. 判决:VALIDATED(已验证)、PARTIAL(部分验证)或 INVALIDATED(无效)。

输出结构

  • 默认工作区:.tmp/openclaw-spikes/<slug>,除非用户要求使用仓库本地跟踪路径。
  • 仓库本地选项:spikes/<NNN-slug>/,包含 README.md 和最简代码。
  • 优先选择可运行的 CLI、小型 HTML、单一端点或专注的测试。
  • 避免包膨胀、Docker、环境文件、应用程序框架以及生产环境清理。

多 Spike 思路

  • 拆分为 2-5 个独立问题。
  • 先运行风险最高的问题。
  • 对于 A/B 对比,保持输入对等,并测量相同的维度。
  • 如果工作量超出小型原型的范围,请在构建所有变体之前询问。

判决格式

## 判决:VALIDATED | PARTIAL | INVALIDATED

问题:...
证据:精确的命令/输出/测量值。
验证成功的部分:...
失败或意外之处:...
建议:推出 / 调整 / 避免,并附上下一步生产步骤。

规则

  • 无效的 spike 同样有用,因为它用证据排除了某条路径。
  • 请勿将 spike 代码直接合并到生产环境,而应以正常方式重写。
  • 如果评估了外部依赖项,请检查其健康度:近期的发布/提交、文档、许可证、安装体验。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相关技能