← ClaudeAtlas

sync-docslisted

Sync documentation workflow - reads codebase and docs folder to generate structured output docs with architecture, use cases, diagrams, and README index. Includes automated review loop. Use when user says "sync docs", "sync documentation", "generate docs", "update docs sync", "doc sync".
phuthuycoding/moicle · ★ 10 · AI & Automation · score 74
Install: claude install-skill phuthuycoding/moicle
# Sync Docs Workflow Automated workflow that reads codebase and existing docs to generate a complete, structured documentation output with architecture overview, use case diagrams, and a README index linking all sub-files. ## Workflow Overview ``` ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ 1. SCAN │──▶│1.5 CONFIRM──▶│2. GENERATE──▶│ 3. REVIEW │──▶│4. COMPLETE│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘ ▲ │ │ Feedback │ └──────────────┘ (loop until pass) ``` **Key**: Phase 1.5 CONFIRM asks user to choose between REFACTOR (full restructure) or UPDATE (keep structure, update & link only). Phase 3 REVIEW automatically loops back to Phase 2 GENERATE if issues are found. --- ## Phase 1: SCAN **Goal**: Read and understand the entire codebase and existing docs ### Actions 1. **Identify project stack**: - Check `package.json`, `go.mod`, `pubspec.yaml`, `composer.json`, etc. - Determine primary language and framework 2. **Read existing documentation**: ```bash # Find all doc files find . -name "*.md" -not -path "*/node_modules/*" -not -path "*/vendor/*" -not -path "*/.dart_tool/*" | sort # Find existing docs folder ls -la docs/ 2>/dev/null ``` 3. **Map codebase structure**: ```bash # Get directory tree (exclude build artifacts