Quickstart#
This quickstart uses the current CafeKit runtime:
/hapo:specs -> /hapo:develop -> /hapo:test -> /hapo:code-review
1. Install CafeKit#
npx @haposoft/cafekit
2. Create A Spec#
Describe the feature in plain language:
/hapo:specs Build a meeting transcript extension with AI summaries
CafeKit will generate a spec workspace like:
specs/meet-transcript-mvp/
├── spec.json
├── requirements.md
├── research.md
├── design.md
└── tasks/
├── task-R0-01-*.md
├── task-R0-02-*.md
└── ...
3. Validate The Spec#
Before coding, run the spec validation pass:
/hapo:specs --validate meet-transcript-mvp
This step is where CafeKit checks:
- requirements, design, and tasks agree with each other
- contracts are explicit
- the spec is ready for implementation
4. Implement One Task#
The safest pattern is task-by-task execution:
/hapo:develop meet-transcript-mvp task-R0-02-auth-setup-dual-mode.md
CafeKit will:
- load the task packet
- enforce task boundaries
- run the quality gate
- sync task state only after verification passes
- run a task-level docs checkpoint
5. Run Verification#
/hapo:test --full
CafeKit reports a structured verdict such as:
PASSFAILPARTIALNO_TESTS
Important:
NO_TESTSis not equivalent to success- preflight failures should block completion
6. Run Review#
/hapo:code-review --pending
Use this to verify correctness, regressions, and security after implementation.
7. Audit Task State When Needed#
/hapo:sync audit meet-transcript-mvp
Use sync audit when:
- task files and
spec.jsondrift - a run was interrupted
- you want to confirm the next unblocked task
Recommended Working Pattern#
For most features:
spec -> validate -> develop one task -> test -> review -> next task
This keeps task state, evidence, and docs aligned.