From mk
Generates initial documentation from codebase analysis when a project has no docs/ directory. Triggers on 'init docs', 'generate docs', or empty docs/.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mk:docs-initWhen to use
Use when a project has no docs/ directory and needs initial documentation generated from codebase analysis. NOT for updating existing docs (see mk:document-release).
This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate initial project documentation from codebase analysis.
Generate initial project documentation from codebase analysis.
Scope: Creates docs/ from scratch. For updating existing docs → mk:document-release.
Also run
mk:project-contextto generate the agent-constitution file (docs/project-context.md).mk:docs-initgenerates the full documentation suite;mk:project-contextgenerates only the constitution.
docs/ directorydocs/ exists but is empty or has only stubsmk:bootstrap completes (new project needs docs)Do NOT invoke when: docs already exist and need updating (use mk:document-release).
docs/ exist? Are files already populated?
mk:document-release instead, stop.mk:scout to analyze project structure.
Skip: .claude/, .git/, node_modules/, __pycache__/, dist/, build/documenter subagent via Task tool with scout context.
Output files (adapt to what the project actually has):
README.md — project overview (≤300 lines)docs/project-overview.md — what this project is, who it's fordocs/codebase-summary.md — directory map, key modules, entry pointsdocs/code-standards.md — conventions found in codebasedocs/architecture/system-architecture.md — component diagram, data flow
Optional (generate only if relevant):docs/deployment-guide.md — if CI/CD or Docker config detecteddocs/design-guidelines.md — if frontend/UI code detectedwc -l docs/*.md | sort -rn. Flag files >800 lines.Hard gate: Do NOT write code or implementation. Only documentation.
mk:document-release after each feature shipFull list: references/gotchas.md
Runs after mk:bootstrap or on any existing project without docs.
mk:bootstrap → mk:docs-init → mk:plan-creator (first feature)
Also invoked standalone: mk:docs-init on existing undocumented project.
On completion:
mk:document-release after shipping features to keep them in sync."npx claudepluginhub ngocsangyem/meowkit --plugin mkScaffolds project documentation (README, ARCHITECTURE, API, CODE_COMMENTS) from templates with placeholders and standards. Use for bootstrapping docs in new or under-documented codebases.
Audits existing docs and generates full project documentation in docs/ including architecture.md, getting-started.md, development.md, API refs, and ADRs. For onboarding and context sharing.