Workflows
Command surface

risk に合う workflow を使う。

CafeKit は happy path だけではありません。ideation、implementation、debugging、fix、docs、review、sync、git、diagram workflows を含みます。

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.

Main delivery path は Core workflow で詳しく説明しています。このページは標準 feature path 以外の command selector として使います。

Core feature workflow#

CommandUse when
/cf:specsC1 scope、reviewed plan、flat executable tasks、C2 decision が必要。
/cf:developspec または task file が approved で implementation ready。
/cf:testcommands、build、tests、UI checks、runtime reachability の evidence が必要。
/cf:code-reviewbugs、security、drift、missing proof の adversarial review。
/cf:syncObserved task Status または final inline Receipt を proof の捏造なしで sync。

Idea が曖昧、architecture が未決定、scope を pressure-test したい場合だけ、この path の前に /cf:brainstorm を使います。

Bug and incident#

CommandUse when
/cf:debugroot cause が不明。code change 前に evidence を作る diagnostic-first workflow。
/cf:fixdiagnosis 後に小さく安全に bug を修正し regression checks を行う。

Docs and artifacts#

CommandUse when
/cf:docs --initproject docs がない。
/cf:docs --updatesource changes が docs refresh を必要とする。
/cf:docs --reconstruct <scope>existing system の source-backed as-is docs が必要。

Release#

CommandUse when
/cf:git commitverified changes を focused conventional commit にする。
/cf:git pushtests と review が clean で branch を publish できる。

Codex CLI は同じ public workflow を native $cf-* skills で提供します。