Audit documentation coverage for a project: discover CLI commands, public APIs, configuration options, and features, then cross-reference against documentation to find gaps, stale content, and missing sections. Use when the user wants to check if docs are up to date, find undocumented features, or verify doc completeness.
Ships in codebase-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Discover all documented surfaces of the project (CLI commands, public APIs, configuration, features), then cross-reference against the actual documentation to identify gaps, outdated content, and missing sections.
Arguments in $ARGUMENTS are optional flags:
--fix — after reporting gaps, update the documentation files to fill them--scope <area> — limit the audit to a specific area (e.g., cli, api, config, features)--verbose — include per-item detail in the report--since-last-release — only check items added since the last git tagIf no arguments are provided, run a full audit and produce a report (no fixes).
Before auditing, understand what kind of project this is and what documentation surfaces exist.
package.json, Cargo.toml, pyproject.toml, go.mod, Makefile, or similar to understand the project type, name, and structure.docs/, doc/, documentation/README.md, CHANGELOG.mdapps/docs/, website/, site/, docusaurus/, .vitepress/, mkdocs.yml)api-docs/, generated docs)For each documentable surface identified in Phase 1, discover what actually exists in the code.
<binary> --help and parse available commands.<binary> <command> --help to capture usage, description, and all flags.For each discovered item, check whether it is documented:
Also check documentation infrastructure:
Produce a structured markdown report:
## Documentation Audit Report
### Summary
For each surface area, report:
- Total items: X (documented: Y, missing: Z, stale: W)
### Undocumented Items
For each undocumented item:
- Item name and type
- Where it's defined in code
- Which doc file(s) should cover it
### Stale / Inaccurate Documentation
Items where docs don't match reality:
- What the docs say vs what the code does
- File and location of the stale content
### Documentation Infrastructure Issues
- Broken links or references
- Orphan pages (exist but not linked)
- Missing pages (linked but don't exist)
- Version mismatches
### Top Recommendations
Prioritized list of the most impactful documentation improvements
Print the report to stdout.
--fix was passed)If $ARGUMENTS contains --fix:
If --fix was NOT passed, end with: "Run /audit-docs --fix to automatically update documentation."
--help output can't be parsed, note it in the report and continue.What SKILL.md sets; muted values are Claude Code's defaults
/codebase-analysis:audit-docsfrom codebase-analysis
npx claudepluginhub driangle/ai-powers --plugin codebase-analysis7 skills in this plugin
/api-reviewReview a library's public API for clarity, consistency, composability, predictability, edge-case handling, and correctness. Use when the user wants to review an API surface, check API design quality, or evaluate a library's exported interface. Designed for libraries and packages — not services, servers, or full applications./auditPerform a comprehensive codebase audit covering security, privacy, data integrity, architecture, and code quality. Use when the user wants to audit the codebase, check for security issues, or review code quality./dead-codeFind dead code in the codebase: unused exports, orphaned files, unreachable code paths, unused dependencies, and stale feature flags. Use when the user wants to clean up unused code or identify candidates for removal.Other plugins' skills for the same job