kevinzai/commander/claude-md-refresh

Claude Code and agent skill by kevinzai/commander

Trust tier 3
  • community
Source check pending

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-refresh

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

  1. Parse existing CLAUDE.md into sections (split on ## headers)
  2. Parse latest template into sections
  3. 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
  1. Generate merge plan showing adds, updates, and preserves
  2. 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:

<!-- CC Commander Template vX.Y.Z | Generated: YYYY-MM-DD -->

If missing, assume v1.0.0.

Output Format

Show a clean summary table:

| Action | Section | Reason |
|--------|---------|--------|
| ADD | Aggregator Ecosystem | New in v2.1.0 |
| UPDATE | Workflow | 3 new subsections added |
| KEEP | My Custom Rules | Custom section |

Then show the full diff of proposed changes using ```diff blocks.

Merge Rules

  1. Section ordering: New sections are inserted after the closest existing neighbor from the template order. If no neighbor exists, append before Rules.
  2. 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.
  3. H1 title: Preserve the user's name. Never overwrite with [Your Name].
  4. Version comment: Update to the current template version after applying changes.
  5. 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:refresh triggers this skill
  • Hook: claude-md-staleness.js detects when a refresh is needed and suggests running the command
  • Installer: install.sh uses CLAUDE.md.template for 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kevinzai/commander/claude-md-refresh/badge)](https://verified-skill.com/skills/kevinzai/commander/claude-md-refresh)

Something wrong with this skill or its page? Tell us.