/claude-dev-infrastructure:document-syncfrom claude-dev-infrastructure
Analyzes your codebase to detect documentation drift, verifying docs against actual code, config, and architecture. Generates actionable updates and trust scores for each document.
Ships in claude-dev-infrastructure. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill provides comprehensive documentation synchronization by analyzing your actual codebase, tech stack, configuration, and architecture to ensure all documentation remains current and accurate. It operates on a "verify, never assume" principle, performing end-to-end comparisons against real code and dependencies to detect documentation drift automatically.
Natural Language Commands:
Slash Commands:
/docs-sync — Runs analysis and outputs a complete report on outdated/inaccurate sections/docs-update-strict — Suggests only changes verified by found code/config evidence/docs-rewrite-missing — Fills gaps for undocumented features based on live source/docs-patch-pr — Makes all doc changes as a PR, zero surprisesExecute the system scanning script to analyze your codebase:
# Run comprehensive system scan
python3 .claude/skills/document-sync/scripts/system_scan.py
This phase automatically:
package.json, requirements.txt, pom.xml, etc. for frameworks, DBs, and build toolssrc/, lib/, app/, and config/ directories for real usageKey Outputs: system_state.json and code_features_report.md
Execute the documentation verification script:
# Verify all documentation against code
python3 .claude/skills/document-sync/scripts/verify_docs.py
This phase:
Key Outputs: doc_verification_report.md and docs_update_plan.md
Based on the verification results, choose your update approach:
# Dry run - see what would change
python3 .claude/skills/document-sync/scripts/update_docs.py --mode=dry-run
# Suggest mode - get suggestions for review
python3 .claude/skills/document-sync/scripts/update_docs.py --mode=suggest
# Auto-update with backups
python3 .claude/skills/document-sync/scripts/update_docs.py --mode=auto-update
Create .claude/document-sync-skill.yml in your project root:
mode: suggest # suggest | dry-run | auto-update
protected_docs:
- README.md
- docs/security.md
review_required_for:
- section removal
- breaking doc changes
output_reports:
- doc_verification_report.md
- docs_update_plan.md
doc_verification_report.md
| Doc Section | Status | Evidence Found | Action |
|---|---|---|---|
/docs/api.md GET /users | Current | Endpoint in code (src/routes/) | Keep |
/docs/db-setup.md PouchDB | Outdated | No mention in codebase | Remove/Update |
/README.md Feature X | Missing | Found in src/feature-x.ts | Add details |
docs_update_plan.md
/docs/db-setup.md (no longer in code)/README.md for unlisted Feature X/docs/config.md section on env vars (now using .env.local)/docs/usage.md still runThis skill includes specialized scripts and references for comprehensive document synchronization:
CRITICAL: Before claiming ANY issue, bug, or problem is "fixed", "resolved", "working", or "complete", the following verification protocol is MANDATORY:
REQUIRED: Use the AskUserQuestion tool to explicitly ask the user to verify the fix:
"I've implemented [description of fix]. Before I mark this as complete, please verify:
1. [Specific thing to check #1]
2. [Specific thing to check #2]
3. Does this fix the issue you were experiencing?
Please confirm the fix works as expected, or let me know what's still not working."
Remember: The user is the final authority on whether something is fixed. No exceptions.
assets/config_schemas/document-sync-schema.json (opens in a new tab)assets/report_templates/update_plan.md (opens in a new tab)assets/report_templates/verification_report.md (opens in a new tab)references/doc_validation_rules.md (opens in a new tab)references/tech_detection_patterns.md (opens in a new tab)references/update_templates.md (opens in a new tab)scripts/system_scan.py (opens in a new tab)scripts/update_docs.py (opens in a new tab)scripts/verify_docs.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/AI-Truthfulness-EnforcerAI Truthfulness EnforcerMANDATORY verification system that prevents Claude Code instances from making false claims or fabricating evidence. Enforces cryptographic verification, real testing evidence, and automatic claim validation before any success statements can be made./chief-architectPERSONAL APP ARCHITECT - Strategic development orchestrator for personal productivity applications. Analyzes project context, makes architectural decisions for single-developer projects, delegates to specialized skills, and ensures alignment between user experience goals and technical implementation. Optimized for personal apps targeting 10-100 users./crisis-debugging-advisorCrisis Debugging Advisor**Category**: Development Strategy & Debugging Methodology/data-safety-auditorComprehensive data safety auditor for Vue 3 + Pinia + IndexedDB + PouchDB applications. Detects data loss risks, sync issues, race conditions, and browser-specific vulnerabilities with actionable remediation guidance./master-plan-managerSafe MASTER_PLAN.md management with backup, validation, and intelligent updates. Use when updating task tracking, adding features to roadmap, or modifying project documentation./meta-skill-routerMeta Skill Router**Purpose**: Intelligent skill routing and management system for automated skill selection and execution.npx claudepluginhub ananddtyagi/cc-marketplace --plugin claude-dev-infrastructureOther plugins' skills for the same job