install
source · Clone the upstream repo
git clone https://github.com/wrsmith108/claude-skill-version-sync
Claude Code · Install into ~/.claude/skills/
git clone --depth=1 https://github.com/wrsmith108/claude-skill-version-sync ~/.claude/skills/wrsmith108-claude-skill-version-sync-claude-skill-version-sync
manifest:
SKILL.mdsource content
Version Sync Skill
Detect and synchronize Node.js version specifications across project files.
Trigger Phrases
- "version mismatch"
- "upgrade node"
- "sync versions"
- "update node version"
- "version drift"
- "check node versions"
- "node version conflict"
Commands
Check Version Status
npx tsx scripts/index.ts check
Scans the current project for Node.js version specifications and reports any mismatches.
Update All Versions
npx tsx scripts/index.ts update <version>
Updates all version files to the specified target version.
Options:
- Preview changes without modifying files--dry-run
Supported Files
| File | Pattern | Example |
|---|---|---|
| First line number | |
| | |
| | |
| or | |
| | |
Best Practices
- Always run
first to understand current statecheck - Use
before applying updates--dry-run - Commit version changes separately for clear git history
- Test after updating to ensure compatibility