From partme-ai-full-stack-skills
Migrates npm global packages between nvm Node versions using --reinstall-packages-from and configures default-packages for auto-installation on new versions. Useful for maintaining tools like eslint, typescript after switches.
npx claudepluginhub partme-ai/full-stack-skills --plugin t2ui-skillsThis skill uses the workspace's default tool permissions.
Manage global npm packages across Node version switches to avoid losing tools like eslint, typescript, or pm2.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Manage global npm packages across Node version switches to avoid losing tools like eslint, typescript, or pm2.
Migrate global packages when installing a new version:
# Install Node 20 and copy global packages from Node 18
nvm install 20 --reinstall-packages-from=18
# Verify packages migrated
npm list -g --depth=0
Configure default-packages for automatic installation on every new version:
# Create the default-packages file
cat > "$NVM_DIR/default-packages" << 'EOF'
typescript
eslint
pm2
nodemon
EOF
# New installs will auto-install these packages
nvm install 22 # typescript, eslint, pm2, nodemon installed automatically
Verify and validate global packages:
npm list -g --depth=0
Warning: Global packages are version-specific. Switching versions without --reinstall-packages-from means previously installed globals will not be available.
examples/migrate-global-packages.md - Migration between versionsexamples/default-global-packages.md - Default packages file setupglobal packages, default-packages, reinstall-packages-from, npm global, consistency