/bun-upgrade
What to upgrade (bun, deps, all)
$ npx -y skills add secondsky/claude-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/bun-upgrade
Context preview
What this command does when you run it.
What to upgrade (bun, deps, all)
Command definition
bun-upgrade.mdname: bun:upgrade
description: Upgrade Bun runtime and project dependencies
arguments:
- name: target
description: What to upgrade (bun, deps, all)
required: falseBun Upgrade Helper
Upgrade Bun runtime and project dependencies safely.
Upgrade Options
Upgrade Bun Runtime
# Upgrade to latest stable
bun upgrade
# Upgrade to specific version
bun upgrade --version 1.0.0
# Upgrade to canary
bun upgrade --canary
Check current version:
bun --version
Upgrade Dependencies
# Check for outdated
bun outdated
# Update all dependencies
bun update
# Update specific package
bun update react
# Update to latest (ignore semver)
bun update --latest
Interactive Upgrade
Check what will change:
# See what would update
bun outdated
# Review changes before applying
bun update --dry-run
Breaking Changes Check
Before upgrading, check for breaking changes:
Bun Changelog
Major breaking changes by version:
- **1.0** - Stable API, may break pre-1.0 code
- **1.1** - Windows support added, cross-platform Bun Shell, WebSocket client stabilized
- **1.2** - NEW: Text-based lockfile format (bun.lock), built-in S3/Postgres APIs, Node.js 90% compatibility
⚠️ **v1.2 Lockfile Change**: Binary `bun.lockb` → Text `bun.lock` (JSONC format)
- Easier to read, review PRs, and resolve merge conflicts
- Cached installs 30% faster than v1.1
- Migration happens automatically on first `bun install` with v1.2
Dependency Breaking Changes
Check changelogs for major version bumps:
# See current vs latest
bun outdated
# For each major bump, review:
# - GitHub releases
# - CHANGELOG.md
# - Migration guides
Safe Upgrade Process
1. **Backup current state**
git add -A && git commit -m "Pre-upgrade checkpoint"
2. **Check what's outdated**
bun outdated
3. **Upgrade Bun first**
bun upgrade
4. **Test with current deps**
bun test
5. **Upgrade dependencies**
bun update
6. **Run tests again**
bun test
7. **Verify build**
bun run build
8. **Commit if successful**
git add -A && git commit -m "Upgrade Bun and dependencies"
Rollback Plan
If upgrade fails:
# Restore lockfile
git checkout bun.lockb
# Reinstall
bun install
# Downgrade Bun (if needed)
bun upgrade --version <previous-version>
Automated Checks
Run these after upgrade:
# Type checking
bun run typecheck
# Linting
bun run lint
# Tests
bun test
# Build
bun run build
Common Upgrade Issues
| Issue | Solution | |-------|----------| | Type errors | Update @types/* packages | | Test failures | Check test API changes | | Build errors | Review bundler changes | | Runtime errors | Check API deprecations |
Dependency Audit
Check for security issues:
bun audit
# Fix automatically
bun audit --fix
Questions to Ask
- "What do you want to upgrade? (Bun runtime, dependencies, or both)"
- "Should we upgrade to latest versions or just patch updates?"
- "Do you want to see what will change before applying?"
Update Scripts
Add to package.json:
{
"scripts": {
"upgrade:check": "bun outdated",
"upgrade:bun": "bun upgrade",
"upgrade:deps": "bun update",
"upgrade:all": "bun upgrade && bun update"
}
}Output
After upgrade: 1. Version changes summary 2. Breaking changes detected 3. Test results 4. Rollback command (if issues)
Read more
name: bun:upgrade
description: Upgrade Bun runtime and project dependencies
arguments:
- name: target
description: What to upgrade (bun, deps, all)
required: falseBun Upgrade Helper
Upgrade Bun runtime and project dependencies safely.
Upgrade Options
Upgrade Bun Runtime
# Upgrade to latest stable bun upgrade # Upgrade to specific version bun upgrade --version 1.0.0 # Upgrade to canary bun upgrade --canary
Check current version:
bun --version
Upgrade Dependencies
# Check for outdated bun outdated # Update all dependencies bun update # Update specific package bun update react # Update to latest (ignore semver) bun update --latest
Interactive Upgrade
Check what will change:
# See what would update bun outdated # Review changes before applying bun update --dry-run
Breaking Changes Check
Before upgrading, check for breaking changes:
Bun Changelog
Major breaking changes by version:
- **1.0** - Stable API, may break pre-1.0 code
- **1.1** - Windows support added, cross-platform Bun Shell, WebSocket client stabilized
- **1.2** - NEW: Text-based lockfile format (bun.lock), built-in S3/Postgres APIs, Node.js 90% compatibility
⚠️ **v1.2 Lockfile Change**: Binary `bun.lockb` → Text `bun.lock` (JSONC format)
- Easier to read, review PRs, and resolve merge conflicts
- Cached installs 30% faster than v1.1
- Migration happens automatically on first `bun install` with v1.2
Dependency Breaking Changes
Check changelogs for major version bumps:
# See current vs latest bun outdated # For each major bump, review: # - GitHub releases # - CHANGELOG.md # - Migration guides
Safe Upgrade Process
1. **Backup current state**
git add -A && git commit -m "Pre-upgrade checkpoint"
2. **Check what's outdated**
bun outdated
3. **Upgrade Bun first**
bun upgrade
4. **Test with current deps**
bun test
5. **Upgrade dependencies**
bun update
6. **Run tests again**
bun test
7. **Verify build**
bun run build
8. **Commit if successful**
git add -A && git commit -m "Upgrade Bun and dependencies"
Rollback Plan
If upgrade fails:
# Restore lockfile git checkout bun.lockb # Reinstall bun install # Downgrade Bun (if needed) bun upgrade --version <previous-version>
Automated Checks
Run these after upgrade:
# Type checking bun run typecheck # Linting bun run lint # Tests bun test # Build bun run build
Common Upgrade Issues
| Issue | Solution | |-------|----------| | Type errors | Update @types/* packages | | Test failures | Check test API changes | | Build errors | Review bundler changes | | Runtime errors | Check API deprecations |
Dependency Audit
Check for security issues:
bun audit # Fix automatically bun audit --fix
Questions to Ask
- "What do you want to upgrade? (Bun runtime, dependencies, or both)"
- "Should we upgrade to latest versions or just patch updates?"
- "Do you want to see what will change before applying?"
Update Scripts
Add to package.json:
{
"scripts": {
"upgrade:check": "bun outdated",
"upgrade:bun": "bun upgrade",
"upgrade:deps": "bun update",
"upgrade:all": "bun upgrade && bun update"
}
}Output
After upgrade: 1. Version changes summary 2. Breaking changes detected 3. Test results 4. Rollback command (if issues)
142 production-ready skills for Claude Code CLI 🔌 Platform / Harness Support These plugins ship as Claude Code marketplace plugins (.claude-plugin/ manifests) and Codex CLI plugins (.codex-plugin/ manifests).
Repo: secondsky/claude-skills
Other commands on secondsky-claude-skills.
- /better-auth-add-plugin
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
Open command - /better-auth-setup
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
Open command - /explain-error
Explain Better Auth error codes and provide solutions with code examples
Open command - /providers
Display Better Auth available authentication providers and their configuration
Open command - /bun-debug
Type of issue to debug (runtime, test, build, memory, performance)
Open command - /bun-deploy
Target platform (docker, cloudflare, vercel, fly, railway)
Open command

