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

Prefix: /docs (không có subcommand)Analyze codebase và manage project documentation. Init, update, summary, audit — skill tự route theo task description.
Khi dùng: Bất kỳ doc task ở dev level (không phải marketing).
Prefix: /ckm:docs:init, :llms, :summarize, :updateMigrated từ bare /docs:* cũ. 4 subcommands:
Khi dùng: Marketing/content team quản lý docs của marketing project.
Prefix: /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.
Output: File llms.txt chứa structured summary: architecture, key files, API endpoints, conventions.
Prefix: /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.
Khi dùng: Sửa docs site (như PrimeCommerce Hub — đang dùng Mintlify).
Prefix: /docs-seekerTìm kiếm documentation của library/framework qua context7.com (llms.txt registry).
Khi dùng: Cần current API docs của lib bên ngoài, không muốn Google.
Prefix: /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.
Khi dùng: Proactive sau PR merge — auto-called nếu skill hook enabled.

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ế


Khi nào dùng / không dùng