From documentation
Create or update Markdown documentation for the project's public API and modules
How this skill is triggered — by the user, by Claude, or both
Slash command
/documentation:update-docsThis 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 Markdown documentation for the project and write it to the output directory.
Generate Markdown documentation for the project and write it to the output directory.
The output directory is $ARGUMENTS if provided, otherwise default to docs/.
Check for existing docs: Glob <output-dir>/**/*.md to find any existing documentation files. Read each one so
its hand-written content can be preserved and updated rather than replaced.
Understand the project:
build.gradle.kts, settings.gradle.kts, package.json, Cargo.toml, go.mod, pyproject.toml, or
whatever build/manifest file exists to identify the project name, language, and module layout.src/**/*, lib/**/*, cmd/**/*, etc.) to discover every module and public file.Plan the doc structure: Group source files into logical sections — one doc file per module or top-level package
is a good default. If the project is small enough (≤ 5 source files), a single <output-dir>/api.md is fine.
Propose a sensible file layout before writing.
Write a doc file for each module/package:
Each file should follow this structure (omit sections that don't apply):
# ModuleName
One-sentence description of what this module does and why it exists.
## Overview
2–4 sentence explanation of the module's responsibilities and where it fits in the larger system.
## Public API
### FunctionOrClassName
Signature (in the project's language) followed by a plain-English description of what it does, its parameters,
return value, and any notable edge cases or errors.
(Repeat for each exported symbol.)
## Usage examples
Fenced code block showing the most common usage pattern.
## Dependencies
Bullet list of other modules or external libraries this module depends on, if non-obvious.
Write or update <output-dir>/index.md: Create a table of contents that lists every doc file with a one-line
description and a relative link.
Preserve hand-written content: Any section in an existing doc file that is not derivable from source code (e.g., design rationale, migration guides, diagrams) must be carried over verbatim.
Report: List every file written or updated, and note any public symbols that were undocumented in the source and lacked enough context to document accurately (so the user can fill them in).
# for the module name, ## for sections, ### for individual symbols.<output-dir>/index.md with a placeholder and tell the user.npx claudepluginhub mattbobambrose/mattbobambrose-claude-skills --plugin documentationGenerates API references, updates README.md, and creates changelogs from code docstrings, annotations, git history in Python/JS/TS/Rust/Go projects with pyproject.toml/package.json/Cargo.toml/go.mod.
Generates documentation in three modes: function-level (JSDoc/docstrings), module-level (directory READMEs), and API reference (endpoints/exports). Reads and matches existing project doc style.