doc-synclisted
Install: claude install-skill gcharang/claude-config
# Doc Sync
Maintains the CLAUDE.md navigation hierarchy and README.md invisible knowledge
docs across a repository. This skill is self-contained and performs all
documentation work directly.
## Documentation Conventions
For authoritative CLAUDE.md and README.md format specification:
<file working-dir=".claude" uri="conventions/documentation.md" />
The conventions/ directory contains all universal documentation standards.
## Scope Resolution
Determine scope FIRST:
| User Request | Scope |
| ------------------------------------------------------- | ----------------------------------------- |
| "sync docs" / "update documentation" / no specific path | REPOSITORY-WIDE |
| "sync docs in src/validator/" | DIRECTORY: src/validator/ and descendants |
| "update CLAUDE.md for parser.py" | FILE: single file's parent directory |
For REPOSITORY-WIDE scope, perform a full audit. For narrower scopes, operate only within the specified boundary.
## Workflow
### Phase 1: Discovery
Map directories requiring CLAUDE.md verification:
```bash
# Find all directories (excluding .git, node_modules, __pycache__, etc.)
find . -type d \( -name .git -o -name node_modules -o -name __pycache__ -o -name .venv -o -name target -o -name dist -o -name build \) -prune -o -type d -print
```
For each directory in scope, record:
1. Does CLAUDE.m