Julius Brussee 8cf2c93e64 Add SPEC format and simplify to Cavekit v2
Migrate project to a compressed 'v2' focused workflow: add FORMAT.md (SPEC.md format + caveman encoding and backprop rules), streamline README to describe the new single-file SPEC and three core commands (/ck:spec, /ck:build, /ck:check), and update plugin metadata (.claude-plugin/plugin.json and marketplace.json) to reflect v2. Remove legacy Codex plugin assets, many agent/command/docs/scripts/internal implementation files and tests that belonged to the previous, larger architecture to concentrate on the minimal v2 surface.
2026-04-20 02:01:56 +02:00
2026-04-12 20:00:04 +02:00
2026-04-01 13:29:15 +02:00
2026-04-01 13:29:15 +02:00

Cavekit v2

Compressed spec-driven development for Claude Code.

One file. Three commands. Zero sub-agents.

WHY

Plan-then-execute forgets. SDD remembers — but most SDD frameworks bury that value under agent swarms, dashboards, and ceremony that wastes tokens.

Cavekit v2 keeps only what earns its place:

  • Durable specSPEC.md at repo root survives context resets.
  • Caveman encoding — ~75% fewer tokens than prose. Symbols, fragments, pipe tables for repeating records.
  • Backprop reflex — every test failure becomes a §B entry; classes of bug become §V invariants the spec will never forget.

That's the whole pitch.

COMMANDS

cmd job
/ck:spec create / amend / backprop SPEC.md. Sole mutator.
/ck:build native plan → execute against spec. Auto-backprops on failure.
/ck:check read-only drift report. Lists §V / §I / §T violations, suggests remedy.

FORMAT

See FORMAT.md. Fixed sections: §G goal, §C constraints, §I interfaces, §V invariants, §T tasks (pipe table), §B bugs (pipe table). Caveman prose plus two pipe tables. Nothing else.

FILES

FORMAT.md          spec schema + caveman encoding rules
commands/          three markdown command prompts
skills/caveman     encoding skill
skills/backprop    bug → spec protocol (six steps)

NON-GOALS

  • No sub-agents. Main Claude does the work.
  • No dashboards. cat SPEC.md is the dashboard.
  • No parallel workers. One thread, one spec, one diff.
  • No JSON / YAML spec bodies. Markdown + pipe tables.
  • No hooks, no orchestration binaries, no TypeScript helpers.

INSTALL

Add as a Claude Code plugin via marketplace, or clone into ~/.claude/plugins/. Commands become available as /ck:spec, /ck:build, /ck:check.

HISTORY

v1 (main branch) had 16 commands, 12 agents, 21 skills, a Go binary, shell hooks, and a dashboard. v2 replaces all of it with this.

MIT.

S
Description
caveman: Caveman encoding for SPEC.md and spec-adjacent writes. Loaded by /spec, /build, /check. Cuts tokens ~75% vs prose while staying precise. Triggers on any…; build: Plan-then-execute implementation against SPEC.md. Native single-thread loop, no sub-agents. On test or build failure, auto-invokes the backprop skill before…; spec: Create, amend, or backprop bugs into SPEC.md at repo root. Sole mutator of the project spec. Triggers when the user asks to write a spec, start a new spec,…; check…
Readme MIT 4.1 MiB
Languages
Markdown 100%