Docs — Quản lý documentation
Tạo, cập nhật, và tóm tắt documentation tự động từ codebase.Cập nhật bộ mới: Bare commands
/docs:init, /docs:update, /docs:summarize đã chuyển sang prefix /ckm:docs:*. Skill /docs (không có subcommand) vẫn dùng để analyze codebase + manage doc lifecycle. Xem Marketing → Docs cho /ckm:docs:*.Cú pháp (bộ mới)
Bảng tham chiếu nhanh
Chi tiết skills
/docs — Skill quản lý doc lifecycle
/docs — Skill quản lý doc lifecycle
Prefix: Khi dùng: Bất kỳ doc task ở dev level (không phải marketing).
/docs (không có subcommand)Analyze codebase và manage project documentation. Init, update, summary, audit — skill tự route theo task description./ckm:docs:* — Marketing docs subcommands
/ckm:docs:* — Marketing docs subcommands
Prefix: Khi dùng: Marketing/content team quản lý docs của marketing project.
/ckm:docs:init, :llms, :summarize, :updateMigrated từ bare /docs:* cũ. 4 subcommands:/llms — Generate llms.txt (llmstxt.org spec)
/llms — Generate llms.txt (llmstxt.org spec)
Prefix: Output: File
/llmsGenerate llms.txt từ docs site hiện tại, follow llmstxt.org spec. Giúp AI tools (Claude, GPT) hiểu codebase/docs nhanh hơn.llms.txt chứa structured summary: architecture, key files, API endpoints, conventions./mintlify — Mintlify docs site
/mintlify — Mintlify docs site
Prefix: Khi dùng: Sửa docs site (như PrimeCommerce Hub — đang dùng Mintlify).
/mintlifyBuild và maintain Mintlify docs sites. Covers docs.json, MDX components, navigation, page frontmatter, theming, OpenAPI/AsyncAPI, llms.txt, skill.md, deployment targets, local validation CLI./docs-seeker — Library documentation search
/docs-seeker — Library documentation search
Prefix: Khi dùng: Cần current API docs của lib bên ngoài, không muốn Google.
/docs-seekerTìm kiếm documentation của library/framework qua context7.com (llms.txt registry)./document-release — Post-ship docs sync
/document-release — Post-ship docs sync
Prefix: Khi dùng: Proactive sau PR merge — auto-called nếu skill hook enabled.
/document-releaseSau merge PR, đọc tất cả project docs, cross-reference với diff, update README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md để match với gì đã ship. Polish CHANGELOG voice, cleanup TODOs, optionally bump VERSION.Luồng hoạt động
/ckm:docs:init
1
Bước 1: Scan codebase
Phân tích project structure, frameworks, dependencies.
2
Bước 2: Generate docs
Tạo
docs/ folder với: README, API docs, architecture overview, setup guide.3
Bước 3: Review
Người dùng review và chỉnh sửa.
/ckm:docs:update
1
Bước 1: Detect changes
So sánh code hiện tại với docs hiện có.
2
Bước 2: Identify gaps
Tìm functions/APIs mới chưa được document.
3
Bước 3: Update
Cập nhật docs để phản ánh state mới nhất.
Ví dụ thực tế
- /ckm:docs:init
- /ckm:docs:update
- /document-release