SSkilltecabyclaudinhocode
Enviar skill
← Voltar para o catálogo

claude-skill-version-sync

DevOps e Infra

Claude Code skill for detecting and synchronizing Node.js version specifications across project files

2estrelas
Ver no GitHub ↗Autor: wrsmith108

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:

  • --dry-run - Preview changes without modifying files

Supported Files

FilePatternExample
.nvmrcFirst line number22
package.jsonengines.node">=22.0.0"
DockerfileFROM node:<version>FROM node:22-slim
.github/workflows/*.ymlnode-version or NODE_VERSIONnode-version: '22'
docker-compose.ymlimage: node:<version>image: node:22-alpine

Best Practices

  1. Always run check first to understand current state
  2. Use --dry-run before applying updates
  3. Commit version changes separately for clear git history
  4. Test after updating to ensure compatibility

Como adicionar

/plugin marketplace add wrsmith108/claude-skill-version-sync

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Comentários · Nenhum comentário

Entre para comentar. Entrar

  • Ainda não há comentários. Seja o primeiro.