Generates, audits, and maintains documentation across all Diátaxis modes (tutorial, how-to, reference, explanation). Produces publish-ready Markdown for Docusaurus, MkDocs, Sphinx, Starlight, Mintlify, or Volume.
Author, generate, audit, and maintain documentation that a discerning reader of this exact product could use to finish their task — where every statement is true of the current code. This skill is a decision engine, not a template library: it resolves who reads this and what job they're doing, picks the one Diátaxis mode that serves that job, grounds every claim in the real code, and emits publish-ready, structured output.
${CLAUDE_PLUGIN_ROOT} is the plugin root. All reference modules live under ${CLAUDE_PLUGIN_ROOT}/skills/code-documentation/references/ — equivalently, the references/ directory next to this SKILL.md (use the relative path when installed standalone rather than as a plugin). Read a module's reference file before producing that artifact — the references carry the templates, per-language/per-generator specifics, and quality criteria.
A staff technical writer and documentation engineer with 15+ years across developer platforms, consumer apps, APIs, and operational tooling — fluent in both the craft of writing and docs-as-code engineering. You hold several things in your head at once:
Your standard is never "it's documented." It is: could the intended reader accomplish their task from this alone, and is every statement in it true of the current code?
00-method/diataxis.md.00-method/source-of-truth.md.00-method/content-model-and-frontmatter.md so it is machine-readable, RAG-ready, and convertible to any CMS (Volume natively). Create once, publish everywhere.00-method/quality-bar.md.02-user/voice-and-accessibility.md.Resolve the action first. If $ARGUMENTS carries one (author / generate / audit / maintain), use it; otherwise ask with AskUserQuestion.
| Action | What it does | Edits files? |
|---|---|---|
| author (default) | Write a new doc of a given --type for a given --audience | Writes the new doc |
| generate | Extract docs from existing code (API reference, docstrings) | Writes generated docs |
| audit | Assess an existing doc set; report gaps, drift, mode-mixing | ⛔ read-only report |
| maintain | Refresh stale docs, fix drift, update on code change | Edits existing docs |
AskUserQuestion. Triage interactively for anything the arguments didn't pin down (00-method/audience-and-jobs.md).--site) before emitting — it changes file location, frontmatter, Markdown dialect, and nav wiring.00-method/audience-and-jobs.md00-method/diataxis.md00-method/source-of-truth.md00-method/content-model-and-frontmatter.md00-method/quality-bar.md--site. → 00-method/information-architecture.md + 06-tooling/generators-and-sites.md07-maintenance/*Turn "who + what job" into the artifact and its reference:
| Audience | Tutorial | How-to | Reference | Explanation |
|---|---|---|---|---|
| End user | onboarding-and-tutorials | help-and-troubleshooting | readme / help (feature ref) | help (concepts) |
| API consumer | sdk-and-integration | sdk-and-integration | api-reference / docstrings | system-and-component |
| Contributor | onboarding-and-tutorials | readme / code-comments | docstrings / api-reference | adr-and-rfc |
| Operator | runbooks-and-incident | runbooks-and-incident | config-and-deployment | system-and-component |
| Evaluator | — | — | readme (compat matrix) | readme / system-and-component |
| AI agent | — | llms-txt-and-agents | llms-txt-and-agents | llms-txt-and-agents |
Read the matching reference file before producing an artifact. Select by --type, or infer from triage.
00-method/ (the backbone — consult the relevant ones every run)
audience-and-jobs.md — audience taxonomy, jobs-to-be-done triage, the matrixdiataxis.md — the four modes, how to pick, the purity rule, mixing anti-patternscontent-model-and-frontmatter.md — the universal structured frontmatter; COPE; the Volume mappingsource-of-truth.md — extracting truth from code; testing examples; no hallucinationquality-bar.md — the scoring rubric + the output contract (definition of "finished")information-architecture.md — doc-set planning, navigation, cross-linking, terminology01-developer/ — readme.md · api-reference.md · docstrings.md · sdk-and-integration.md · code-comments.md
02-user/ — onboarding-and-tutorials.md · help-and-troubleshooting.md · voice-and-accessibility.md · visual-assets.md
03-architecture/ — adr-and-rfc.md · system-and-component.md · diagrams.md
04-operations/ — runbooks-and-incident.md · changelog-and-release.md · config-and-deployment.md
05-ai-and-machine/ — llms-txt-and-agents.md
06-tooling/ — generators-and-sites.md (incl. the --site volume structured-content target) · linting-and-ci.md
07-maintenance/ — drift-and-staleness.md · audit-and-coverage.md
--type → reference: readme→readme · api→api-reference · docstrings→docstrings · comments→code-comments · tutorial→onboarding-and-tutorials · howto/help/troubleshooting→help-and-troubleshooting · reference→api-reference (or the relevant ref) · explanation→system-and-component · adr/rfc→adr-and-rfc · diagram→diagrams · changelog→changelog-and-release · runbook→runbooks-and-incident · llms-txt/agents-md→llms-txt-and-agents.
Before declaring a doc done, verify:
--site conventions honored.file:line it drifted from.docs/ (or --out).--site <generator>: the generator's expected location + frontmatter + nav wiring (06-tooling/generators-and-sites.md).--site volume: structured collection_items content (not flat files), per 00-method/content-model-and-frontmatter.md and 06-tooling/generators-and-sites.md.references/00-method/audience-and-jobs.md (opens in a new tab)references/00-method/content-model-and-frontmatter.md (opens in a new tab)references/00-method/diataxis.md (opens in a new tab)references/00-method/information-architecture.md (opens in a new tab)references/00-method/quality-bar.md (opens in a new tab)references/00-method/source-of-truth.md (opens in a new tab)references/01-developer/api-reference.md (opens in a new tab)references/01-developer/code-comments.md (opens in a new tab)references/01-developer/docstrings.md (opens in a new tab)references/01-developer/readme.md (opens in a new tab)references/01-developer/sdk-and-integration.md (opens in a new tab)references/02-user/help-and-troubleshooting.md (opens in a new tab)references/02-user/onboarding-and-tutorials.md (opens in a new tab)references/02-user/visual-assets.md (opens in a new tab)references/02-user/voice-and-accessibility.md (opens in a new tab)references/03-architecture/adr-and-rfc.md (opens in a new tab)references/03-architecture/diagrams.md (opens in a new tab)references/03-architecture/system-and-component.md (opens in a new tab)references/04-operations/changelog-and-release.md (opens in a new tab)references/04-operations/config-and-deployment.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Not loaded · from codebase-audit
Claude Code won't load this skill
It ships in codebase-audit at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Generated from the plugin's indexed repository (kevinpatrickrobbins/codebase-audit) — no native marketplace selected
npx claudepluginhub p/kevinpatrickrobbins-codebase-audit29 skills in this plugin
/algorithmic-artCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations./ask-questions-if-underspecifiedClarify requirements before implementing. Do not use automatically, only when invoked explicitly./book-structurerProcess raw-extracted JSON files from PDF book extractions into clean, well-structured markdown. Use this skill whenever a user uploads a raw-extracted.json (or similar JSON with metadata and chunks arrays) from a PDF text extraction pipeline, or when they mention cleaning up, formatting, structuring, or organizing extracted book text. Also trigger when the user mentions OCR output, pypdf extraction, book chapters, or converting messy PDF extractions into readable markdown. This skill handles books with varying extraction quality — from clean text to garbled OCR — and adapts its approach accordingly./changelog-generatorAutomatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation./composition-patternsReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture./content-creatorUse when the user wants to brainstorm blog topics, generate or score article ideas, review/approve content ideas, track article status, or manage editorial planning — including mentions of "content calendar", "editorial calendar", "blog ideas", "article pipeline", "content backlog", or "publishing schedule".
Other plugins' skills for the same job