Cavekit spec-driven development skills for pi, plus a live TUI spec tracker widget.
pi install git:github.com/dnevb/pi-cavekit| Skill | Description | Invoke |
|---|---|---|
| spec | Create, amend, backprop SPEC.md |
/skill:spec |
| build | Plan-then-execute against spec | /skill:build |
| check | Read-only drift detector | /skill:check |
| caveman | Token-compressed spec encoding | /skill:caveman |
| backprop | Bug → invariant protocol | /skill:backprop |
A persistent TUI widget that auto-detects SPEC.md changes and shows progress:
Spec: x~.. (1/4) V2 B1 impl auth middleware
Updates automatically when SPEC.md is:
- Read (via the read tool)
- Written (via the write tool)
- Edited (via the edit tool)
- Session start (reconstructs from branch or scans filesystem)
See FORMAT.md for the SPEC.md schema and caveman encoding rules.
npm test
npm run test:watchTests cover:
- Spec tracker parsing, formatting, state reconstruction
- Skill validation (frontmatter, cross-references, file refs)