spike

Build throwaway prototypes to validate technical feasibility before committing to a real build.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/CHENHUI-X/toolbox --skill spike-chenhui-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spike
Source: https://github.com/CHENHUI-X/toolbox/tree/main/official-skills/software-development/spike
Command: npx skills add https://github.com/CHENHUI-X/toolbox --skill spike-chenhui-x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Committing to a full build before knowing whether an idea is technically feasible wastes time and money. This Skill structures quick, disposable experiments that answer feasibility questions with real evidence instead of guesswork. ## Core Features & Use Cases - Structured Spike Loop: Decompose an idea into 2-5 risk-ordered feasibility questions, research competing approaches, build minimal prototypes, and record a VALIDATED, PARTIAL, or INVALIDATED verdict per spike. - Comparison Spikes: Run parallel variants (e.g., pdfjs vs camelot for PDF parsing) and produce a head-to-head comparison table with a clear winner recommendation. - Frontier Mode: Analyze existing spikes to surface integration risks, unproven data handoffs, and gaps, then propose the next experiments. - Use Case: Before building a real-time chat feature, spike whether websocket streaming delivers LLM tokens to the client in under 100ms, then throw the prototype away and start the real build with confidence. ## Quick Start Ask the agent to spike whether your idea is feasible, for example: "Spike whether I can stream LLM tokens over websockets to the browser with low latency before I commit to this architecture."

Frequently Asked Questions about spike

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a technical idea before building it?

Run a spike: decompose the idea into 2-5 feasibility questions framed as Given/When/Then, order them by risk, build a minimal throwaway prototype for each, and record a verdict. The spike answers whether the approach works before you invest in production code.

What is a spike in software development?

A spike is a disposable experiment that answers a specific feasibility question with observable evidence. It follows a decompose, research, build, verdict loop and ends with a VALIDATED, PARTIAL, or INVALIDATED result, after which the code is thrown away.

How do I compare two libraries or approaches for the same problem?

Build comparison spikes with a shared number and letter suffixes, such as 002a and 002b, testing each approach against the same question. Finish with a head-to-head table covering quality, setup complexity, and performance, then declare a winner for your use case.

When should I not use a spike?

Skip spiking when the answer is knowable from documentation or reading existing code, when the work is on the production path and needs real planning, or when the idea is already validated. Spikes exist only for questions research cannot answer.

What makes a good spike prototype?

A good spike produces observable output the user can interact with, such as a runnable CLI, a minimal HTML page, or a single-endpoint server. Hardcode configuration, avoid build tools and Docker, and test edge cases rather than declaring success after one happy-path run.