kevinzai/commander/claude-md-refresh
Claude Code and agent skill by kevinzai/commander
- community
Checking that the SKILL.md file is still in the repository.
Analyze and refresh CLAUDE.md files against the latest CC Commander template
Install
npx vskill@latest install kevinzai/commander/claude-md-refreshSKILL.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
Section Matching
Match by H2 header text (case-insensitive, ignoring leading/trailing whitespace). Known aliases: "Coding Standards" = "Code Style", "Workflow" = "Development Workflow"
Template Version Detection
Look for HTML comment at top of file:
If missing, assume v1.0.0.
Output Format
Show a clean summary table:
Then show the full diff of proposed changes using ```diff blocks.
Merge Rules
- Section ordering: New sections are inserted after the closest existing neighbor from the template order. If no neighbor exists, append before Rules.
- Content within matched sections: If the template section has new H3 subsections not present in the user's version, add them at the end of that section. Do not remove existing H3 subsections.
- H1 title: Preserve the user's name. Never overwrite with
[Your Name]. - Version comment: Update to the current template version after applying changes.
- Whitespace: Normalize to single blank lines between sections. No trailing whitespace.
Safety
- NEVER delete custom sections
- NEVER overwrite user's name with [Your Name] placeholder
- ALWAYS show diff before applying
- ALWAYS preserve existing content order where possible
- NEVER remove existing rules, principles, or workflow steps
- Only ADD or AUGMENT — never subtract
Integration
- Command:
/claude-md:refreshtriggers this skill - Hook:
claude-md-staleness.jsdetects when a refresh is needed and suggests running the command - Installer:
install.shusesCLAUDE.md.templatefor initial creation; this skill handles subsequent updates
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/claude-md-refresh/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kevinzai/commander/claude-md-refresh)