spike
Skill3 starsChanged 31 days agoMITView on GitHub
Build a small throwaway artifact that answers exactly one open design question, then move it off the working branch onto an unmerged spike branch. Two routes inside the skill, a runnable terminal program for state, logic, or data-shape questions, and a side-by-side view comparison for presentation questions. Use when the user says "spike this", "build a quick throwaway", "let me play with the model", "try a few visual directions", or wants to de-risk a design choice before committing to it. For production features, use `/plan`; for refactoring an existing module, use `/refactor`; for a single polished design pass, use `/design`.
54 other projects use a version of this.
Adopted by
Most recently taken up by
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- ice-lfernandes/claude-spring-architecttheir own version, first seen Nov 8, 2026
- venhdev/skillstheir own version, first seen Nov 8, 2026
- nerviz-ai/nerviztheir own version, first seen Nov 8, 2026
- nearmap/shipyardtheir own version, first seen Nov 8, 2026
- delorenj/skillstheir own version, first seen Nov 7, 2026
Used with
Projects with it also use competitor-news-monitor, blocked-page-recovery and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
aivrarSkillcompetitor-news-monitor
Watch named companies for material news; cited digests.
Also in 6 projects that use this
aivrarSkillblocked-page-recovery
Recover blocked/paywalled/WAF'd pages via fallbacks.
Also in 6 projects that use this
john-data-chenSkillteams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
Also in 8 projects that use this
john-data-chenSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 5 projects that use this
Tommy-ywSkillsongwriting-and-ai-music
Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.
Also in 8 projects that use this
mae616Skillp5js
p5.js(クリエイティブコーディング)のProcessing由来「コードでスケッチ」思想を軸に、setup/drawループ・座標系・インタラクション・パフォーマンス最適化を整理する。p5.js、Processing、クリエイティブコーディング、ジェネラティブアート、インタラクティブ表現、ビジュアルプログラミング、Canvas描画、パーティクル、フラクタル、ノイズ表現に関する相談で必ず使うこと。ユーザーが「コードでアート」「動くビジュアル」「インタラクティブな描画」と言った場合にも適用する。
Also in 8 projects that use this
- +4 more from aivrar
Other versions54 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 54
- moltbot/clawdbot★ 394ksame name
- steipete/warelay★ 394ksame name
- steipete/clawdis★ 394ksame name
- moltbot/moltbot★ 394ksame name
- clawdbot/clawdbot★ 394ksame name
- openclaw/openclaw★ 394ksame name
- molt-bot/clawdbot★ 391ksame name
- NousResearch/hermes-agent★ 262ksame name
- OpenBMB/PilotDeck★ 5ksame name
- friuns2/openclaw-android-assistant★ 573same name
44 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- asideSkill
- assessmentSkill
- auditSkill
- benchmarkSkill
- brainSkill
- checkpointSkill
- cleanupSkill
- concise-modeSkill
- cross-modelSkill
- deploySkill
- designSkill
- explainSkill
- fix-issueSkill
- ganSkill
- guardSkill
- hotfixSkill
- incidentSkill
- infraSkill
- interview-meSkill
- investigateSkill
- migrateSkill
- module-auditSkill
- morningSkill
- onboardSkill
- planSkill
- profileSkill
- pr-summarySkill
- readmeSkill
- refactorSkill
- researchSkill
- resolveSkill
- respondSkill
- retroSkill
- reviewSkill
- session-logSkill
- setupSkill
- shipSkill
- skill-newSkill
- tddSkill
- testSkill
- zoom-outSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Read the user prompt and the surrounding code, then pick.
- Very specific: line 27
View route: Use when the open question is about presentation, layout, or visual style.
- Distinctive: line 29
If the route is genuinely ambiguous and the user is not reachable, pick the route that matches the surrounding code, backend code chooses …
- Distinctive: line 34
One-command run: Use the project package manager.
- Distinctive: line 36
No polish: No tests, no abstractions, no error handling beyond what the spike needs to remain runnable.
- Distinctive: line 37
Surface state on every step: After each user action on the state route, or each variant switch on the view route, print or render the full …
- Distinctive: line 59
Stop and split the spike when its banner names more than one question.
- Distinctive: line 60
Stop and ask the user when the spike starts to need persistence, authentication, or error handling the question does not call for.
- Distinctive: line 61
Stop and pick more divergent directions when the user cannot tell the variants apart at a glance.
- Distinctive: line 62
Stop and stage file by file when git status shows unrelated uncommitted work next to the spike files.
- Distinctive: line 63
Stop and finish rule 6 when a verdict is recorded and git status on the working branch still lists spike files.
- Very specific: line 72
If the verdict is hard to reverse, call the Skill tool with plan and the arguments adr new <title>, and link the ADR from the verdict …
“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overview
A spike is throwaway code whose only purpose is to answer one question. The question chooses the shape.
When to Use
- The user says "spike this", "build a quick throwaway", "let me play with the model", or "try a few visual directions".
- A design choice is cheaper to settle by running something than by arguing it on paper: a state model with awkward cases, or a screen whose layout is undecided.
/interview-mereaches a question that talk cannot settle and routes it here.
For production features, use /plan; for restructuring an existing module, use /refactor; for a single polished design pass, use /design.
Process
Pick a route
Read the user prompt and the surrounding code, then pick.
- State route. Use when the open question is about a state machine, a data shape, a workflow, or business rules that are hard to reason about on paper. Load
STATE-BRANCH.md. Build a tiny interactive terminal program that drives the state through hard cases and prints the full state after each step. The logic lives in a pure module the terminal shell calls, so the validated version lifts into production. - View route. Use when the open question is about presentation, layout, or visual style. Load
VIEW-BRANCH.md. Generate several radically different variations inside an existing page, against its real data, switchable via a query string and a small dev-only selector.
If the route is genuinely ambiguous and the user is not reachable, pick the route that matches the surrounding code, backend code chooses state, page code chooses view, and write the assumption into the startup banner.
Rules for every spike
- Throwaway from minute one, marked as such. Place the spike next to the module or page it informs so context is obvious. Prefix the directory or filename with
spike-per project convention. Make the entry point print a banner as its first output, or render it at the top of the view, from a string constant rather than a source comment, since comments are banned perrules/code-style.md:SPIKE: <question being answered>. Kept on spike/<slug> after the verdict. - One-command run. Use the project package manager. The user must launch it without thinking.
- State lives in memory. Skip persistence unless persistence is the question. When persistence is the question, hit a scratch database or local file whose name announces it is disposable.
- No polish. No tests, no abstractions, no error handling beyond what the spike needs to remain runnable. Speed of learning over elegance.
- Surface state on every step. After each user action on the state route, or each variant switch on the view route, print or render the full relevant state.
Capture the verdict, keep the evidence, clear the working branch. Once the question is answered, record the verdict and the question it settled where the work continues: a commit message, an ADR, or the implementation issue. Then move the spike off the working branch onto its own branch, which is never merged:
git switch -c spike/<slug> git add <spike files and hunks only> git commit -m "chore(spike): <question>" git switch -Stage only what the spike added or changed, never unrelated uncommitted work. Switching back removes the spike from the working tree; confirm with
git status. Point atspike/<slug>from the verdict so the next reader can re-run the evidence. A spike that stays on the working branch past its verdict has stopped being a spike.
Common Rationalizations
- "Adding tests now makes the spike reusable": the spike is the test. Tests land when the validated
model.<ext>or the winning variant is rebuilt in the real code. - "One spike can settle two questions at once": each question needs its own banner and its own verdict. A spike answering two questions produces a verdict nobody can attribute.
- "Three variants that differ in color are enough":
VIEW-BRANCH.mdrequires variants that differ in hierarchy, interaction, or layout. Pick more divergent directions. - "Mock data is quicker than wiring the page": the real data carries the density and edge cases the question is about. Read the page's data.
- "Leaving the spike on the working branch keeps it handy":
spike/<slug>keeps it just as handy and keeps it out of the next commit.
Red Flags
- Stop and split the spike when its banner names more than one question.
- Stop and ask the user when the spike starts to need persistence, authentication, or error handling the question does not call for.
- Stop and pick more divergent directions when the user cannot tell the variants apart at a glance.
- Stop and stage file by file when
git statusshows unrelated uncommitted work next to the spike files. - Stop and finish rule 6 when a verdict is recorded and
git statuson the working branch still lists spike files.
Verification
- Spike launches with one command.
- Banner names the open question.
- State or chosen variant is visible after every step.
- A verdict is captured before the spike leaves the working branch.
- The
spike/<slug>branch holds the spike, andgit statuson the working branch shows none of its files. - If the verdict is hard to reverse, call the Skill tool with
planand the argumentsadr new <title>, and link the ADR from the verdict capture.
Related skills
/planplan the real implementation once the answer is known./plan adr newrecord a hard-to-reverse decision./designfor a single curated design pass that is not throwaway.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

