# Ck:docs

> Analyze codebase and manage project documentation — init, update, summarize.

- Skill: `manhvann/ck-docs` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add manhvann/ck-docs`
- Raw SKILL.md: https://api.skillmd.com/api/skills/manhvann/ck-docs/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: manhvann (https://skillmd.com/u/manhvann)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/manhvann/ck-docs

---


# Documentation Management

Analyze codebase and manage project documentation through scouting, analysis, and structured doc generation.

## Default (No Arguments)

If invoked without arguments, ask the user to choose a documentation operation:

| Operation | Description |
|-----------|-------------|
| `init` | Analyze codebase & create initial docs |
| `update` | Analyze changes & update docs |
| `summarize` | Quick codebase summary |

Present options with header "Documentation Operation", question "What would you like to do?".

## Subcommands

| Subcommand | Reference | Purpose |
|------------|-----------|---------|
| `ck:docs init` | `references/init-workflow.md` | Analyze codebase and create initial documentation |
| `ck:docs update` | `references/update-workflow.md` | Analyze codebase and update existing documentation |
| `ck:docs summarize` | `references/summarize-workflow.md` | Quick analysis and update of codebase summary |

## Routing

Parse `$ARGUMENTS` first word:
- `init` → Load `references/init-workflow.md`
- `update` → Load `references/update-workflow.md`
- `summarize` → Load `references/summarize-workflow.md`
- empty/unclear → ask the user (do not auto-run `init`)

## Shared Context

Documentation lives in the configured `Docs:` path from injected context:
```
docs
├── project-overview-pdr.md
├── code-standards.md
├── codebase-summary.md
├── design-guidelines.md
├── deployment-guide.md
├── system-architecture.md
└── project-roadmap.md
```

Use the configured docs directory as the source of truth for documentation.

**IMPORTANT**: **Do not** start implementing code.

