AGENT SKILL

spike

Throwaway experiments to validate an idea before build.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
spike
author
Hermes Agent (adapted from gsd-build/get-shit-done), ported for CrusorAI
license
MIT
version
1.1.0
metadata
{ "hermes": { "tags": [ "spike", "prototype", "experiment", "feasibility", "throwaway", "exploration", "research", "planning", "mvp", "proof-of-concept" ], "related_skills": [ "grill-me", "subagent-driven-development" ] } }
platforms
[ "linux", "macos", "windows" ]
description
Throwaway experiments to validate an idea before build.

03 SKILL.md 正文

Triggers: spike, prototype, proof of concept, poc, feasibility, is this possible, is this even possible, quick experiment, try an idea, compare approaches, validate an idea

Spike

Use when the user wants to feel out an idea before committing to a real build — validating feasibility, comparing approaches, or surfacing unknowns. Spikes are disposable by design. Throw them away once they've paid their debt.

Load when the user says "let me try this", "I want to see if X works", "spike this out", "before I commit to Y", "quick prototype of Z", "is this even possible?", "compare A vs B".

When NOT to use

  • The answer is knowable from docs or reading code — do research, don't build
  • The work is the production path — plan and TDD instead
  • The idea is already validated — jump straight to implementation

Core method

decompose → research → build → verdict
    ↑__________iterate___________↓

1. Decompose

Break the idea into 2–5 independent feasibility questions. One question = one spike. Present as a table:

# Spike Validates (Given/When/Then) Risk
001 websocket-streaming Given a WS connection, when the model streams tokens, then chunks arrive < 100ms High
002a pdf-parse-pdfjs Given a multi-page PDF, when parsed with pdfjs, then structured text is extractable Medium
002b pdf-parse-camelot Same question, competing approach (comparison spike) Medium

Good spike questions: specific feasibility with observable output. Bad: too broad, no observable output, "read the docs about X". Order by risk — the spike most likely to kill the idea runs first.

2. Align

Show the table. Ask: "Build all in this order, or adjust?" Let the user drop/reorder before code. Skip only if the user already specified exactly what to spike.

3. Research (per spike, before building)

Brief it (2–3 sentences), surface competing approaches if there's real choice, pick one and say why. Use web_search + read_file for docs; run_terminal("pip show <pkg>") to check what's installed.

4. Build

One standalone directory per spike, in the workspace:

spikes/
├── 001-websocket-streaming/   (README.md + main.py)
├── 002a-pdf-parse-pdfjs/      (README.md + parse.js)
└── 002b-pdf-parse-camelot/    (README.md + parse.py)

Bias toward something the user can interact with: a runnable CLI > a minimal HTML page > a one-endpoint server > a test with recognizable assertions. Hardcode everything — no build tools, Docker, env files, config systems.

Depth over speed. Never declare "it works" after one happy-path run. Test edge cases; follow surprising findings.

5. Verdict

Report per spike: PROMISING / NOT PROMISING / INCONCLUSIVE, evidence (numbers, timings, failure modes), and a recommendation ("websocket streaming holds at p95 40ms — proceed to build; camelot failed on scanned PDFs — drop 002b"). Then ASK: keep iterating, or throw the spikes away and start the real build (with TDD)?

Invariants

  • Spikes live under spikes/ and are never wired into production code.
  • Never claim a spike proves more than it measured.
  • Throwaway means throwaway: no commits of spike code without the user asking.

04 同仓库更多 Skills

SriAkhilSJ
SriAkhilSJ/PulseAIRepo

interaction-patterns-architect

Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-system-ops-architect

Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-handoff-architect

Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

content-microcopy-architect

Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

ui-ux-implementation-architect

Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

test-strategy-architect

Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.

★ 0