Spike
A short, disposable technical experiment from Extreme Programming used to answer a technical question or reduce uncertainty before formal development. It deliberately does not aim for mergeable code quality, only to verify whether a target path works; the code is discarded on failure.
Timeline (last 90 days)
Spike (technical probe) originates from the Extreme Programming practice and is a time-boxed, learning-oriented, short-cycle technical investigation whose output is usually not deliverable code but knowledge about feasibility and implementation approaches.
In AI projects, key constraints such as model capability, API latency, context window limits, and cost structure usually can only be confirmed after running a round of real data, which makes the value of spikes especially prominent.
It is recommended to keep a spike to a few hours to a day or two, clarify the list of questions to be answered, and accept that its code may be discarded, in order to reduce uncertainty in subsequent decisions.
When building LLM-based Agent applications, first validating core feasibility through a spike, then comparing approaches through experiments, and finally using visualization to aid decisions can significantly reduce development risk; handing the building phase to an Agent can improve efficiency.
The starting points of the two runs must be completely identical and mutually non-interfering, and using git worktree can turn this discipline from a verbal promise into a mechanical guarantee.
The term Spike comes from Extreme Programming, originally referring to using a short, disposable experiment to answer a technical question or reduce uncertainty before formal development.
In the spike script, 'timeout' measures wall-clock time, so a run stuck on a prompt cannot borrow time from the next run.
A Spike deliberately does not pursue mergeable code quality, only the single piece of information of "whether it can work"; a prototype, by contrast, is written to evolve into a product. The practical criterion for distinguishing the two is: if you would delete the code after the exploration fails, then it is a Spike.
In the two-run spike protocol, the kill criteria should be checked by a script, because the person running the spike is precisely the one most motivated to keep it alive.
In the spike protocol, the two runs should share the same 90-minute clock, and neither run gets a private 90 minutes.
All Facts (11)
When building LLM-based Agent applications, first validating core feasibility through a spike, then comparing approaches through experiments, and finally using visualization to aid decisions can significantly reduce development risk; handing the building phase to an Agent can improve efficiency.
50%UnverifiedSpike (technical probe) originates from the Extreme Programming practice and is a time-boxed, learning-oriented, short-cycle technical investigation whose output is usually not deliverable code but knowledge about feasibility and implementation approaches.
50%UnverifiedIn AI projects, key constraints such as model capability, API latency, context window limits, and cost structure usually can only be confirmed after running a round of real data, which makes the value of spikes especially prominent.
50%UnverifiedIt is recommended to keep a spike to a few hours to a day or two, clarify the list of questions to be answered, and accept that its code may be discarded, in order to reduce uncertainty in subsequent decisions.
50%UnverifiedIn the spike protocol, the two runs should share the same 90-minute clock, and neither run gets a private 90 minutes.
50%UnverifiedIn the spike script, 'timeout' measures wall-clock time, so a run stuck on a prompt cannot borrow time from the next run.
50%UnverifiedThe starting points of the two runs must be completely identical and mutually non-interfering, and using git worktree can turn this discipline from a verbal promise into a mechanical guarantee.
50%UnverifiedThe term Spike comes from Extreme Programming, originally referring to using a short, disposable experiment to answer a technical question or reduce uncertainty before formal development.
50%UnverifiedA Spike deliberately does not pursue mergeable code quality, only the single piece of information of "whether it can work"; a prototype, by contrast, is written to evolve into a product. The practical criterion for distinguishing the two is: if you would delete the code after the exploration fails, then it is a Spike.
50%UnverifiedIn the two-run spike protocol, the kill criteria should be checked by a script, because the person running the spike is precisely the one most motivated to keep it alive.
50%UnverifiedSpike 是敏捷开发中在正式开发前用最小成本验证技术可行性的短期实验
50%