cavekit-check
БесплатноБез исполняемых скриптовНе проверенRead-only Cavekit drift detector. Use when users invoke /ck:check, ask whether code matches SPEC.md, check invariants, audit interfaces, or inspect §T status…
от casualjim★ 18 звёзд на GitHubОб этом скилле
cavekit-check — drift detector
Pure diagnostic workflow. Read SPEC.md, compare it to code, report evidence. Write nothing. Run after each /ck:build and before each ship — drift caught here is a diff; drift caught in prod is a §B.
Read bundled ../../FORMAT.md before interpreting SPEC.md structure and addresses.
Load
- Read project-root
SPEC.md. If missing, reportno SPEC.md, nothing to checkand stop. - Parse invocation args:
§Vor no args → check invariants§I→ check interfaces§T→ audit task status against code evidence--all→ check §V, §I, and §T
- Parse archive comments like
<!-- archive: .cavekit/archive/SPEC-<date>.md §T T1-T12 -->. - Read referenced
.cavekit/archive/SPEC-*.mdcopies when needed to resolve archived §V/§I cites, archived §T rows, or max-ID/range questions.
Optional Cavecrew investigation
When evidence lookup needs code archaeology and cavecrew-investigator is available, use it for read-only compressed fact finding. Prefer it for locating §I implementations, §V enforcement/tests, §T status evidence, callers, and related files. The investigator must return file:line evidence only and must not design, fix, edit, or mutate state. If unavailable, use codebase-memory tools when available, then exact reads/search as fallback.
Check §V — invariants
For each V<n> in current SPEC.md; with --all, include archived V<n> ranges referenced by archive comments:
- Translate invariant into a verifiable claim about code/tests/config.
- Search and read relevant files.
- Classify: HOLD / VIOLATE / UNVERIFIABLE.
- Cite file:line evidence when possible.
Check §I — interfaces
For each interface item in current SPEC.md; with --all, include archived §I refs referenced by archive comments:
- Locate implementation.
- Classify:
- MATCH — implemented shape matches spec.
- DRIFT — implementation exists but shape differs.
- MISSING — spec surface absent from code.
- EXTRA — code exposes related surface absent from spec.
- Cite file:line evidence.
Check §T — tasks
For each task row in current SPEC.md; with --all, include archived §T rows referenced by archive comments:
- If status
x, verify claimed work appears present. - If status
~, note as in-progress. - If status
., note as pending. - Flag
xrows with no supporting evidence as STALE.
Report format
Use concise grouped output:
## §V drift
V2 VIOLATE: auth/mw.go:47 uses `<` not `≤`. see §B.1.
V5 UNVERIFIABLE: no test covers req path.
## §I drift
I.api DRIFT: POST /x returns `{result}` not `{id}`. route.go:112.
I.cmd MISSING: `foo bar` absent from cli/*.go.
## §T drift
T3 STALE: status `x`, no middleware file exists.
## summary
2 violate. 1 missing. 1 stale. 1 unverifiable.
next: /ck:spec bug: <cause>, /ck:build <task>, or amend spec.
Remedy hints only
End with one-line hints:
- VIOLATE / DRIFT → use
/ck:spec bug: <cause>or fix code. - MISSING → use
/ck:build §T.nif a task exists; otherwise/ck:spec amend §T. - STALE → use
/ck:spec amend §Tto uncheck or revise. - EXTRA → document with
/ck:spec amend §Ior remove code.
Boundaries
- Zero writes.
- No
SPEC.mdedits. - No code edits.
- No commits.
- No scores or grades; classify by evidence.
Установить cavekit-check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл cavekit-check?
Read-only Cavekit drift detector. Use when users invoke /ck:check, ask whether code matches SPEC.md, check invariants, audit interfaces, or inspect §T status evidence.
Как установить скилл cavekit-check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cavekit-check запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic