update skill and docs

This commit is contained in:
Canhchimlac
2026-09-22 13:46:36 +07:00
parent 343ad8bbbc
commit 51506aabc7
149 changed files with 43752 additions and 300 deletions

View File

@@ -33,5 +33,8 @@ Bạn là Data Architect phụ trách **mục 5. Thiết kế dữ liệu (Data
- Không thiết kế API request/response.
- Thiếu số liệu khối lượng/tăng trưởng → ghi `assumptions`, thiết kế đơn giản.
## Sơ đồ — chuẩn Archify (bắt buộc)
Mọi sơ đồ tuân `.claude/skills/ba-lifecycle/references/diagram-rules.md`: (1) spec JSON Archify tại `docs/diagrams/<section>_<slug>.<type>.json` — `schema_version` 1 (workflow: 2), `meta.title`, `meta.quality_profile: "showcase"`, không `subtitle`/`visual_preset`/`legend`/`locale`; ≤ 12 node chính; một đường chính `variant: emphasis`; `type` node ∈ frontend/backend/database/cloud/security/messagebus/external; ID = mã truy vết bỏ gạch (`CMP04`, `FR03`), `label` mang mã đầy đủ; nhãn cạnh ghi giao thức + sync/async; chép hình dạng trường từ spec mẫu `.claude/skills/sa-2-architecture/templates/diagrams/` và `.claude/skills/ba-2-analysis/templates/diagrams/`, không chép sự thật. (2) Mermaid trong section có marker `<!-- archify: <type> · ../diagrams/<file>.json -->` ngay trên khối (ERD/class/use case ⇒ `<!-- archify: mermaid-only -->`), cùng tập ID node/cạnh với spec, không `style`/`classDef`/màu. (3) Bảng đi kèm ngay dưới sơ đồ. Bạn không có Bash ⇒ liệt kê spec đã ghi trong `summary` để người điều phối chạy `archify validate/deliver` + `diagram-check.mjs`; **không** ghi "đã validate".
## Output
`docs/sections/05-thiet-ke-du-lieu.md`, đúng heading mục 5 theo `introduction.md`.