Docs
CafeKit 0.9.1

実際の repo 向けの spec-driven AI coding runtime。

CafeKit は skills、agents、hooks、state checks、quality gates を repo に入れ、assistant が ad-hoc prompt に流れず idea から verified implementation まで進めるようにします。

CafeKit とは#

CafeKit は AI coding assistants のための repo-local runtime bundle です。現在の package は @haposoft/cafekit で、npx @haposoft/cafekit で導入します。

Claude Code と Codex CLI の上に構造化された workflow を追加します。

Spec-driven delivery path

The docs should always point back to this contract loop.

/cf:specs

Turn intent into scope, evidence, requirements, design, and task packets.

/cf:develop

Implement one approved task packet, not the whole chat memory.

/cf:test

Run exact evidence commands and runtime checks.

/cf:code-review

Review for spec compliance, regressions, security, and drift.

/cf:sync

Update process-first Status and inline Receipt only after proof, or audit drift.

SDD から始める#

CafeKit は specification-driven development を中心にしています。Idea は source-backed contract になってから code になります。まず visual guide の Spec-driven development から読んでください。

その後、Core workflow → Spec lifecycle → Skills の順に深く読めます。

インストールされるもの#

CafeKit は単なる文章テンプレートではなく、動作する runtime をインストールします。

.claude/ runtime bundle
skills/

30 packaged workflows and domain capabilities

agents/

13 specialist agents for planning, code, QA, docs, git, and deploy

hooks/

Privacy, scope, state, usage, docs sync, and spec-state gates

runtime.json

Runtime configuration, paths, locale, usage, and model hints

settings.json

Claude Code hook wiring and statusline command

status.cjs

Git, context, usage, task, and agent statusline

現在の package には 18 core skills と 6 optional document/multimodal skills、13 agents、Claude Code と Codex CLI の installer support、そして spec/docs bundle の deterministic validators が含まれます。

読む順番#

初めてならこの順番がおすすめです。

  1. インストール
  2. Spec-driven development
  3. クイックスタート
  4. Core workflow
  5. Runtime bundle
  6. Spec lifecycle
  7. Workflows

すでに workflow を理解している場合は Skills、Agents、Reference に進んでください。

コア方針#

CafeKit は process を削って速くするのではなく、source-backed context、明確な task boundary、fresh verification、adversarial review、state sync によって assistant を安全にします。

Scope

Accepted C1 scope plus task Ownership define what may change.

Evidence

Exact commands and runtime proof must be fresh.

Review

Critical findings block task completion.

Sync

Task Status and inline Receipt move together.