agentleFS
ice-lfernandesice-lfernandes/claude-spring-architect/.claude/skills/spike/SKILL.md

spike

Skill11 starsChanged yesterdayApache-2.0View on GitHub

Opens a throwaway spike of this project in its own git worktree, beside the project directory, with every hook off there except the audit trail — no format, check, tests, compose gate or guard — so exploratory code can be written fast while the main checkout stays fully enforced and the spike's token spend still shows in /audit-usage. Explicit invocation only.

56 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use teams-meeting-pipeline, touchdesigner-mcp and 4 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.
  • 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 8 projects that use this

  • john-data-chenSkill

    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

  • Tommy-ywSkill

    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 8 projects that use this

  • mae616Skill

    p5js

    p5.js(クリエイティブコーディング)のProcessing由来「コードでスケッチ」思想を軸に、setup/drawループ・座標系・インタラクション・パフォーマンス最適化を整理する。p5.js、Processing、クリエイティブコーディング、ジェネラティブアート、インタラクティブ表現、ビジュアルプログラミング、Canvas描画、パーティクル、フラクタル、ノイズ表現に関する相談で必ず使うこと。ユーザーが「コードでアート」「動くビジュアル」「インタラクティブな描画」と言った場合にも適用する。

    Also in 8 projects that use this

  • Tommy-ywSkill

    popular-web-designs

    54 production-quality design systems extracted from real websites. Load a template to generate HTML/CSS that matches the visual identity of sites like Stripe, Linear, Vercel, Notion, Airbnb, and more. Each template includes colors, typography, components, layout rules, and ready-to-use CSS values.

    Also in 8 projects that use this

  • math-incSkill

    findmy

    Track Apple devices and AirTags via FindMy.app on macOS using AppleScript and screen capture.

    Also in 8 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 51 edited versions we read keep these.

  • 0

    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. Very specific:

    Preconditions: Run from the main checkout: git rev-parse --git-dir equals git rev-parse --git-common-dir.

    line 36
  2. Very specific:

    Not the main checkout: ❌ /spike runs from the main checkout.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 51 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

spike — a throwaway worktree where only the audit trail stays on

/spike <slug> creates ../<project>-spike-<slug> on branch spike/<slug> and reduces that worktree's .claude/settings.json to the hooks spike.keep_modes lists. The main checkout never relaxes, and this session stays enforced; the person opens claude in the worktree.

Why this is a skill (Form 2) and not an agent

Form 2 because the trigger is the person deciding to explore (axis 2) and its effect — a worktree with enforcement off — must never start on the model's own decision. It is not an agent: none of the three reasons applies, the output is two lines and the work is three commands. Not disableAllHooks in a settings.local.json, which turns the audit trail off with everything else (0198, option 2).

Contract

  • Class: ops — skill_classes.ops in @.claude/schemas/extensions.json: writes no file of this project with a tool; its effect is a sibling worktree, made by git worktree add and ArchHook.jar spike.
  • Reads the project root (git rev-parse --show-toplevel) and the argument.
  • Writes nothing inside the project. Outside it: the worktree ../<project>-spike-<slug> on branch spike/<slug>, whose .claude/settings.json ArchHook.jar spike reduces to the spike.keep_modes entries and marks skip-worktree.
  • Does not merge, commit or push the spike, nor delete it — end prints the commands. Promoting spike code is a /new-feature run in the main checkout.
  • Design: @.claude/decisions/0198-spike-worktree-with-hooks-off.md.

Procedure

  1. Preconditions. Run from the main checkout: git rev-parse --git-dir equals git rev-parse --git-common-dir; otherwise stop (failure mode 1). The argument is a slug matching [a-z0-9][a-z0-9-]*; missing → ask once with AskUserQuestion, then stop.
  2. end <slug> — print, do not run: git worktree remove ../<project>-spike-<slug> and git branch -D spike/<slug>, plus one line: the spike's spend is already in /audit-usage. Stop.
  3. Create. git worktree add ../<project>-spike-<slug> -b spike/<slug>, where <project> is the basename of the root. Exists already → failure mode 2.
  4. Relax. java -jar .claude/hooks/ArchHook.jar spike ../<project>-spike-<slug> and relay its stdout line verbatim. Non-zero → failure mode 3.
  5. Report, then stop:
    ✅ Spike <slug> — ../<project>-spike-<slug> on spike/<slug>
    Hooks ....... audit only (format, check, tests, compose gate, guard off there)
    Next ........ open `claude` in that directory; this session stays enforced
    End ......... /spike end <slug>

Failure modes

  1. Not the main checkout: ❌ /spike runs from the main checkout; this is a linked worktree. Open the project root and run it there.
  2. Worktree or branch exists: ❌ ../<project>-spike-<slug> or spike/<slug> already exists. Pick another slug, or /spike end <slug> first.
  3. spike mode refused: ❌ ArchHook spike refused: <its stderr first line>. The worktree exists with every hook on — remove it with git worktree remove ../<project>-spike-<slug>.

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.