Community编程与开发github.com

juliusbrussee/check

只读漂移检测器。将 SPEC.md 与当前代码进行差异比对,并按严重程度分组报告违规情况。不进行任何写入操作——通过规范或构建技能建议修复方案,但从不主动执行。当用户要求检查漂移、审计规范、验证不变量或询问代码是否与规范匹配时触发。

check 是什么?

该技能是一个只读漂移检测器,旨在帮助开发者和 AI 代理确保代码实现与软件规范(SPEC.md)保持一致。它通过分析 SPEC.md 与当前代码结构之间的差异,识别出违反规范的部分,并按严重程度(如错误、警告、建议)进行分组报告。技能本身不会修改任何代码或文件——它仅提供建议,引导用户通过规范(spec)或构建(build)技能进行修复,从而避免意外变更。支持的主要平台包括基于 AI 代理的开发环境(如 Claude Code、Cursor、Codex)。触发方式自然:当用户提出“检查漂移”、“审计规范”、“验证不变量”或“代码是否仍符合规范 §V”等请求时激活。常用短语包括“check drift”、“audit the spec”、“does the code still match §V”、“check invariants”和“spec vs code”。核心价值在于作为安全的第一道防线,帮助团队在代码演变过程中持续追踪与规范的偏离,减少手动审计成本。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/juliusbrussee/cavekit/tree/main/skills/check

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

check 是做什么的?

只读漂移检测器。将 SPEC.md 与当前代码进行差异比对,并按严重程度分组报告违规情况。不进行任何写入操作——通过规范或构建技能建议修复方案,但从不主动执行。当用户要求检查漂移、审计规范、验证不变量或询问代码是否与规范匹配时触发。常用短语:"check drift"、"audit the spec"、"does the code still match §V"、"check invariants"、"spec vs code"。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

juliusbrussee/backprop

Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch recurrence, append to §B. This is the one non-obvious thing SDD does that plan-then-execute doesn't. Triggers on test failure, bug report, post-mortem, or explicit user ask.

juliusbrussee/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 retrying — a failed verification always considers whether a new §V invariant would prevent recurrence. Triggers when the user asks to build, implement, execute the spec, or tackle a specific §T task (`build §T.3`, `build --next`, `implement next task`, `run the build`). Expects SPEC.md to exist; if not, defers to the spec skill.

juliusbrussee/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 write to SPEC.md or when user says "caveman", "compress this", "be brief".

juliusbrussee/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, distill a spec from existing code, add invariants, amend sections (§G, §C, §I, §V, §T, §B), or record a bug via backprop. Common phrasings: "write the spec for...", "new spec", "bug: ...", "amend §V.3", "distill spec from code", "spec this idea". Reads and follows FORMAT.md for the caveman encoding rules and pipe-table shape of §T and §B.

相关技能