better-auth-add-plugin
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
Source package manager to migrate from (npm, yarn, pnpm)
$ npx -y skills add secondsky/claude-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/bun-migrateContext preview
What this command does when you run it.
Source package manager to migrate from (npm, yarn, pnpm)
name: bun:migrate
description: Migrate existing Node.js/npm projects to Bun
arguments:
- name: source
description: Source package manager to migrate from (npm, yarn, pnpm)
required: falseMigrate an existing Node.js project to use Bun as runtime and package manager.
Check for:
# Remove old lockfiles rm -f package-lock.json yarn.lock pnpm-lock.yaml # Install with Bun bun install
Replace in package.json:
| Before | After | |--------|-------| | `node script.js` | `bun script.js` | | `ts-node script.ts` | `bun script.ts` | | `npx command` | `bunx command` | | `npm run` | `bun run` | | `jest` | `bun test` | | `vitest` | `bun test` |
Create or update:
**bunfig.toml**
[install] auto-install = true [run] bun = true
For Jest projects:
# Update imports
# Before: import { describe, it } from '@jest/globals'
# After: import { describe, test } from 'bun:test'
# Run tests
bun testUpdate tsconfig.json:
{
"compilerOptions": {
"types": ["bun-types"]
}
}Install types:
bun add -D bun-types
| API | Bun Support | |-----|-------------| | fs | ✅ Full | | path | ✅ Full | | http/https | ✅ Full | | crypto | ✅ Full | | child_process | ✅ Full | | worker_threads | ✅ Full | | stream | ✅ Full |
1. **Native addons** - May need recompilation 2. **Node.js-specific env vars** - Check for NODE_* variables 3. **Babel/webpack configs** - Usually not needed with Bun 4. **Jest configs** - Convert to bunfig.toml
If migration fails:
# Restore old lockfile git checkout package-lock.json # Remove Bun lockfile rm bun.lockb # Reinstall with npm npm install
After migration: 1. List of changes made 2. Any incompatibilities found 3. Recommended next steps 4. Performance comparison (if possible)
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