BA-kitRuntimes
Dùng với Codex
Hướng dẫn cài đặt và sử dụng BA-kit với Codex - dùng repo-native hoặc cài runtime bundle.
Dùng với Codex
Codex có thể dùng BA-kit theo 2 cách: repo-native (không cần cài) hoặc cài runtime bundle.
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:
Use AGENTS.md and skills/ba-do/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-next/SKILL.md.
Inspect the current artifact set for slug warehouse-rfp.
Do not mutate anything. Tell me the next exact BA command.
Cách 2: Cài runtime bundle
bash scripts/install-codex-ba-kit.sh
Sau khi cài, bạn có thể dùng $ba-start, $ba-do, $ba-collab như skill mention:
$ba-do 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-collab Tôi nhận module auth-flow
$ba-collab Tôi làm xong module payment, gửi Lead BA review
Codex khác Claude Code thế nào
| Claude Code | Codex |
|---|---|
/ba-start | $ba-start (nếu cài bundle) |
| Slash command native | Prompt phải nói rõ file skill cần đọc (repo-native) |
| Tích hợp sâu nhất | Tích hợp tốt |
~/.claude/skills/ | ~/.codex/skills/ (nếu cài bundle) |
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.mdtrướ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
- Claude Code - runtime được hỗ trợ tốt nhất
- Antigravity - nếu bạn dùng Antigravity
- Hướng dẫn từng bước - flow thực tế