mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
## Smart Documentation Generation - Automatically detects existing documentation and skips Phase 2/3 when docs exist - Jump directly to Phase 4 (SKILL.md generation) for fast SKILL index updates - Phase 4 always executes to ensure SKILL.md stays synchronized - Explicit --regenerate flag for forced full documentation refresh ## Parameter Naming Correction - Reverted --update back to --regenerate for accurate semantic meaning - "regenerate" = delete and recreate (destructive operation) - "update" was misleading (implied incremental update, not implemented) ## Execution Paths - Full Path: All 4 phases (no docs OR --regenerate specified) - Skip Path: Phase 1 → Phase 4 (docs exist AND no --regenerate) - Added comprehensive TodoWrite patterns and flow diagrams for both paths ## Phase 1 Enhancement - Step 4: Determine Execution Path - decision logic with SKIP_DOCS_GENERATION flag - Checks existing documentation count - Evaluates --regenerate flag presence - Displays appropriate skip or regeneration messages ## Benefits - 5-10x faster SKILL updates when documentation already exists - Always fresh SKILL.md index reflecting current documentation structure - Explicit control via --regenerate flag for full refresh ## Modified Files - .claude/commands/memory/skill-memory.md (553 lines, +59 lines for skip logic) - CHANGELOG.md (added v5.2.2 release notes) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>