driangle/ai-powers/audit-docs
Claude Code and agent skill by driangle/ai-powers
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install driangle/ai-powers/audit-docsSKILL.md
Audit Documentation
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.
Instructions
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 tag
If no arguments are provided, run a full audit and produce a report (no fixes).
Phase 1: Understand the project
Before auditing, understand what kind of project this is and what documentation surfaces exist.
- Read project metadata: Check
package.json,Cargo.toml,pyproject.toml,go.mod,Makefile, or similar to understand the project type, name, and structure. - Find documentation: Look for docs in common locations:
docs/,doc/,documentation/README.md,CHANGELOG.md- Doc site sources (e.g.,
apps/docs/,website/,site/,docusaurus/,.vitepress/,mkdocs.yml) - API docs (e.g.,
api-docs/, generated docs) - Man pages or help text
- Identify documentable surfaces — determine which of these apply to the project:
- CLI commands & flags (if the project has a CLI)
- Public API (exported functions, classes, types for libraries)
- Configuration options (config files, environment variables)
- Web features / UI pages (if the project has a web interface)
- REST/GraphQL/RPC endpoints (if the project exposes an API)
Phase 2: Discover actual surfaces
For each documentable surface identified in Phase 1, discover what actually exists in the code.
CLI commands (if applicable)
- Build the project if needed to get a working binary.
- Run
<binary> --helpand parse available commands. - For each command, run
<binary> <command> --helpto capture usage, description, and all flags. - Recurse into subcommands.
- Capture global flags.
Public API (if applicable)
- Find all exported symbols: functions, classes, types, constants.
- Check for JSDoc/docstrings/doc comments on exports.
- Note which exports lack documentation.
Configuration (if applicable)
- Find config file schemas, types, or parsing code.
- Extract all supported config keys, their types, and defaults.
- Check for environment variable support.
Web features / endpoints (if applicable)
- Find route definitions and page components.
- Find API endpoint handlers.
- Compile a list of pages, routes, and endpoints.
Phase 3: Cross-reference against documentation
For each discovered item, check whether it is documented:
- Is it mentioned at all? Search the documentation for references to each item.
- Is the documentation accurate? Compare documented behavior (flag names, defaults, types, descriptions) against actual code.
- Are there examples? Check if usage examples exist for key features.
- Are there orphaned docs? Look for documentation that references items that no longer exist in the code.
Also check documentation infrastructure:
- Navigation/sidebar: Do all listed pages exist? Are there orphan pages not linked from navigation?
- Internal links: Are cross-references between doc pages valid?
- Version references: Do version numbers in docs match the actual project version?
Phase 4: Generate report
Produce a structured markdown report:
Print the report to stdout.
Phase 5: Fix gaps (only if --fix was passed)
If $ARGUMENTS contains --fix:
- For each gap identified in Phase 4, update the relevant documentation file.
- Follow the existing documentation style and formatting conventions in each file.
- For new sections, match the structure and tone of surrounding content.
- After making changes, list all modified files.
If --fix was NOT passed, end with: "Run /audit-docs --fix to automatically update documentation."
Error Handling
- If a build step fails, report the error and continue with source-level analysis.
- If a command's
--helpoutput can't be parsed, note it in the report and continue. - If a documentation file doesn't exist, note it as a gap.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/codebase-analysis/audit-docs/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/driangle/ai-powers/audit-docs)