Community程式設計與開發github.com

juliusbrussee/check

唯讀的規範偏移 (drift) 檢查工具。比對 SPEC.md 與當前程式碼,按嚴重級別回報違規。僅提供建議,不會寫入任何檔案。

check 是什麼?

這是一個純唯讀的規範偏移偵測技能,專為需要確保程式碼與規格文件 (SPEC.md) 保持一致的開發者或 AI Agent 設計。它會比對 SPEC.md 中的規範與當前程式碼實作,找出所有不一致之處,並按嚴重性分組回報。此工具本身不會修改任何程式碼或檔案,僅會透過「spec」或「build」技能建議修復方法,但絕不會主動執行。支援的平台包括 Claude Code、Cursor 等可整合工具的環境。使用者只需以「檢查偏移 (check drift)」、「稽核規格 (audit the spec)」、「程式碼是否仍符合規格 §V (does the code still match §V)」等自然語言觸發,即可快速獲得規範符合性報告,有效預防程式碼與規格逐漸脫節的風險。

相容平台~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.

相關技能