Install any skill in seconds. Free to start, no credit card required.
Get Started Free →This skill should be used when verifying documentation claims against codebase reality. Triggers on "audit docs", "verify documentation", "check docs", "docs accurate", "documentation drift", "before release", "after refactor", "docs don't match". Uses two-pass extraction with pattern expansion for comprehensive detection.
.claude/skills/aiskillstore-documentation-audit/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-10 | ✗→✓ | ▲ Improved | -39% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 38% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -29% | 0% |
<!-- ABOUTME: Documentation audit skill for verifying claims against codebase --> <!-- ABOUTME: Uses two-pass extraction with pattern expansion for comprehensive detection -->
Systematically verify claims in documentation against the actual codebase using a two-pass approach.
Core principle: Low recall is worse than false positives—missed claims stay invisible.
Two-pass process:
plans/, audits/)docs/audits/AUDIT_REPORT_YYYY-MM-DD.md| Type | Example | Verification | |------|---------|--------------| | file_ref | scripts/foo.py | File exists? | | config_default | "defaults to 'AI Radio'" | Check schema/code | | env_var | STATION_NAME | In .env.example + code? | | cli_command | --normalize flag | Script supports it? | | behavior | "runs every 2 minutes" | Check timers/code |
Verification confidence:
After Pass 1, analyze false claims and search for similar patterns:
Dead script found: diagnose_track_selection.py
→ Search: all script references → Found 8 more dead scripts
Wrong interval: "every 10 seconds"
→ Search: "every \d+ (seconds?|minutes?)" → Found 3 more
Wrong service name: ai-radio-break-gen.service
→ Search: service/timer names → Found naming inconsistenciesCommon patterns to always check:
scripts/*.py referencesevery \d+ (seconds?|minutes?)ai-radio-*.service, *.timerRADIO_* environment variables--flag patterns in bash blocksGenerate docs/audits/AUDIT_REPORT_YYYY-MM-DD.md:
markdown# Documentation Audit Report Generated: YYYY-MM-DD | Commit: abc123 ## Executive Summary | Metric | Count | |--------|-------| | Documents scanned | 12 | | Claims verified | ~180 | | Verified TRUE | ~145 (81%) | | **Verified FALSE** | **31 (17%)** | ## False Claims Requiring Fixes ### CONFIGURATION.md | Line | Claim | Reality | Fix | |------|-------|---------|-----| | 135 | `claude-sonnet-4-5` | Actual: `claude-3-5-sonnet-latest` | Update | ## Pattern Summary | Pattern | Count | Root Cause | |---------|-------|------------| | Dead scripts | 9 | Scripts deleted, docs not updated | ## Human Review Queue - [ ] Line 436: behavior claim needs verification
For execution checklist and anti-patterns: checklist.md For claim extraction patterns: extraction-patterns.md
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 1,909 | 5,730 | +200% | 1 | 1 | 0% | 238 | 1,620 | +581% | 0 | 0 | — |
case-02 | fail→fail | 4,189 | 4,944 | +18% | 1 | 1 | 0% | 251 | 1,066 | +325% | 0 | 0 | — |
case-03 | fail→fail | 21,275 | 5,368 | -75% | 1 | 1 | 0% | 3,767 | 1,212 | -68% | 0 | 0 | — |
case-04 | pass→pass | 10,419 | 8,010 | -23% | 1 | 1 | 0% | 1,896 | 2,165 | +14% | 0 | 0 | — |
case-05 | fail→fail | 11,303 | 14,803 | +31% | 1 | 1 | 0% | 2,013 | 2,795 | +39% | 0 | 0 | — |
case-06 | pass→pass | 10,225 | 9,689 | -5% | 1 | 1 | 0% | 1,878 | 2,660 | +42% | 0 | 0 | — |
case-07 | fail→fail | 7,654 | 9,028 | +18% | 1 | 1 | 0% | 1,346 | 2,302 | +71% | 0 | 0 | — |
case-08 | pass→pass | 7,902 | 3,850 | -51% | 1 | 1 | 0% | 1,376 | 1,558 | +13% | 0 | 0 | — |
case-09 | pass→pass | 11,772 | 4,634 | -61% | 1 | 1 | 0% | 1,866 | 1,755 | -6% | 0 | 0 | — |
case-10 | fail→pass | 14,804 | 3,312 | -78% | 1 | 1 | 0% | 2,435 | 1,491 | -39% | 0 | 0 | — |
case-11 | fail→pass | 16,727 | 7,742 | -54% | 1 | 1 | 0% | 2,676 | 2,127 | -21% | 0 | 0 | — |
case-12 | pass→pass | 10,882 | 8,171 | -25% | 1 | 1 | 0% | 1,741 | 2,316 | +33% | 0 | 0 | — |
case-13 | pass→pass | 12,703 | 6,752 | -47% | 1 | 1 | 0% | 2,197 | 1,967 | -10% | 0 | 0 | — |
case-14 | fail→fail | 9,257 | 5,698 | -38% | 1 | 1 | 0% | 1,425 | 1,811 | +27% | 0 | 0 | — |
case-15 | fail→pass | 14,049 | 6,653 | -53% | 1 | 1 | 0% | 2,115 | 1,938 | -8% | 0 | 0 | — |
case-16 | pass→pass | 8,405 | 3,443 | -59% | 1 | 1 | 0% | 1,316 | 1,484 | +13% | 0 | 0 | — |
case-17 | pass→pass | 10,082 | 6,825 | -32% | 1 | 1 | 0% | 1,680 | 2,058 | +23% | 0 | 0 | — |
case-18 | fail→pass | 9,048 | 6,479 | -28% | 1 | 1 | 0% | 1,436 | 1,985 | +38% | 0 | 0 | — |
case-19 | fail→pass | 10,391 | 1,980 | -81% | 1 | 1 | 0% | 1,657 | 1,184 | -29% | 0 | 0 | — |
case-20 | fail→pass | 13,433 | 4,565 | -66% | 1 | 1 | 0% | 2,125 | 1,538 | -28% | 0 | 0 | — |
case-21 | fail→pass | 12,413 | 9,018 | -27% | 1 | 1 | 0% | 1,842 | 2,271 | +23% | 0 | 0 | — |
case-22 | pass→pass | 11,760 | 7,900 | -33% | 1 | 1 | 0% | 2,005 | 2,222 | +11% | 0 | 0 | — |
case-23 | pass→pass | 11,779 | 7,786 | -34% | 1 | 1 | 0% | 1,745 | 2,043 | +17% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 22 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +30 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.