Bỏ qua để đến nội dung

Orchestrator — SKILL.md Reference

Tham Khảo Nhanh

  • File: SKILL.md (252 dòng)
  • Vai trò: Entry point, điều phối toàn bộ quy trình
  • Input: Câu hỏi cấu hình từ người dùng
  • Output: Gọi các skill con theo thứ tự

SKILL.md là file chính của DocKit Master. Khi người dùng trigger skill (chat hoặc CLI), file này:

  1. Hiển thị form cấu hình — 10 câu hỏi trong 1 message duy nhất
  2. Auto-generate execution plan — Map câu trả lời thành config
  3. Gọi skill con — Tuần tự theo pipeline 6 bước
  4. Tổng hợp kết quả — Trình bày danh sách file và next steps

Orchestrator thu thập 10 tham số:

Tham sốKiểuMặc địnhMô tả
DOC_TYPEenumalltech · sop · api · all
FORMATenumastromarkdown · astro
SCOPEenumfullfull · focused
FOCUS_TARGETstringnullThư mục/module (nếu focused)
LANGUAGEstringautoAuto-detect từ ngôn ngữ chat
I18NboolnoĐa ngôn ngữ (astro only)
RECORDboolnoQuay video walkthrough
PROJECT_PATHstringworkspaceĐường dẫn project
SEOboolyesSEO optimization
LLM_OPTIMIZEboolyesAI/LLM optimization
graph LR
style S1 fill:#2d333b,stroke:#6d5dfc,color:#e6edf3
style S2 fill:#2d333b,stroke:#6d5dfc,color:#e6edf3
style S3 fill:#2d333b,stroke:#6d5dfc,color:#e6edf3
style S4 fill:#2d333b,stroke:#6d5dfc,color:#e6edf3
style S5 fill:#2d333b,stroke:#3fb950,color:#e6edf3
style S6 fill:#2d333b,stroke:#3fb950,color:#e6edf3
S1["Step 1<br/>Gather Input"] --> S2["Step 2<br/>analyze-codebase.md"]
S2 --> S3["Step 3<br/>content-guidelines.md<br/>+ SEO + LLM"]
S3 --> S4["Step 4<br/>tech/sop/api generators"]
S4 --> S5["Step 5<br/>setup-astro.md<br/>+ sitemap"]
S5 --> S6["Step 6<br/>Summary"]
  • Hỏi tất cả trong 1 message — không hỏi từng câu
  • Auto-detect language — xác định từ ngôn ngữ chat
  • Auto-proceed — sau khi lên plan, chạy ngay Step 2 (không chờ approve)
  • Filename conventions — kebab-case, no underscore prefix
  • SEO default onrobots: "index, follow" cho tất cả trang

Source: SKILL.md:41-118 (Step 1), SKILL.md:120-130 (Step 2)


Xem thêm: Analyzer · Content Guidelines