add-spike
Skill0 starsChanged 9 months agoMITView on GitHub
Flag an existing HLD or LLD requirement (or add a new one) as needing spike validation before it can be trusted or implemented — inserts a [PENDING SPIKE VALIDATION] tag into the relevant design section and marks the requirement row Needs Spike, cascading the flag to linked docs. Use when a requirement looks simple but actually rests on an unproven technical assumption.
In this repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- action-itemsSkill
- changelogSkill
- commitSkill
- create-branchSkill
- create-issue-branch-githubSkill
- create-issue-githubSkill
- create-mr-gitlab-gitSkill
- create-pr-github-gitSkill
- create-pr-githubSkill
- decisionSkill
- emailSkill
- fix-issue-github-autoSkill
- fix-issue-githubSkill
- hldSkill
- implement-lldSkill
- jira-ticket-gitSkill
- jira-ticketSkill
- lldSkill
- prSkill
- reconcileSkill
- resolve-conflictsSkill
- resolve-open-questionsSkill
- reviewSkill
- spikeSkill
- standup-gitSkill
- standupSkill
- syncSkill
- tag-release-ansibleSkill
- tag-release-npmSkill
- tag-releaseSkill
- tldrSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
If a path is present in $ARGUMENTS, use it.
- Very specific: line 15
Check that the file at <path> exists.
- Very specific: line 18
If the remaining text starts with an existing REQ-* ID found in the doc's ## Requirements section, that row is the target.
- Very specific: line 21
Check the doc's Mode:. [PENDING SPIKE VALIDATION] tags are a Living-mode concept:
- Very specific: line 35
If the row already carries a different annotation (Needs Review, Blocked, etc.), don't silently overwrite it — tell the user both apply and …
- Distinctive: line 48
Never remove or reword the requirement's original ask — only mark it provisional.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flag a requirement as resting on an unvalidated technical assumption, so it can't be quietly implemented or marked done until a spike confirms it.
$ARGUMENTS is the path to an HLD or LLD file, followed by either an existing REQ-* ID (optionally with a reason) or a freeform description of a new requirement to add already flagged. The path may be omitted if it's already clear from this conversation — see step 1. The REQ-ID or description is always required; if $ARGUMENTS has neither a path nor that, ask the user to provide it and stop.
Steps:
- Determine
<path>:- If a path is present in $ARGUMENTS, use it.
- If not, look back through this conversation for an HLD or LLD path already established (created via
/hld//lld, or referenced by an earlier/spike,/add-spike,/resolve-open-questions,/implement-lld, or/reconcilecall in this session). If exactly one is found, confirm it with the user before proceeding rather than silently assuming. If more than one is found, list them and ask which to use. If none is found, ask the user to provide a path and stop. - Check that the file at
<path>exists. If it does not, tell the user and stop.
- Determine the target requirement:
- If the remaining text starts with an existing
REQ-*ID found in the doc's## Requirementssection, that row is the target; anything after the ID is the reason/description of what's uncertain about it. - Otherwise, treat the remaining text as a freeform description of a new requirement to add — flagged from the moment it's created. Assign it the next sequential ID (
REQ-Nfor an HLD;REQ-N.xreferencing a parent HLD requirement if this is an LLD and one is implied).
- If the remaining text starts with an existing
- Check the doc's
**Mode:**.[PENDING SPIKE VALIDATION]tags are a Living-mode concept:- If
Strict, stop and tell the user the doc needs to be switched to Living mode first (e.g. re-run/hld --mode living <path> ...or/lld --mode living <path> ...) — don't silently flip the mode as a side effect of this skill. - If
Living, proceed.
- If
- Insert a
[PENDING SPIKE VALIDATION]: <specific technical assumption>tag inline in the section it actually concerns —## Proposed Designfor an HLD;## API / Interface Designor## Data Modelsfor an LLD, whichever the risky assumption is actually about. State the assumption specifically, grounded in the requirement text and any reason given — never generic filler like "needs testing." Annotate the Requirements row (existing or newly added) — never rewrite or remove the requirement's original statement, only add or update the parenthetical:
- [ ] **REQ-4** — Server sustains 10,000 concurrent WebSocket connections without dropping messages. _(Needs Spike — concurrency ceiling unvalidated, flagged <date>)_If the row is currently
- [x](already checked off), uncheck it back to- [ ]as part of this same edit — a row can't simultaneously be "done" and "resting on an unvalidated assumption." This is the expected case when a previously-shipped requirement turns out to rest on something nobody actually verified; the checkbox coming back to- [ ]is what keeps/implement-lldand/reconcilefrom silently treating it as still settled.If the row already carries a different annotation (
Needs Review,Blocked, etc.), don't silently overwrite it — tell the user both apply and ask which should take precedence in the parenthetical, or whether both should be noted.If the target doc is an HLD, cascade downward: scan for any linked LLDs (via a
**HLD:**link in their Overview, orREQ-N.xsub-IDs matching this doc'sREQ-N). For each existing LLD row referencing the flaggedREQ-N, mark it_(Needs Spike — parent REQ-N flagged for spike <date>)_too — touch only the annotation, never the row's design content, but apply the same uncheck-if-checked rule to these cascaded rows as well.If the target doc is an LLD, there's nothing to cascade further down to. No upward cascade to the HLD happens either — the parent HLD row is left as-is, but it structurally can't roll up to checked while this sub-requirement stays unchecked (see
/implement-lldand/reconcile's rollup rule).- Stamp
**Last Amended:** <date>on every doc touched. - Report: which row was flagged (or newly added), where the
[PENDING SPIKE VALIDATION]tag was inserted, any cascaded LLD rows, and the suggested next step — run/spike --hld <path>or/spike --lld <path>to actually validate the assumption.
Rules:
- Be specific about the technical assumption in the inserted tag — never generic filler.
- Never remove or reword the requirement's original ask — only mark it provisional.
- Touch only the one Requirements row (or new row) and the single inserted
[PENDING SPIKE VALIDATION]tag — this is a targeted flag, not a redesign. - A row marked
Needs Spikeis excluded from/implement-lld's scope and from/reconcile's checkoff, exactly likeNeeds Review— it stays that way until/spikeresolves the tag and a human clears the annotation.
$ARGUMENTS
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

