agentleFS
ForeverAProgrammerForeverAProgrammer/claude-devflow/skills/spike/SKILL.md

spike

Skill0 starsChanged 9 months agoMITView on GitHub

Validate the single highest-risk low-level technical assumption in a design by writing and running a minimal isolated test script, then resolving the corresponding [PENDING SPIKE VALIDATION] tag in the LLD/HLD. Use before locking in low-level design when a key assumption is unproven.

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use competitor-news-monitor, document-to-action-items and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • aivrarSkill

    competitor-news-monitor

    Watch named companies for material news; cited digests.

    Also in 5 projects that use this

  • aivrarSkill

    document-to-action-items

    Extract cited obligations, deadlines, tasks from documents.

    Also in 5 projects that use this

  • john-data-chenSkill

    teams-meeting-pipeline

    Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.

    Also in 7 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 5 projects that use this

  • kevinnftSkill

    python-debugpy

    Debug Python: pdb REPL + debugpy remote (DAP).

    Also in 7 projects that use this

  • braxtonROSE4Skill

    songwriting-and-ai-music

    Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.

    Also in 7 projects that use this

  • +4 more from aivrar
  • +1 more from kevinnft

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If $ARGUMENTS is empty and no HLD/LLD path can be inferred from this conversation, ask the user to provide a description or a design doc …

    line 16
  2. Distinctive:

    If a freeform description was given, use it directly.

    line 21
  3. Very specific:

    If --lld <path> or --hld <path> was given, read the file at <path> (stop and tell the user if it does not exist) and scan it for [PENDING …

    line 22
  4. Distinctive:

    Test exactly one assumption per run — do not bundle multiple unknowns into a single spike.

    line 48
  5. Very specific:

    Do not touch any file outside spikes/ and the single [PENDING SPIKE VALIDATION] tag being resolved.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 28 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Validate the single highest-risk low-level technical assumption before locking in low-level design.

$ARGUMENTS may be:

  • A freeform description of the assumption to validate, or
  • --lld <path> to scan a referenced LLD's [PENDING SPIKE VALIDATION] tags and pick the highest-risk one automatically, or
  • --hld <path> to do the same directly against an HLD — use this when the risky assumption was flagged (e.g. via /add-spike) before any LLD exists yet, or
  • Nothing at all — infer the doc from this conversation (see step 1) if one is clearly in context.

If $ARGUMENTS is empty and no HLD/LLD path can be inferred from this conversation, ask the user to provide a description or a design doc path and stop.

Steps:

  1. Identify the single highest-risk or lowest-level unvalidated assumption to test:
    • If a freeform description was given, use it directly.
    • If --lld <path> or --hld <path> was given, read the file at <path> (stop and tell the user if it does not exist) and scan it for [PENDING SPIKE VALIDATION] tags.
    • If $ARGUMENTS is empty (no description, no --hld/--lld flag), look back through this conversation for HLD/LLD paths already established (created via /hld//lld, or referenced by an earlier /spike, /add-spike, /resolve-open-questions, /implement-lld, or /reconcile call in this session). If exactly one design doc with an outstanding [PENDING SPIKE VALIDATION] tag is found, confirm it with the user before proceeding. If more than one is found (e.g. both a linked HLD and LLD each have a pending tag), list them and ask which to use. If none is found, ask the user for a description or path and stop.
    • Once a doc is being scanned (via --lld/--hld or inferred), if it contains multiple [PENDING SPIKE VALIDATION] tags, pick the one that gates the most other work or carries the most technical risk, and tell the user which one you picked and why.
  2. Derive a slug from the assumption (lowercase, hyphenated, ~5 words).
  3. Create a spikes/ directory in the current working directory if it does not already exist. Write a minimal, isolated test script to spikes/<slug>.<ext>, choosing <ext> to match the language conventions already used in this codebase. The script should test only the one assumption identified in step 1 — no surrounding feature code, no unrelated setup.
  4. Execute the script and capture stdout, stderr, and exit code.
  5. Summarize the findings for the user: what was tested, what happened, and any constraints or behavior discovered that the design needs to account for.
  6. If a design doc was targeted — via --lld <path>, --hld <path>, or inferred from this conversation — resolve the corresponding [PENDING SPIKE VALIDATION] tag in that file (and its linked doc — LLD → linked HLD via its **HLD:** link, or HLD → any linked LLD — if the same tag text also appears there):
    • Replace it with [VALIDATED] if the assumption held, or [REVISED: <what changed>] if reality differs from what was assumed.
    • Backlink it to the script, e.g.:

      [VALIDATED] _(validated by spikes/token-refresh-race.js)_
    • If a ## Requirements row (in this doc or a cascaded one) is annotated _(Needs Spike — ...)_ specifically because of the tag just resolved, clear that annotation — the row becomes a plain row again, still unchecked, ready for /implement-lld unless something else blocks it. Do not touch or check off the row's checkbox itself, and do not touch any row whose Needs Spike reason points to a different, still-unresolved tag — resolving checkboxes is /reconcile's and /implement-lld's job, not this skill's.
  7. Report the script path, execution result, and (if applicable) which tag was resolved and how.

Rules:

  • Test exactly one assumption per run — do not bundle multiple unknowns into a single spike.
  • The script must be runnable as-is; do not leave placeholder credentials or unresolved TODOs in it.
  • Do not touch any file outside spikes/ and the single [PENDING SPIKE VALIDATION] tag being resolved.

$ARGUMENTS

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.