docs-sync-audit
Skill by github
Docs Sync Audit checks whether documentation still matches the code, configuration, commands and examples it describes. It is for maintainers, reviewers and release owners who ask if docs are stale or need updates after changes.
Install docs-sync-audit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-copilot/skills/docs-sync-audit ~/.claude/skills/docs-sync-auditRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-copilot/skills/docs-sync-audit ~/.gemini/antigravity-cli/skills/docs-sync-auditAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Docs Sync Audit is an agent skill that checks whether documentation still matches code, configuration, API behavior, commands and examples. It compares what the docs claim against what the code does, covering README files, setup guides, API docs, env docs, changelogs and examples. It stays read-only unless the user explicitly asks for doc updates.
The audit starts with a bundled script, scripts/docs_drift.py, which checks documented npm run scripts and make targets, relative Markdown links, and environment variable names in both directions. The assistant then reviews wording and completeness itself. Findings are ranked P0 to P3 with evidence from both the code and the docs. It is aimed at people who ask whether docs are stale or need updates after code changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Full-repo docs auditInventories docs surfaces and ranks them by risk when no scope is given.
- PR and branch auditsCompares docs against the changed files of a PR or branch.
- docs_drift.py scriptChecks npm scripts, make targets, Markdown links and env var names against the code.
- Severity rankingLabels findings P0 to P3 with evidence from both code and docs.
- Generated docs checkIdentifies the generator and source before recommending edits to generated docs.
What you need
- Python, for the bundled docs_drift.py script
- Git, for checking repository status and changed files
Try asking
- Audit the docs for this pull request before I merge it
- Check whether the README setup steps still match the code
- Find env vars used in code that are missing from the env docs
Good to know
- Read-only unless the user explicitly asks to update docs.
- The script does not judge prose, wording or completeness.
- The script cannot see dynamic imports, so unreachable-module findings need manual confirmation.
- Backticked path checks (--check-paths) are off by default because results are noisy.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/docs-sync-audit/SKILL.md, skills/docs-sync-audit/scripts/docs_drift.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
scripts/docs_drift.py21 KB
Alternatives to docs-sync-audit
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
docs-sync-audit: common questions
Does Docs Sync Audit change my documentation?
No. It stays read-only unless the user explicitly asks to update docs. Updates are made only for confirmed drift or selected gaps.
What does the docs_drift.py script check?
It checks documented npm run scripts and make targets against those that exist, relative Markdown links against the filesystem, and environment variable names between docs and code.
Does it audit every file in a repository?
If no scope is given, it runs a full-repo audit, but deep inspection is depth-limited. Surfaces that were surveyed but not deeply inspected are listed in the report.
How do I install docs-sync-audit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is docs-sync-audit free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is docs-sync-audit safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to docs-sync-audit?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
