Tham khảo
Reference
Những thông tin cần chính xác và dễ tra.
Dùng trang này khi cần command names, installed files, package version, validators, state values, hoặc runtime support details.
Package facts#
| Field | Value |
|---|---|
| Package | @haposoft/cafekit |
| Current package version | 0.9.1 |
| Binary | cafekit |
| Bin file | packages/spec/bin/install.js |
| Node engine | >=18.0.0 |
| Required skills | 30 |
| Required agents | 13 |
Command cheatsheet#
| Claude Code command | OpenCode command | Purpose |
|---|---|---|
/hapo:question | /question | Trả lời câu hỏi về project và kỹ thuật bằng source evidence trước. |
/hapo:brainstorm | /brainstorm | Làm rõ idea trước khi spec. |
/hapo:specs | /specs | Create, resume, validate, approve specs. |
/hapo:develop | /develop | Implement approved task packets. |
/hapo:test | /test | Task-aware verification. |
/hapo:code-review | /code-review | Review regressions và security. |
/hapo:sync | — | Sync task status, task_registry, task markdown, phase, hoặc audit drift. |
/hapo:debug | /debug | Diagnose trước khi fix. |
/hapo:hotfix | /hotfix | Narrow diagnosed fixes. |
/hapo:docs | /docs | Create, update, summarize, reconstruct docs. |
/hapo:inspect | /inspect | Scout source files và structure. |
/hapo:generate-graph | /generate-graph | Generate technical diagrams. |
OpenCode hiện có generated slash commands cho surface implementation chính. Skill sync vẫn được ship trong shared skill bundle, nhưng installer hiện chưa tạo wrapper /sync cho OpenCode.
Claude file structure#
.claude/
├── skills/
├── agents/
├── hooks/
├── references/
├── rules/
├── scripts/
├── runtime.json
├── settings.json
├── status.cjs
└── cafekit.json
Spec state values#
| State | Meaning |
|---|---|
pending | Task chưa bắt đầu. |
in_progress | Task đang active. |
blocked | Task bị chặn; phải ghi blocker. |
done | Task có evidence thật, review, và synced state. |
Validators#
node .claude/scripts/validate-spec-output.cjs specs/<feature>
node .claude/scripts/validate-docs.cjs docs
node .claude/scripts/validate-docs-reconstruct.cjs docs/as-is/<scope>
node .claude/scripts/generate-skill-catalog.cjs --skills