dym-diagram-design-brand-onboarding-and-profiles
Skill: dym-diagram-design-brand-onboarding-and-profiles — Onboard brand và quản lý profile khách hàng
Vì sao dùng: sơ đồ đầu tiên trong một dự án mới sẽ bị chặn bởi một cổng bắt buộc. Skill từ chối im lặng xuất sơ đồ mang màu mặc định vào một dự án có brand. Không biết cổng này thì bạn tưởng agent bị treo.
File này sinh ra gì: một style-guide.md mang màu và font của bạn, cộng (tuỳ chọn) một thư viện profile ở ~/.diagram-design/profiles/ dùng chung được cho nhiều khách hàng.
Toàn bộ file này là thao tác chat — trừ vài lệnh
mkdir/catđể soi file trên đĩa. Không có CLI onboarding.
1. Cổng style-guide chạy như thế nào
Trích SKILL.md §0 — trước khi vẽ sơ đồ đầu tiên, skill:
- Tìm marker
<project-root>/.diagram-design. Marker hợp lệ trỏ tới profile có thật → chọn thẳng profile đó, bỏ qua cổng.profile: defaultcũng bỏ qua cổng. - Không có marker → mở
references/style-guide.mdvà so với token mặc định đã ship: paper#f5f5f5, ink#2d3142, accent#eb6c36(atomic-tangerine). - Vẫn y nguyên mặc định → dừng lại và hỏi bạn, đúng 6 lựa chọn:
"This is your first diagram in this project. The style guide is still at the default (neutral white-smoke + atomic-tangerine). Do you want to customize it to match your brand first? Options: (a) pull from your website URL, (b) extract from an installed skill, (c) extract from a local folder / design-system directory, (d) paste tokens manually, (e) proceed with the default for now, (f) load a saved client profile."