acedergren/agentic-tools/doc-sync

Claude Code and agent skill by acedergren/agentic-tools

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when auditing or fixing drift between project documentation and the actual codebase. Detects stale architecture diagrams, wrong file paths, outdated test counts, and undocumented structural changes. Pass 'fix' to apply repairs; default is report-only. Keywords: doc drift, stale docs, sync docs, documentation audit, update docs, architecture docs outdated. Triggers on "audit doc drift" or "sync documentation".

Install

npx vskill@latest install acedergren/agentic-tools/doc-sync

SKILL.md

Documentation Sync Audit

When to Use

Load this skill when the user request matches the frontmatter description for Documentation Sync Audit.

Audit project docs against codebase reality. Report drift or fix it.

NEVER

  • Never update a doc based on what the code should look like — only sync to what it actually is now.
  • Never fix docs for a section you didn't audit — partial fixes create false confidence.
  • Never mark a roadmap item complete based on code presence alone — check git log for the deliberate completion commit.
  • Never skip auditing CLAUDE.md / agent instructions — stale agent instructions cause cascading errors in future sessions.

Drift Classification: What Actually Goes Stale

Most doc-code drift falls into four categories with different detection approaches:

Drift TypeDetection SignalFalse Positive Risk
Structural driftDirectory tree, plugin/middleware chain orderLow — filesystem is ground truth
Path rotFile paths in docs that no longer existLow — use check-doc-paths.js
Count driftTest counts, permission counts, route countsMedium — recount from actual files
Roadmap lagCompleted work not reflected in docsHigh — confirm git log intent

Decision: Audit vs Fix

  • $ARGUMENTS = empty or audit → report only, no edits
  • $ARGUMENTS = fix → report then apply targeted edits, commit

When fixing: edit the minimum to correct drift. Don't rewrite prose, restructure sections, or add new content — this is sync, not authoring.

What to Audit

Architecture docs — plugin/middleware chain order, route module list, monorepo package list, directory structure tree.

Security docs — security plugins listed vs what's registered, permission counts, any security-related commits since last doc update (git log --oneline --since="$(git log -1 --format=%ai docs/SECURITY.md)" -- src/).

Test docs — actual test file count vs documented count, pass/fail counts (run suite to get current numbers).

Roadmap/changelog — git log for completed work not reflected in any phase. Flag commits with feat: or fix: prefixes that postdate the last roadmap update.

CLAUDE.md / agent instructions — naming conventions match actual patterns, documented file paths exist, anti-patterns section is current.

Scripts

bash
bash scripts/list-doc-targets.sh
node scripts/check-doc-paths.js README.md docs/ARCHITECTURE.md

Report Format

| Doc | Section | Issue | Severity |
|-----|---------|-------|----------|

Severity: Critical (broken paths, missing security docs), Warning (stale counts, missing routes), Info (minor wording drift, outdated roadmap phases).

Commit (fix mode only)

docs: sync documentation with codebase [doc-sync]

Arguments

$ARGUMENTS: Optional user-provided target, path, environment, symptom, or constraint. When empty, infer the narrowest safe scope from the current repository context and ask only if multiple high-impact choices remain.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
7-day trend score
11

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 7 months ago.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/acedergren/agentic-tools/doc-sync/badge)](https://verified-skill.com/skills/acedergren/agentic-tools/doc-sync)

Something wrong with this skill or its page? Tell us.