Community程式設計與開發github.com

Spike(技術驗證)

快速建立可拋棄的原型,以驗證可行性、比較不同方案,並產出明確結論。

Spike(技術驗證) 是什麼?

這項技能(Spike)專門用來快速驗證某個技術想法是否可行,特別適用於「先試再決定是否投入正式開發」的情境。它會引導使用者提出具體的可行性問題,進行足夠的研究,然後建立最小可運行的原型(例如 CLI、單一端點、小型 HTML 或專注的測試),並對該原型進行邊界情況或故障模式的壓力測試。最後,它會產出標準化的判決:VALIDATED(驗證通過)、PARTIAL(部分可行)或 INVALIDATED(不可行)。即使結論是「不可行」,這項技能也能提供有價值的證據,幫助團隊避免走錯誤的方向。支援的執行環境包括 `.tmp/openclaw-spikes/<slug>` 預設工作區或專案內 `spikes/<NNN-slug>/` 路徑,並且明確避免使用 Docker、環境檔案、應用框架、生產級清理或過多的套件依賴。對於多 spike 或 A/B 比較需求,此技能會建議先拆分為 2-5 個獨立問題,找出風險最高的問題優先處理,並在輸入公平的條件下比較相同維度。

相容平台~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」、「快速原型」、「這可行嗎?」、「比較 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 比較,確保輸入條件公平,並測量相同的維度。
  • 如果工作量超過小型原型,在建立所有變體之前先請示使用者。

判決格式

## Verdict: VALIDATED | PARTIAL | INVALIDATED

Question: ...
Evidence: 確切的命令 / 輸出 / 測量結果
What worked: ...
What failed or surprised us: ...
Recommendation: 發佈 / 調整 / 避免,並附上下一個正式實作步驟。

規則

  • 即使一個 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.

相關技能