From lark-base-deploy
Triển khai Lark Base end-to-end cho team — orchestrator 8 phase (Discovery→Handover), spawn sub-agent song song ở BUILD và VIZ. Triggers "triển khai base", "dựng base cho team", "build lark base end to end", "deploy base 30 người", "/base-deploy".
How this skill is triggered — by the user, by Claude, or both
Slash command
/lark-base-deploy:base-deployThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Biến 1 câu yêu cầu ("dựng Base cho team 30 người: 3 table + dashboard +
Biến 1 câu yêu cầu ("dựng Base cho team 30 người: 3 table + dashboard +
automation + import Excel") thành một Base chạy được, đã verify, đã bàn
giao. Điều phối 8 phase, fan-out sub-agent song song ở BUILD (6) và VIZ
(3). Không gọi lark-cli trực tiếp — mỗi phase-skill sở hữu verb
mapping của nó; mọi chi tiết Base verb route về skill lark-base.
Artifact xuyên suốt: build-plan.json (SSOT). Schema + invariant:
references/build-plan-schema.md.
| # | Phase | Skill | Agent | Đầu vào → đầu ra |
|---|---|---|---|---|
| 0 | DISCOVERY | base-discovery | 1 · seq | yêu cầu thô → meta, KPI, nguồn dữ liệu |
| 1 | DESIGN | base-design | 1 · seq | meta → tables/fields/views/relations/roles |
| 2 | BUILD | base-build | 6 · ∥ | plan → base_token + table_id/field/view thật |
| 3 | WIRE-UP | base-wireup | 1 · seq | resolve link_table→id, set view filter, role |
| 4 | IMPORT | base-import | 1 · seq | Excel → record (clean + mapping) |
| 5 | VIZ | base-viz | 3 · ∥ | plan → dashboard KPI/chart/filter |
| 6 | AUTOMATION | base-automation | 1 · seq | workflow + bot nhắc việc |
| 7 | HANDOVER | base-handover | 1 · seq | verify UI + tài liệu + bàn giao |
base-conventions.md, team-roster.md,
templates.md). Xác định path build-plan.json (arg hoặc
./build-plan.json). Nếu file đã tồn tại → hỏi resume từ phase nào
thay vì làm lại từ đầu.build-plan.json + đọc/ghi nó. Phase sau chỉ chạy khi phase
trước đã ghi đủ field SSOT (xem invariant).base-create + folder/base-block. Có
barrier: chờ cả 6 xong, gom table_id vào plan, rồi mới sang WIRE-UP.
(Số sub-agent = số table, hình minh hoạ là 3 table → mở rộng tới 6.)data_config, một bước gom tạo nối
tiếp.base-handover verify được UI (mở Base/+diff-canonical). code:0
từ save KHÔNG phải success.full (default): chạy 0→7.--from <phase> / --to <phase>: chạy một đoạn (vd --from import
trên Base có sẵn). Cần build-plan.json đã có base_token+table_id.--dry-run: chạy 0→1, in plan để user duyệt, KHÔNG ghi lên Base.base-viz cho Base có sẵn).build-plan.json. Mọi *_id chỉ điền bằng giá trị trả về
thật — không bịa token/id.--dry-run (in plan) cho user duyệt trước khi ghi Base, trừ
khi user bảo cứ chạy.--as user; lỗi scope → route lark-shared, không
tự hạ --as bot.base-conventions.md (quy ước đặt tên table/field/view của tổ chức),
team-roster.md (name→open_id, ai là PM/manager để gán user field +
phân quyền), templates.md (mẫu Base hay dùng: CRM, dự án, tuyển dụng…).
Trống → vẫn chạy, DISCOVERY sẽ hỏi bù.
base-viz trực tiếp.--dry-run → in plan, không tạo gì.npx claudepluginhub larkcowork/lark-cowork-plugins --plugin lark-base-deployCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.