Skip to content
ln-600-docs-auditor logo

Documentation Auditor

ln-600-docs-auditor

Audit project documentation quality across 8 categories (Hierarchy, SSOT, Compactness, Requirements, Actuality, Legacy, Stack Adaptation, Semantic Content). Delegates to ln-601 for deep semantic verification of project documents. Use when documentation needs quality review, after major doc update...

SKILL.md

Full skill instructions

Documentation Auditor

Audit project documentation quality. Universal for any tech stack.

Purpose

  • Proactively compress - find all opportunities to reduce size while preserving value
  • Eliminate meaningless, redundant, and verbose content
  • Convert prose to structured formats (tables, lists)
  • Verify documentation hierarchy with CLAUDE.md as root
  • Detect duplication and enforce Single Source of Truth
  • Ensure docs match current code state
  • Semantic verification - delegate to ln-601 to verify content matches SCOPE and codebase reality

Invocation

  • Direct: User invokes for documentation quality review
  • Pipeline: Called by ln-100-documents-pipeline (Phase 5, if auditDocs=true)

Workflow

  1. Scan: Find all .md files in project (CLAUDE.md, README.md, docs/​**)
  2. Build Tree: Construct hierarchy from CLAUDE.md outward links
  3. Audit Categories 1-7: Run structural checks (see Audit Categories below)
  4. Semantic Audit (Category 8): For each project document, delegate to ln-601-semantic-content-auditor
  5. Score: Calculate X/​10 per category (including semantic scores from ln-601)
  6. Report: Output findings and recommended actions

Phase 4: Semantic Audit Delegation

For each project document (excluding tasks/, reference/, presentation/):

FOR doc IN [CLAUDE.md, docs/​README.md, docs/​project/​*.md]:
    result = DELEGATE ln-601-semantic-content-auditor {
        doc_path: doc,
        project_root: project_root,
        tech_stack: detected_stack
    }
    semantic_findings.append(result.findings)
    semantic_scores[doc] = result.scores

Target documents: CLAUDE.md, docs/​README.md, docs/​documentation_standards.md, docs/​principles.md, docs/​project/​*.md

Excluded: docs/​tasks/, docs/​reference/, docs/​presentation/, tests/

Audit Categories

#CategoryWhat to Check
1Hierarchy & LinksCLAUDE.md is root; all docs reachable via links; no orphaned files; no broken links
2Single Source of TruthNo content duplication; duplicates replaced with links to source; clear ownership
3Proactive CompressionEliminate verbose/​redundant content; prose→tables; remove meaningless info; compress even under-limit files; see size_limits.md
4Requirements ComplianceCorrect sections; within size limits; no code blocks (tables/​ASCII diagrams/​text only); stack-appropriate doc links
5Actuality (CRITICAL)Verify facts against code: paths exist, functions match, APIs work, configs valid; outdated docs are worse than none
6Legacy CleanupNo history sections; no "was changed" notes; no deprecated info; current state only
7Stack AdaptationLinks/​refs match project stack; no Python examples in .NET project; official docs for correct platform
8Semantic ContentDelegated to ln-601: Content matches SCOPE; serves project goals; descriptions match actual code behavior; architecture/​API docs reflect reality

Output Format

## Documentation Audit Report - [DATE]

### Compliance Score

| Category | Score | Issues |
|----------|-------|--------|
| Hierarchy & Links | X/​10 | N issues found |
| Single Source of Truth | X/​10 | N duplications |
| Proactive Compression | X/​10 | N compression opportunities |
| Requirements Compliance | X/​10 | N violations |
| Actuality | X/​10 | N mismatches with code |
| Legacy Cleanup | X/​10 | N legacy items |
| Stack Adaptation | X/​10 | N stack mismatches |
| Semantic Content | X/​10 | N semantic issues (via ln-601) |
| **Overall** | **X/​10** | |

### Critical Findings

- [ ] **[Category]** `path/​file.md:line` - Issue description. **Action:** Fix suggestion.

### Recommended Actions

| Priority | Action | Location | Category |
|----------|--------|----------|----------|
| High | Remove duplicate section | docs/​X.md | SSOT |
| Medium | Add link to CLAUDE.md | docs/​Y.md | Hierarchy |

Scoring Rules

ScoreMeaning
10/​10No issues
8-9/​10Minor issues (formatting, small redundancies)
6-7/​10Moderate issues (some duplication, missing links)
4-5/​10Significant issues (orphaned docs, outdated content)
1-3/​10Critical issues (major mismatches, broken hierarchy)

Reference Files

Critical Notes

  • Fix content, not rules: NEVER modify standards/​rules files (*_standards.md, *_rules.md, *_limits.md) to make violations pass. Always fix the violating files instead.
  • Verify facts against code: Actively check every path, function name, API, config mentioned in docs. Run commands. Outdated docs mislead - they're worse than no docs.
  • Compress always: Size limits are upper bounds, not targets. A 100-line file instead of 300 is a win. Always look for compression opportunities.
  • Meaningless content: Remove filler words, obvious statements, over-explanations. If it doesn't add value, delete it.
  • No code in docs: Documents describe algorithms in tables or ASCII diagrams. Code belongs in codebase.
    • Forbidden: Code blocks, implementation snippets
    • Allowed: Tables, ASCII diagrams, Mermaid, method signatures (1 line)
    • Instead of code: "See Official docs" or "See src/​file.cs:42"
  • Format Priority: Tables/​ASCII > Lists (enumerations only) > Text (last resort)
  • Stack adaptation: Verify all documentation references match project stack. .NET project must not have Python examples. Check official doc links point to correct platform (Microsoft docs for C#, MDN for JS, etc.)
  • Code is truth: When docs contradict code, always update docs. Never "fix" code to match documentation.
  • Delete, don't archive: Legacy content should be removed, not moved to "archive"
  • No history: Documents describe current state only; git tracks history

Version: 4.0.0 Last Updated: 2026-01-28

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View