spike-prototype
FreeNo executable scriptsNot checkedThrow-away prototype for unknown problem spaces. Output is learning notes in specs/archive/spikes/SPIKE-<name>.md, not production code. Use when the domain or…
by danielvm-git★ 298 GitHub starsAbout this skill
Spike Prototype
HARD GATE — HARD GATE — Spikes are time-boxed experiments, not shipping code. Results must be throwaway or clearly isolated. Do NOT merge a spike without a plan to integrate it or replace it with a proper implementation.
A spike is a time-boxed experiment to answer a specific question. The code is thrown away. The learning is kept in specs/archive/spikes/SPIKE-<name>.md.
The spike produces learning, not code to ship. If you find yourself cleaning up spike code for production, stop — run plan-work and develop-tdd instead with the insights you gained.
When to spike
- The technology is unfamiliar (new library, API, infrastructure)
- The approach is uncertain (multiple solutions exist; none has been tried)
- Estimates are impossible without seeing how the thing actually behaves
- A key assumption needs to be validated before committing to a design
Process
1. Define the question
Before writing a single line, state the question the spike must answer:
"Can we [specific thing] using [specific approach] within [constraint]?"
Examples:
- "Can we stream large files from S3 to the client without buffering in memory?"
- "Does the Stripe webhook SDK handle signature verification correctly in our edge runtime?"
- "Can we achieve < 100ms p99 response time for the search endpoint with a naive Postgres full-text search?"
A spike with no question is just unplanned coding. Refuse to start if the question isn't clear.
2. Set a timebox
Agree on a timebox with the user: 30 minutes, 1 hour, 2 hours. When time is up, stop — even if the question isn't fully answered. Partial learning is still learning.
3. Experiment
Write the simplest code that could answer the question. Ignore:
- Error handling
- Test coverage
- Code quality
- Production concerns
Focus entirely on answering the question.
4. Write specs/archive/spikes/SPIKE-.md
Save the learning to specs/archive/spikes/SPIKE-<name>.md. Create the specs/ directory if it doesn't exist.
Spike: [name]
Question
[The specific question this spike was answering]
Result
[Answered / Partially answered / Not answered]
Findings
[What you learned — concrete observations, not opinions]
Evidence
[Code snippet, benchmark result, API response, or screenshot that proves the finding]
Implications for the plan
[How this changes the approach, the design, or the estimate]
What was NOT explored
[Known gaps — things the spike didn't validate]
Recommendation
[Should we proceed with this approach? If yes, what does plan-work need to account for?]
5. Delete the spike code
After writing the findings, delete or discard the spike code. It is not meant to ship.
6. Feed back into plan-work
The spike findings are the input to plan-work. Call plan-work next, informed by specs/archive/spikes/SPIKE-<name>.md.
Install spike-prototype in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the spike-prototype skill do?
Throw-away prototype for unknown problem spaces. Output is learning notes in specs/archive/spikes/SPIKE-<name>.md, not production code. Use when the domain or technology is unexplored, when estimates are impossible without experimentation, or when user says "spike", "prototype", or "proof of concept".
How do I install the spike-prototype skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the spike-prototype skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This 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…
by Anthropic