Bakit
BakitRuntimes

Dùng với Claude Code

Hướng dẫn cài đặt và sử dụng Bakit với Claude Code - runtime được hỗ trợ tốt nhất.

Dùng với Claude Code

Claude Code là runtime được Bakit hỗ trợ tốt nhất. Bạn dùng slash command (/ba-start) - không cần nhớ prompt dài. ba-collab đã bị xoá từ v1.4.0; ba-do, ba-next, ba-notion đã xoá từ v2.1.0.

Cài đặt

npm install -g @bakit-org/cli
gh auth login
ba-kit install --runtime claude

Nếu CLI hiển thị nhiều sản phẩm, chọn Bakit. Claude Code nhận full bundle gồm skills, agents, rules, hooks, templates, scripts và core.

Kiểm tra: Mở Claude Code, gõ /ba-start. Nếu thấy menu hiện ra → thành công.

Entry point chính: /ba-start

Từ v2.1.0, ba-start là entry point duy nhất — vừa là lifecycle engine, vừa là router tự do (thay cho ba-do đã xoá).

Router tự do

Dùng khi bạn không biết chính xác cần lệnh gì — cứ nói bằng tiếng Việt:

/ba-start Tôi có file yêu cầu từ khách hàng, muốn tạo tài liệu BA
/ba-start Đang làm SRS thì có thêm yêu cầu audit log
/ba-start Xem next step cho project warehouse-rfp

ba-start sẽ tự phân tích intent và route đến đúng bước.

Chạy từng bước cụ thể

Dùng khi bạn biết chính xác step cần chạy:

/ba-start                                    # Xem menu
/ba-start intake requirements.pdf            # Bắt đầu dự án mới
/ba-start options --slug warehouse-rfp       # So sánh hướng giải pháp
/ba-start backbone --slug warehouse-rfp      # Khóa source of truth
/ba-start stories --slug warehouse-rfp --module auth-flow
/ba-start srs --slug warehouse-rfp --module auth-flow
/ba-start use-case --slug warehouse-rfp --module auth-flow
/ba-start userflow --slug warehouse-rfp --module auth-flow
/ba-start wireframe --slug warehouse-rfp --module auth-flow
/ba-start render-html --slug warehouse-rfp --module auth-flow
/ba-start test-checklist --slug warehouse-rfp --module auth-flow
/ba-start test-cases --slug warehouse-rfp --module auth-flow
/ba-start bpmn --slug warehouse-rfp --module auth-flow
/ba-start prototype --slug warehouse-rfp --module auth-flow
/ba-start preview --slug warehouse-rfp --module auth-flow
/ba-start package --slug warehouse-rfp       # Đóng gói bàn giao
/ba-start status --slug warehouse-rfp        # Xem trạng thái
/ba-start next --slug warehouse-rfp          # Bước tiếp theo
/ba-start impact --slug warehouse-rfp "thay đổi"  # Phân tích tác động
/ba-start impact-cook --slug warehouse-rfp   # Thực thi change plan
/ba-start reverse --slug warehouse-rfp       # Reverse BA

Flow khuyến nghị

  1. Đưa raw requirement vào Claude Code
  2. Chạy /ba-start intake để chuẩn hóa
  3. Nếu intake gợi ý nhiều hướng → chạy options
  4. Chạy backbone để khóa source of truth
  5. Sinh FRD, stories, SRS khi gate phù hợp
  6. Nếu có UI → chuẩn bị DESIGN.md, sau đó dùng Figma Make prompt lane hoặc Stitch sync
  7. Package và bàn giao

Ví dụ prompt thực tế

Full workflow

/ba-start
Dùng hybrid mode cho solo IT BA.
Parse yêu cầu trong docs/raw/warehouse-rfp.pdf.
Nếu intake đề xuất nhiều hướng solution, chạy options flow trước.
Sau đó build backbone và sinh downstream artifacts khi justified.

Impact analysis

/ba-start impact --slug warehouse-rfp
Yêu cầu mới: Export CSV phải cần permission, ghi audit log, và hiển thị banner thành công hoặc thất bại.

Quy tắc quan trọng

  • Nếu có nhiều slug → hệ thống phải dừng và hỏi rõ
  • Nếu một slug có nhiều dated set → phải dừng và hỏi rõ
  • Nếu context bị trôi → phục hồi từ artifact trên đĩa, không yêu cầu user nhắc lại
  • Với source lớn → đọc summary.mdchunk-index.md trước
  • Runtime memory của Claude Code không phải nguồn chuẩn → đọc backbone và project memory trên disk

Tiếp theo

On this page