documentation-audit

Audit project documentation against an opinionated baseline with drift detection and gap planning.

3|5|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/BenSheridanEdwards/ArchitectPlaybook --skill documentation-audit-bensheridanedwards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-audit
Source: https://github.com/BenSheridanEdwards/ArchitectPlaybook/tree/main/documentation-audit
Command: npx skills add https://github.com/BenSheridanEdwards/ArchitectPlaybook --skill documentation-audit-bensheridanedwards

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Project documentation drifts out of sync with code: READMEs reference deleted scripts, ADRs go stale, public APIs ship undocumented, and broken links accumulate. This Skill audits a TypeScript project's documentation against an opinionated four-layer baseline and produces a structured findings report plus an optional implementation plan. ## Core Features & Use Cases - Four-layer audit: Covers project entry and onboarding (README, LICENSE, .env.example), architectural and decision docs (ADRs, diagrams, per-feature READMEs), code-level docs (TSDoc/JSDoc coverage, TODO hygiene, commented-out code), and operational docs with drift detection (deployment, rollback, monitoring, link resolution). - Static-first with optional enrichment: Read-only by default; internal links are always checked against the file system, and --with-link-check optionally HEAD-requests external URLs. - Structured outputs: Writes findings.md, findings.json (schema 2.0.0), snapshot.md, and metadata.json to .architect-audits/documentation-audit/, then offers to generate a prioritized implementation plan. - Use Case: Run /documentation-audit --with-link-check on a TypeScript monorepo before a release to catch README commands referencing removed package.json scripts, stale TODOs older than 90 days, and broken external links, then generate a remediation plan ordered by audience. ## Quick Start Ask the AI to run the documentation audit on this repository with default settings and then generate an implementation plan for the gaps it finds.

Frequently Asked Questions about documentation-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit project documentation for drift and missing docs?

Run the documentation-audit skill against the repository root. It checks README completeness, ADR presence and freshness, TSDoc/JSDoc coverage on public exports, TODO staleness, and whether README commands match package.json scripts, then writes findings to .architect-audits/documentation-audit/.

How to check broken links in Markdown documentation?

Internal and relative Markdown links are always validated against the file system during the audit. For external URLs, pass the --with-link-check flag, which HEAD-requests each link with a 5-second timeout and reports unreachable URLs.

Does the documentation audit work for libraries without deployments?

Yes. The audit detects project shape from configuration files, and for library-only projects it marks deployment, rollback, monitoring, and feature-flag checks as not-applicable with null status while still running all drift detection checks.

Can I customize documentation audit thresholds like README length or TODO age?

Yes. Threshold flags include --threshold-readme-min-lines (default 30), --threshold-adr-staleness-days (180), --threshold-todo-staleness-days (90), --threshold-doc-staleness-days (180), and coverage thresholds for feature docs and public API documentation.

Does the documentation audit modify my files?

No. The skill is strictly read-only and never accepts an --apply flag. It writes reports to .architect-audits/documentation-audit/ and, only after explicit confirmation, generates a descriptive implementation-plan.md without touching project files.