Bakit
BakitRuntimes

Dùng với Codex

Hướng dẫn cài đặt và sử dụng Bakit với Codex - dùng repo-native hoặc cài skills qua BA-kit CLI.

Dùng với Codex

Codex có thể dùng Bakit theo 2 cách: repo-native hoặc cài skills qua BA-kit CLI.

Cách 1: Repo-native (không cần cài)

Mở trực tiếp repo bakit trong Codex. Codex sẽ tự đọc AGENTS.md.

Ưu điểm: không cần cài gì, dùng ngay. Nhược điểm: phải nói rõ file skill cần đọc trong prompt.

Prompt mẫu cho repo-native

Router tự do:

Use AGENTS.md and skills/ba-start/SKILL.md.
Route this BA request to the right command:
"Đang làm dở SRS thì thêm yêu cầu export CSV phải ghi audit log."

Full workflow:

Use AGENTS.md and skills/ba-start/SKILL.md.
Parse the requirements in docs/raw/warehouse-rfp.pdf.
Run hybrid mode for a solo IT BA.

Impact:

Use AGENTS.md and skills/ba-start/SKILL.md.
Run the equivalent of /ba-start impact --slug warehouse-rfp.
Resolve the exact dated set. Do not choose by mtime.

Next step:

Use AGENTS.md and skills/ba-start/SKILL.md.
Run the equivalent of /ba-start status --slug warehouse-rfp.
Do not mutate anything. Tell me the next exact BA command.

Cách 2: Cài skills qua BA-kit CLI

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

Nếu CLI hiển thị nhiều sản phẩm, chọn Bakit. Sau khi cài, dùng $ba-start như skill mention:

$ba-start Tôi có file yêu cầu mới, hãy tạo dự án BA
$ba-start intake /path/to/requirements.pdf
$ba-start options --slug warehouse-rfp
$ba-start backbone --slug warehouse-rfp
$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

Codex khác Claude Code thế nào

Claude CodeCodex
/ba-start$ba-start (nếu cài bundle)
Slash command nativePrompt phải nói rõ file skill cần đọc (repo-native)
Tích hợp sâu nhấtTích hợp tốt
Full bundleSkills tại ~/.codex/skills/

Prompt pattern cho Codex

Khi dùng repo-native, luôn mở đầu prompt bằng:

Use AGENTS.md and skills/{skill-name}/SKILL.md.

Sau đó mô tả task BA bằng tiếng Việt hoặc tiếng Anh.

Quy tắc cần nhớ

  • Không dùng broad filename matching để chọn artifact
  • Không mutate trực tiếp artifact từ correction statement ngắn
  • Đọc summary.md + chunk-index.md trước khi mở source chunk
  • Với rerun mutating step, cần explicit overwrite approval
  • Deliverable mặc định bằng tiếng Việt
  • Nếu có nhiều slug hoặc dated set, phải dừng hỏi
  • Không dùng runtime-local memory để ghi đè backbone

Tiếp theo

On this page