spike-runner
Skill1 starsChanged 30 days agoMITView on GitHub
Execute isolated de-risking spikes for uncertain third-party APIs, novel crate integrations, or unknown performance boundaries. Use when a task has high uncertainty, when HTN decomposition flags an ambiguity, or when a minimal prototype must pass with exit code 0 before transitioning to a vertical event slice. Triggers: "spike", "uncertainty", "prototype", "de-risk", "unknown API".
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codacy-analysis-cliSkill
- codacy-cloud-cliSkill
- codacy-code-reviewSkill
- configure-codacy-cloudSkill
- configure-codacySkill
- crates-io-name-checkSkill
- event-modelerSkill
- fail-closed-proxySkill
- harnessSkill
- htn-plannerSkill
- issue-to-prSkill
- move-only-decompositionSkill
- nested-build-isolationSkill
- npm-github-publishSkill
- pr-triageSkill
- setup-coverageSkill
- skill-creatorSkill
- skill-distillerSkill
- tokio-performanceSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Write the minimal prototype: the single uncertain thing, and nothing else.
- Distinctive: line 37
Run computational verification against the prototype:
- Distinctive: line 59
Remove ephemeral files and scratch code once findings are recorded.
- Distinctive: line 60
Do not let spike code leak into production slices.
- Very specific: line 64
Update the parent task's state in plans/tasks.json or libSQL.
- Distinctive: line 68
If the spike fails 3 consecutive times, halt and record the error signature (fail-fast policy).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Guides
See references/heuristics.md for distilled heuristics.
Spike Runner Skill
Purpose
Isolate and resolve uncertainty before committing to a vertical slice. A spike is a throwaway experiment that produces knowledge, not production code.
When to Spike
- Third-party API or crate integration is uncertain.
- Performance boundaries are unknown.
- A novel pattern (async, serde, libSQL) needs validation.
- HTN planning flags
Requires Uncertainty Spike?.
Execution Steps
1. Create Spike
- Generate an isolated scratchpad in
tests/spikes/(or a temporary branch). - Write the minimal prototype: the single uncertain thing, and nothing else.
- Record the spike's hypothesis before writing code.
2. Execute Spike
- Run computational verification against the prototype:
cargo check cargo test - Success = exit code 0. The prototype must compile and run; no LLM self-assessment.
3. Record Findings
- Record the verified fix as a trace:
do-harness trace add --session <spike> --command "<probe command>" \ --error-diff "<failure output>" --resolution-steps "<what worked and the error signatures>" - Distill the heuristic into the relevant skill, citing that trace id:
Both steps need evidence:do-harness distill --skill <skill> --from-trace <id> \ --pattern "<one-line pattern>" --description "<when it applies>"trace addmust carry--resolution-steps, anddistillalso requires an ok sensor beat (do-harness verify --record).
4. Clean Spike
- Remove ephemeral files and scratch code once findings are recorded.
- Do not let spike code leak into production slices.
5. Transition to Slice
- Invoke the
Vertical Event Slicemethod (see.agents/skills/htn-planner) with the resolved approach. - Update the parent task's state in
plans/tasks.jsonor libSQL.
Gotchas
- A spike is not a partial implementation — never advance production code through a spike.
- If the spike fails 3 consecutive times, halt and record the error signature (fail-fast policy).
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.

