/safeword:spikefrom safeword
Runs a bounded disposable experiment to resolve a single technical uncertainty before production planning. Useful when documentation and code cannot settle a kill-risk.
Ships in safeword. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve one technical kill-risk with executable evidence. A spike is not a rough first implementation: its evidence survives, its code does not.
Run this workflow only after an explicit user request for /spike. A BDD
checkpoint offer is not invocation; wait for the user to choose it.
Use a spike only after behavior is validated, when documentation and repository code cannot settle a kill-risk, failure would change the plan, and a bounded executable proof can answer it.
Otherwise route the uncertainty before writing experimental code:
/elicit;/figure-it-out;plan-implementation.Define the experiment before writing code. Record all five fields:
If any field is missing, name the missing field and stop. Do not create a worktree, run a proof command, or spend the spike budget until the charter is complete.
Inspect the repository root, current worktrees, branch, and status. Validated
scenario and ticket-state changes must be included in one commit. If there are
uncommitted validated scenarios or ticket state, name the affected files and
stop: do not record PRE_SPIKE_BASE, and do not create a spike branch or
worktree.
Once that state is committed, record the current production commit as
PRE_SPIKE_BASE. Create a uniquely named spike/<question-slug> branch and
sibling worktree from that exact commit; never reuse an existing path or branch.
Before running the proof, verify the spike worktree is at PRE_SPIKE_BASE and
contains the exact validated scenario and ticket-state files from that commit.
Keep every experimental commit in the spike worktree. After classifying the
result, create the fresh production worktree from PRE_SPIKE_BASE. Run
plan-implementation there: create impl-plan.md, map the structured handoff,
commit the plan and ticket state, and review the plan. Only then begin production
implementation in that same worktree.
Do not merge, rebase, cherry-pick, or copy spike commits or files into the production worktree. The spike branch remains unmerged while production work begins.
Keep the spike worktree until its evidence is distilled and the implementation plan is reviewed, then remove it through the repository's normal recoverable cleanup process.
Build only enough to execute the charter's proof. If the first attempt exposes a setup defect rather than answering the question, spend at most one bounded fix round. Stop when the proof answers the question or the budget expires.
Classify the result exactly once:
Return a concise report:
## Spike result: <VALIDATED | PARTIAL | INVALIDATED>
- Question:
- Hypothesis:
- Pre-spike base:
- Proof command or walkthrough:
- Evidence:
- Constraints or wall:
- Useful shortcuts:
- Decision:
- Production consequences:
Return this structured handoff to the BDD orchestrator. Do not assume
impl-plan.md exists yet: plan-implementation creates it, maps every handoff
value to its documented destination, and never reuses experimental code.
Stop and report instead of widening scope when the budget expires, user-only
knowledge or external authority is required, the experiment grows beyond one
kill-risk slice, or the result changes validated behavior. Route those cases to
/elicit or back to BDD scenario validation as appropriate.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
spike, experiment, technical-uncertainty, kill-risk, bounded-experiment
npx claudepluginhub arcadeai/safeword --plugin safeword24 skills in this plugin
/auditRun a diff-scoped code audit for architecture, dead code, and test quality. Uses the change from main to focus feature reviews; request a repository audit for whole-codebase discovery./bddBehavior-first feature development — use when building new capabilities, continuing feature work, or when work introduces new state or multiple user flows. Discovers desired behavior through examples and scenarios before implementation. Do NOT use for bug fixes, typos, or small isolated changes./brainstormUse when the user wants to explore options, weigh approaches, or think through uncertainty before committing to a direction. Collaborative brainstorming and rubber ducking — divergence-first thinking partner./cleanup-zombiesKill zombie dev servers and test processes. Use when ports are blocked, processes are hanging, or test runners won't start./closeoutClose a completed local delivery safely. Use when wrapping up a finished coding session by verifying it, merging only with explicit authority, capturing retrospective learning, and cleaning the exact merged branch and worktree. Do NOT use for cloud-agent tasks, unmerged work, or cleanup without a pull request./debugRoot cause debugging before fixes. Use when investigating bugs, diagnosing test failures, troubleshooting unexpected behavior, or when previous fix attempts failed. Enforces investigate-first discipline.Other plugins' skills for the same job