spike
Use before planning a risky change - a throwaway feasibility experiment that answers "is this even possible?" cheaply and ends in a VALIDATED / PARTIAL / INVALIDATED verdict
How do I install this agent skill?
npx skills add https://github.com/strelov1/spec-driven-tdd --skill spikeIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill facilitates 'spikes'—quick feasibility experiments to test risky technical ideas in a disposable way. It focuses on writing minimal code in scratch locations to answer specific technical questions. No security risks were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
spike
A disposable feasibility experiment. When a change carries unproven technical risk — an untested approach, an external API, an open "is this possible?" — spike it before writing any OpenSpec artifacts. The point is to answer the risky question for the price of a script, so an unviable idea is killed cheaply.
Core principle: the code is throwaway. A spike that needs cleanup was over-built. Only the verdict survives.
When to use
Risk-gated, not mandatory. Spike only when feasibility is genuinely unclear. If the approach is obviously viable, skip straight to planning. Research enough to pick an approach, then spike the riskiest unknown first — there is no point prototyping the easy parts if the hard part does not work.
Process
- Decompose — frame 2–5 concrete feasibility questions (Given/When/Then), ordered by risk. The most dangerous unknown goes first.
- Align — show the questions and the plan; let the user trim before you write code.
- Build minimal — write the smallest runnable thing in a scratch location
(
/tmp, a REPL, a one-offcurl) — never inside the change's worktree. Hardcode everything. No packaging, Docker, config, or build tooling. It is a spike. - Observe — run it and capture the real output. A spike with no observable result proved nothing.
- Verdict — close with exactly one, plus a sentence of why:
- VALIDATED — the approach works; proceed to plan the change.
- PARTIAL — only a subset works; narrow scope to that subset, then plan.
- INVALIDATED — the approach does not work; do not create the change.
After the spike
Discard the scratch code. Hand the verdict back to the caller — in the
spec-driven-tdd Plan phase it gates whether /opsx:propose runs at all.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/strelov1/spec-driven-tdd/spike">View spike on skillZs</a>