Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Update URLs to free Cloudflare Pages hosting (docsync.pages.dev)
What This Skill Does
DocSync generates documentation from source code using tree-sitter for AST parsing across 11 languages. It detects documentation drift, finding where code changed but docs were not updated, and can install git hooks to enforce updates on every commit. Free tier covers one-shot doc generation; Pro and Team tiers add drift detection, auto-fix, onboarding guides, and architecture docs.
All parsing and license validation happen locally with no network calls, so it works in air-gapped environments and never sends source code to external servers.
When to use it
- Generating a README after writing a new TypeScript library
- Checking if API docs are stale after a refactor
- Blocking commits when critical documentation is missing
- Creating an onboarding guide for engineers joining a large codebase
- Finding undocumented functions added over the past sprint
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Check if my docs are up to date in the src/ directory
- 1Validates Pro license key from config
- 2Parses all source files in src/ with tree-sitter to extract symbols, signatures, and exports
- 3Compares extracted symbols against existing documentation files
- 4Identifies new undocumented symbols, changed signatures with stale docs, and deleted symbols still referenced in docs
- 5Outputs a drift report with severity levels: critical, warning, and info
Drift report listing every out-of-sync documentation item by file, symbol, and severity level
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.