Skip to main content

mk-docs

Analyze codebase and manage project documentation. Use for doc initialization, updates, summaries, codebase analysis.

ソース情報

リポジトリ
phuc-nt/kiro-agent-kit
ソースの最終更新活動
2026年9月6日 10:01
検出された SKILL.md の言語
英語
スター
0
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
5 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
mk-docs
description
Analyze codebase and manage project documentation. Use for doc initialization, updates, summaries, codebase analysis.
user-invocable
true
when_to_use
Invoke to create, refresh, or audit project documentation.
category
utilities
keywords
["documentation","init","update","summarize"]
argument-hint
init|update|summarize
metadata
{"author":"my-kit","version":"1.2.0"}
# Documentation Management Analyze codebase and manage project documentation through scouting, analysis, and structured doc generation. **IMPORTANT:** Invoke "/mk-project-organization" skill to organize the outputs. ## Default (No Arguments) If invoked without arguments, use `AskUserQuestion` to present available documentation operations: | Operation | Description | |-----------|-------------| | `init` | Analyze codebase & create initial docs | | `update` | Analyze changes & update docs | | `summarize` | Quick codebase summary | Present as options via `AskUserQuestion` with header "Documentation Operation", question "What would you like to do?". ## Subcommands | Subcommand | Reference | Purpose | |------------|-----------|---------| | `/mk-docs init` | `references/init-workflow.md` | Analyze codebase and create initial documentation | | `/mk-docs update` | `references/update-workflow.md` | Analyze codebase and update existing documentation | | `/mk-docs summarize` | `references/summarize-workflow.md` | Quick analysis and update of codebase summary | When another workflow needs to decide whether docs should change, load `references/documentation-management.md` before invoking a docs update. ## 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 → AskUserQuestion (do not auto-run `init`) ## Shared Context Documentation lives in `./docs` directory: ``` ./docs ├── project-overview-pdr.md ├── code-standards.md ├── codebase-summary.md ├── design-guidelines.md ├── deployment-guide.md ├── system-architecture.md └── project-roadmap.md ``` Use `docs/` directory as the source of truth for documentation. When authoring or refreshing diagrams in `system-architecture.md`, use the `archify` skill for publish-grade output: validated architecture / workflow / sequence / dataflow / lifecycle diagrams delivered as self-contained interactive HTML (dark/light themes, PNG/SVG export). Author a small typed JSON spec, then `node .claude/skills/archify/bin/archify.mjs deliver <type> <spec.json> <output.html>`. For quick inline sketches, plain mermaid code fences in markdown are fine. **Embedding a diagram inside the Markdown doc.** The delivered HTML does not render inside a `.md` file — GitHub, VS Code preview, MkDocs and Obsidian all strip `<script>`/`<style>`, so an iframe or raw HTML embed shows nothing and the reader has to open a separate file. Export a standalone SVG instead and reference it as a normal image: ```bash node .claude/skills/archify/bin/archify.mjs deliver architecture spec.json docs/diagrams/x.html node .claude/skills/archify/bin/to-svg.mjs docs/diagrams/x.html docs/diagrams/x.svg ``` ```markdown ![System architecture](diagrams/x.svg) ``` The SVG keeps the theme the HTML was delivered in, renders inline everywhere, and stays diffable in git. Ship **both** when the diagram benefits from the viewer: the SVG inline for reading, plus a line linking the HTML for the interactive version (guided views, present mode, export). The SVG drops that interactive chrome by design — it is the diagram only. **IMPORTANT**: **Do not** start implementing code.
GitHubで見る