Community程式設計與開發github.com

juliusbrussee/caveman

用於 SPEC.md 及規格相關檔案的原始人編碼。由 /spec、/build、/check 載入。相較於散文,可減少約 75% 的 token,同時保持精確。在對 SPEC.md 進行任何寫入或用戶說出「原始人」、「壓縮此內容」、「簡潔」時觸發。

caveman 是什麼?

這個「原始人」技能(juliusbrussee/caveman)提供了一種高效的編碼方式,專門用於 SPEC.md 檔案及相關的規格文件。它的主要用途是大幅減少 token 消耗——與傳統的散文式描述相比,最多可節省約 75% 的 token,同時確保規格的精確性不受影響。此技能會由 /spec、/build 和 /check 等指令自動載入,並在偵測到對 SPEC.md 的任何寫入操作、或用戶輸入「原始人」、「壓縮此內容」或「簡潔」等關鍵詞時觸發。對於使用 AI 編碼助手(如 Claude Code、Cursor 等)的開發者來說,這項技能特別有價值,因為它能將冗長的規格描述壓縮成結構化、更省 token 的格式,從而降低 API 成本並提升模型回應速度。其底層原理是透過一系列預先定義的語法規則與縮寫來編碼常見的規格術語與模式,使得 AI 模型可以直接解讀並生成對應的程式碼或測試案例,而不需要冗長的解釋。

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

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

caveman 是做什麼的?

用於 SPEC.md 及規格相關檔案的原始人編碼。由 /spec、/build、/check 載入。相較於散文,可減少約 75% 的 token,同時保持精確。在對 SPEC.md 進行任何寫入或用戶說出「原始人」、「壓縮此內容」、「簡潔」時觸發。

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/check

Read-only drift detector. Diffs SPEC.md against current code and reports violations grouped by severity. Writes nothing — suggests remedies via the spec or build skills but never invokes them. Triggers when the user asks to check drift, audit the spec, verify invariants, or ask whether code still matches the spec. Phrasings: "check drift", "audit the spec", "does the code still match §V", "check invariants", "spec vs code".

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.

相關技能