better-auth-add-plugin
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
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.
/bun-upgradeContext preview
What this command does when you run it.
What to upgrade (bun, deps, all)
name: bun:upgrade
description: Upgrade Bun runtime and project dependencies
arguments:
- name: target
description: What to upgrade (bun, deps, all)
required: falseUpgrade Bun runtime and project dependencies safely.
# 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
# Check for outdated bun outdated # Update all dependencies bun update # Update specific package bun update react # Update to latest (ignore semver) bun update --latest
Check what will change:
# See what would update bun outdated # Review changes before applying bun update --dry-run
Before upgrading, check for breaking changes:
Major breaking changes by version:
⚠️ **v1.2 Lockfile Change**: Binary `bun.lockb` → Text `bun.lock` (JSONC format)
Check changelogs for major version bumps:
# See current vs latest bun outdated # For each major bump, review: # - GitHub releases # - CHANGELOG.md # - Migration guides
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"
If upgrade fails:
# Restore lockfile git checkout bun.lockb # Reinstall bun install # Downgrade Bun (if needed) bun upgrade --version <previous-version>
Run these after upgrade:
# Type checking bun run typecheck # Linting bun run lint # Tests bun test # Build bun run build
| Issue | Solution | |-------|----------| | Type errors | Update @types/* packages | | Test failures | Check test API changes | | Build errors | Review bundler changes | | Runtime errors | Check API deprecations |
Check for security issues:
bun audit # Fix automatically bun audit --fix
Add to package.json:
{
"scripts": {
"upgrade:check": "bun outdated",
"upgrade:bun": "bun upgrade",
"upgrade:deps": "bun update",
"upgrade:all": "bun upgrade && bun update"
}
}After upgrade: 1. Version changes summary 2. Breaking changes detected 3. Test results 4. Rollback command (if issues)
145 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
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
Explain Better Auth error codes and provide solutions with code examples
Display Better Auth available authentication providers and their configuration