Structured spec writer that creates, amends, or backpropagates bugs into SPEC.md at the repo root.

CCM score
66 of 100
skills.sh installs
2.7K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers four modes: NEW (idea to spec), DISTILL (existing code to spec), BACKPROP (bug to §B and §V), and AMEND (targeted section edits)
  • Routes ingestion of handoff blocks from grill, research, review, and deepen into the correct sections, showing a diff before writing
  • Enforces monotonic numbering for §V and §B entries and a rule that every recorded bug gets a §B row
  • Designed for projects that keep a single caveman-encoded SPEC.md, following FORMAT.md for pipe-table shapes of §T and §B

Install

$ npx -y skills add juliusbrussee/cavekit --skill spec -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

spec — spec mutator

Read FORMAT.md at repo root if not already loaded. Caveman skill applies to all writes here.

DISPATCH

Inspect user request and project state:

  1. No SPEC.md at repo root AND args describe idea → NEW
  2. No SPEC.md AND from-code in args → DISTILL
  3. SPEC.md exists AND args start bug: → BACKPROP
  4. SPEC.md exists AND args start amend → AMEND
  5. SPEC.md exists, no args → ask user which mode

INPUTS — spec is the sole mutator

The other verbs produce material; spec writes it. Ingest their handoff blocks into the right section, show a diff, write on OK:

  • grill → sharpened §G + §C
  • research → §R rows (add the §R section if absent)
  • review → drafted §V lines + the risk verdict
  • deepen → §I/§V/§T amendments

⊥ rewrite a section the handoff did not name. Sectioned ownership (see FORMAT.md).

NEW — idea → spec

Input: user idea. If it arrived fuzzy, prefer running grill first.

Details

Repository
github.com/juliusbrussee/cavekit
Categories
Agent Workflow & Planning, Skill & Plugin Building, Technical Documentation
First seen
May 16, 2026

More from juliusbrussee/cavekit

All 5