Dùng workflow khớp với mức rủi ro.
CafeKit không chỉ có happy path. Nó có ideation, implementation, debugging, fix, docs, review, sync, git, và diagram workflows.
The docs should always point back to this contract loop.
Turn intent into scope, evidence, requirements, design, and task packets.
Implement one approved task packet, not the whole chat memory.
Run exact evidence commands and runtime checks.
Review for spec compliance, regressions, security, and drift.
Update process-first Status and inline Receipt only after proof, or audit drift.
Luồng delivery chính được giải thích kỹ ở Workflow chính. Dùng trang này như command selector khi loại việc không phải feature path tiêu chuẩn.
Core feature workflow#
| Command | Dùng khi |
|---|---|
/cf:specs | Cần C1 scope, reviewed plan, flat executable tasks và C2 decision. |
/cf:develop | Spec hoặc task file đã approved và sẵn sàng implement. |
/cf:test | Cần evidence từ commands, build, tests, UI checks, runtime reachability. |
/cf:code-review | Cần adversarial review cho bugs, security, drift, missing proof. |
/cf:sync | Cần sync observed task Status hoặc final inline Receipt mà không bịa proof. |
Dùng /cf:brainstorm trước path này chỉ khi idea chưa rõ, architecture còn mở, hoặc cần pressure-test scope.
Bug và incident#
| Command | Dùng khi |
|---|---|
/cf:debug | Chưa biết root cause. Diagnostic-first, cần evidence trước khi sửa code. |
/cf:fix | Cần sửa bug đã diagnosis với change nhỏ và regression checks. |
Docs và artifacts#
| Command | Dùng khi |
|---|---|
/cf:docs --init | Project docs đang thiếu. |
/cf:docs --update | Source thay đổi đủ lớn để docs cần refresh. |
/cf:docs --reconstruct <scope> | Cần as-is docs dựa trên source cho hệ thống hiện có. |
Release#
| Command | Dùng khi |
|---|---|
/cf:git commit | Change đã verify sẵn sàng commit conventional. |
/cf:git push | Tests và review đủ sạch để publish branch. |
Codex CLI expose cùng public workflow qua native $cf-* skills.