claude-md-refresh
Installation
SKILL.md
CLAUDE.md Refresh Skill
Purpose
Intelligently merge updates from the CC Commander template into an existing CLAUDE.md file without destroying user customizations.
Algorithm
- Parse existing CLAUDE.md into sections (split on
##headers) - Parse latest template into sections
- Classify each section:
- MATCH: exists in both -> compare content, flag if template is newer
- MISSING: in template but not in existing -> recommend adding
- CUSTOM: in existing but not in template -> preserve untouched
- Generate merge plan showing adds, updates, and preserves
- Apply after confirmation — insert new sections, update outdated ones, keep custom