Read-only drift detector that diffs SPEC.md against current code and reports violations by severity without writing anything.
- CCM score
- 74 of 100
- skills.sh installs
- 2.7K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers invariant (§V), interface (§I), and task (§T) checks, each classified as HOLD, VIOLATE, DRIFT, MATCH, MISSING, EXTRA, or STALE with file:line evidence
- Accepts scope arguments
§V,§I,§T, or--all, with invariants checked by default when no argument is given - Enforces zero writes, with no edits to SPEC.md or code and no invocation of spec or build skills
- Ends each report with one-line remedy hints that point to the spec or build skill to run, leaving the fix to the user
Install
$ npx -y skills add juliusbrussee/cavekit --skill check -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
check — drift report
Pure diagnostic. Reports violations. Writes nothing. User decides remedy.
Spec drifting silently from code is the #1 SDD failure mode. check is the
detector. Run it after each /build and before each ship — drift caught here is
a diff; drift caught in prod is a §B.
LOAD
- Read
SPEC.md. If missing → "no spec, nothing to check." Stop. - Parse invocation args:
§V→ check invariants only (default)§I→ check interfaces§T→ audit task status vs code--all→ all three
CHECK §V — invariants
For each V:
- Translate invariant into verifiable claim about code.
- Grep / read relevant files.
- Classify: HOLD / VIOLATE / UNVERIFIABLE.
- Record address + file:line evidence.
CHECK §I — interfaces
For each I item:
- Locate implementation.
- Classify:
- MATCH — shape in code = shape in spec.
- DRIFT — impl exists, shape differs.
- MISSING — impl absent.
- EXTRA — code exposes surface not in §I.
CHECK §T — tasks
For each T:
Details
- Repository
- github.com/juliusbrussee/cavekit
- Categories
- Agent Workflow & Planning, Code Review & Quality
- First seen
- May 16, 2026
More from juliusbrussee/cavekit
All 5Similar to Check
More Agent Workflow & Planning
buildjuliusbrussee/cavekit2.7K installsPlan-then-execute implementation against SPEC.md, with failed verifications routed through backprop before retry.
spec-to-code-compliancetrailofbits/skills6.5K installsCheck code against the documentation that specifies it, flagging every disagreement between the two.
reviewowainlewis/blueprint785 installsIndependent read-only review of a code change against its spec, covering bad inputs, security, and regression tests.
weedjuxt/allium2.7K installsReconciles Allium specifications against implementation code, flagging divergences and resolving them by mode.
validate-changes-match-specswarpdotdev/common-skills25.4K installsVerifies a branch or pull request implementation matches its introduced product, technical, and security specs.
code-reviewerdavila7/claude-code-templates979 installsSeverity-ranked code review skill that verifies each finding against the diff before reporting it.
