spike
Run a time-boxed, throwaway Go spike to settle an empirical backend question during design or research. Use when research leaves a consequential runtime…
от Integralist★ 31 звезда на GitHub
Установить spike в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Run a throwaway Go spike to settle one empirical backend question that blocks a spec, ADR, or plan. Every spike ends with a recorded verdict and discarded spike code; never ship spike code into production or main.
Initiation gate. Start a spike only when all three hold:
- Paper hit a wall. Reading code, docs, and issues in research left an unknown that grill-with-docs cannot reason through.
- A design decision depends on it. Getting the answer wrong would force a
rewrite of
spec.md,plan.md, an ADR, or a public contract, not a local refactor inside one slice. - The question is empirical and falsifiable. You can state one specific question settled by observing real execution: pass or fail, timings, lock behavior, query plans, or caller friction.
Qualifying triggers. Backend questions that typically pass the gate:
- Runtime or external behavior: Undocumented SDK, third-party API, database locking, query planner, OS, or protocol behavior.
- Performance or concurrency bounds: Latency, allocation, throughput, or contention numbers needed to validate an approach or compare two designs.
- Caller or data shape ergonomics: Comparing two or three competing Go interfaces, API signatures, wire payloads, or SQL schemas against call sites.
- Migration or compatibility risk: Testing whether an online schema change, parser, or rollout handles production-shaped data safely.
Disqualifiers. Stop and route elsewhere when any of these apply:
- Answerable from source or docs: Stay in research.
- State-machine or invariant logic: Use STATE-MODEL.md with a disposable Python BFS check.
- Contained inside one slice: Defer to implementation and TDD in execute-plan.
- Production buildup: Writing migrations, abstractions, or unit tests under a spike label is early implementation, not a spike.
Guardrails. Write spikes in Go following
conventions-go. Put standalone spikes in a
disposable module under /tmp/spike-<slug>/ (go mod init spike). When a
spike needs repository types, isolate it on a spike/<slug> branch matching
the repo's go.mod directive; never commit spike code to main or inside
production packages or migrations/. Skip unit tests, abstractions, and
production error-handling polish. Use scratch databases or disposable local
files only—never production credentials or data.
Before writing spike code, read spike branches for branch templates and the verdict format.
- Verify the gate and state the question. Confirm all three initiation rules pass and no disqualifier applies. State the single question and the decision that depends on it; ask the user to confirm before coding when invoked from architect.
- Pick one branch. Choose Feasibility, Benchmark, or Shape check in spike branches.
- Run and observe. Write the minimum Go code needed to answer the question, run it, and capture the raw output.
- Record the verdict. Append a
Spike verdictblock to the activeprojects/<project>/research.md(ordocs/research/<yyyy-mm-dd>-<slug>.mdwhen standalone, or for--githubor an issue reference, an Issue Artifact per GITHUB-ISSUES.md; also use it when this session's active project is already tracked in GitHub Issues). Record any settled settled decision by reading and following to-adr when applicable. - Clean up and hand off. Delete spike files from the working tree (keep a
spike/<slug>branch only if the user asks to archive the primary source). Resume architect at Grill, or stop and report the verdict when run standalone.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/SPIKE-BRANCHES.md
FAQ
Что делает скилл spike?
Run a time-boxed, throwaway Go spike to settle an empirical backend question during design or research. Use when research leaves a consequential runtime, performance, concurrency, migration, or API-shape unknown that prose cannot resolve.
Как установить скилл spike?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spike запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…