From lark-base-deploy
Phase 1 của base-deploy — thiết kế schema (table, field, view, quan hệ, rule, option, role) thành build-plan.json hoàn chỉnh để BUILD thực thi. Triggers "phase design", "thiết kế schema base", "base-design".
How this skill is triggered — by the user, by Claude, or both
Slash command
/lark-base-deploy:base-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
"Thiết kế cấu trúc 3 table, quan hệ, trường dữ liệu và luồng xử lý." Lấy
"Thiết kế cấu trúc 3 table, quan hệ, trường dữ liệu và luồng xử lý." Lấy
meta+entity từ DISCOVERY, sản xuất build-plan.json ĐẦY ĐỦ:
fields[] mỗi table, views[], relations[], roles[], khung
dashboard/automation. Đây là SSOT mà toàn bộ phase sau thực thi —
chất lượng phase này quyết định cả pipeline. Vẫn KHÔNG ghi Base.
Schema + bảng map type→CLI:
build-plan-schema.md.
Chi tiết field JSON route về skill lark-base
(lark-base-field-json.md, formula-field-guide.md,
lookup-field-guide.md) — đừng tự chế JSON ở đây, chỉ mô tả logic.
single_select
kèm options[]. Người phụ trách → user. Mốc thời gian → date.relations[] giữa các table (many_to_one /
many_to_many). Mỗi quan hệ thêm một link field (với link_table =
key bảng đích) — BUILD tạo field, WIRE-UP resolve id.formula/lookup/rollup khi cần
HIỂN THỊ lâu dài trong bảng (vd "ngày trễ", "tổng task"); phân tích
một lần để data-query ở VIZ, không nhồi field.user. Mô tả
filter bằng ngôn ngữ logic; JSON filter để WIRE-UP dựng.roles[] với scope (member sửa
record mình, manager sửa hết). Để WIRE-UP dựng +role/+advperm.meta.kpis, và automation cần
(nhắc quá hạn, thông báo gán việc).build-plan.json đầy đủ. In sơ đồ ERD gọn (table + quan hệ) cho
user duyệt trước BUILD. Nếu orchestrator --dry-run → dừng ở đây.meta.kpis[i] phải truy được tới ≥1 field/quan hệ dựng được —
nếu không, thiếu field, bổ sung.link.link_table phải trỏ tới một tables[].key có thật trong plan.base-conventions.Đọc base-conventions.md (đặt tên), templates.md. Đề xuất lưu schema
tốt làm template mới nếu user xác nhận tái dùng.
Creates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin lark-base-deploy