Runtimes
Dùng với Antigravity
Antigravity không dùng slash command như Claude Code. Nó hoạt động bằng prompt tự nhiên và system context, nên BA-kit phải được gọi bằng câu lệnh mô tả thay vì `/ba-start`.
Dùng với Antigravity
Antigravity khác gì so với Claude Code và Codex
Antigravity không dùng slash command như Claude Code. Nó hoạt động bằng prompt tự nhiên và system context, nên BA-kit phải được gọi bằng câu lệnh mô tả thay vì /ba-start.
Điểm quan trọng:
- Antigravity đọc
GEMINI.mdvàAGENTS.mdkhi làm việc repo-native - Có thể cài sâu bằng Knowledge Item qua installer
- Có prompt equivalent cho
ba-do,ba-start,ba-collab,impact,status,next - Không có auto-delegation behavior giống Claude/Codex
- Runtime parity được giữ bằng contract và artifact trên disk, không phụ thuộc vào memory nội bộ của Antigravity
Cách 1: Dùng repo-native
Phù hợp khi anh chỉ muốn mở repo và dùng ngay.
- Mở Antigravity trong workspace của repo BA-kit.
- Đảm bảo nó thấy
GEMINI.mdvàAGENTS.md. - Viết prompt bằng tiếng Việt hoặc tiếng Anh mô tả step cần chạy.
Ví dụ:
Read skills/ba-do/SKILL.md and route: đang làm dở SRS thì có thêm yêu cầu audit log
Read skills/ba-start/SKILL.md and run srs for slug warehouse-rfp module auth-flow
Đọc BA-kit collaboration workflow và chạy intent:
Tôi làm xong module payment, gửi Lead BA review.
Không commit, push, tạo PR hoặc merge PR nếu tôi chưa approve rõ.
Cách 2: Cài runtime
bash scripts/install-antigravity-ba-kit.sh
Installer sẽ:
- Tạo Knowledge Item
ba-kit-workflow - Cài CLI
ba-kitvào~/.local/bin - Ghi install manifest để dùng
ba-kit updatevề sau
Mapping từ Claude command sang Antigravity prompt
| Claude-style | Antigravity equivalent |
|---|---|
/ba-start | Read skills/ba-start/SKILL.md and run the full BA workflow |
/ba-start intake <file> | Read skills/ba-start/SKILL.md and run intake for <file> |
/ba-start impact --slug X | Read skills/ba-start/SKILL.md and run impact for slug X |
/ba-do <description> | Read skills/ba-do/SKILL.md and route: <description> |
/ba-collab <intent> | Đọc BA-kit collaboration workflow và chạy intent: <intent> |
/ba-next --slug X | Read skills/ba-next/SKILL.md and inspect slug X |
Flow khuyến nghị
- Nếu task mơ hồ, bắt đầu bằng
ba-do. - Nếu step đã rõ, gọi thẳng
ba-start. - Nếu requirement thay đổi giữa chừng, chạy
impact. - Nếu task là nhận module, gửi review, approve, integrate hoặc GitHub handoff, dùng collaboration workflow.
- Nếu chỉ muốn xem tiến độ hoặc artifact còn thiếu, chạy
statushoặcba-next.
Ví dụ prompt thực tế
Full workflow
Read skills/ba-start/SKILL.md and run the full BA workflow.
Use hybrid mode for a solo IT BA.
Parse the requirements in docs/raw/warehouse-rfp.pdf.
Impact
Read skills/ba-start/SKILL.md and run impact for slug warehouse-rfp.
New requirement: Export CSV must require permission, write an audit log, and show a success or failure banner.
Status
Read skills/ba-start/SKILL.md and run status for slug warehouse-rfp.
Report missing artifacts, wireframe state, and any stalled delegation tracker.
Collaboration
Đọc BA-kit collaboration workflow và chạy intent:
Kiểm tra module payment trước khi gửi review.
Resolve đúng project/module. Chỉ cập nhật COLLAB-HOME.md, MODULE-HOME.md hoặc review packet nếu an toàn. Không tạo PR nếu tôi chưa approve rõ.
Điều cần nhớ
- Antigravity đã sync core workflow với Claude Code và Codex
- Nhưng không có slash commands native
- Agent roles hiện mang tính reference, không phải auto-delegation runtime
- Collaboration flow vẫn dùng cùng trạng thái
COLLAB-HOME.md,MODULE-HOME.md, review packet và approval gate như Claude Code/Codex - Nếu Antigravity có quyền Git trong workspace, local sync có thể chạy sau plan ngắn; commit/push/PR/merge PR vẫn cần approval rõ
- Flow manual wireframe handoff vẫn giống các runtime còn lại: chuẩn bị
DESIGN.md,wireframe-input.md,wireframe-map.md, rồi để user tự attach mockup - Nếu dùng project memory, Antigravity phải đọc
project-memory.mdhoặcproject-memory/index.mdtheo đúng read scope của command - Antigravity certification hiện có thể dùng manual JSON fixtures khi cần bằng chứng parity cho behavior envelope