mirror of
https://github.com/secondsky/claude-skills.git
synced 2026-09-18 19:54:22 +08:00
292c93845e
- Rewrites AI-sounding text to read human; 8 editing passes + review-only mode - Adapted from jpeggdev/humanize-writing (MIT); npm installer scaffolding dropped - Frontmatter condensed to 238 chars (sync enforces 250 max for single-skill plugins) - Lockstep bump 3.8.0 -> 3.9.0: all 145 plugins, both marketplaces, package.json - CHANGELOG entry for 3.9.0
Bun Plugin for Claude Code
Comprehensive Claude Code plugin for the Bun JavaScript runtime. Covers runtime, package manager, bundler, testing, servers, databases, frameworks, and deployment.
Installation
/plugin install bun@claude-skills
Features
27 Skills
Core (3 skills)
bun-runtime- Runtime execution, CLI, environment, module resolutionbun-package-manager- Dependencies, workspaces, lockfiles, migrationsbun-bundler- Code bundling, tree shaking, code splitting
Testing (5 skills)
bun-test-basics- Writing tests, assertions, describe/it blocksbun-test-mocking- Mock functions, spyOn, module mockingbun-test-lifecycle- beforeAll, afterAll, setup/teardownbun-test-coverage- Code coverage reports, thresholds, CI integrationbun-jest-migration- Migrate Jest tests to Bun
Servers & APIs (3 skills)
bun-http-server- Bun.serve(), request handling, routingbun-websocket-server- WebSocket connections, pub/sub, broadcastingbun-hono-integration- Hono framework, middleware, RPC
Databases (4 skills)
bun-sqlite- Built-in SQLite, prepared statements, transactionsbun-drizzle-integration- Drizzle ORM, schema, migrationsbun-redis- Redis caching, pub/sub, ioredis/Upstashbun-file-io- File operations, Bun.file(), streaming
Frameworks (6 skills)
bun-nextjs- Next.js with Bun runtimebun-nuxt- Nuxt 3 with Bun presetbun-sveltekit- SvelteKit with svelte-adapter-bunbun-tanstack-start- TanStack Start full-stack Reactbun-react-ssr- Custom React SSR without frameworksbun-hot-reloading- --watch, --hot, HMR
Advanced (4 skills)
bun-macros- Compile-time code executionbun-ffi- Foreign function interface for native codebun-workers- Web Workers, worker_threadsbun-shell- Bun.$, shell scripting, subprocess
Deployment (2 skills)
bun-cloudflare-workers- Deploy to Cloudflare Workersbun-docker- Docker containers with oven/bun images
6 Commands
| Command | Description |
|---|---|
/bun-init |
Initialize new Bun project with optional framework |
/bun-migrate |
Migrate from Node.js/npm to Bun |
/bun-debug |
Debug runtime, test, or build issues |
/bun-optimize |
Optimize performance and bundle size |
/bun-deploy |
Deploy to Docker, Cloudflare, Vercel, etc. |
/bun-upgrade |
Upgrade Bun runtime and dependencies |
3 Agents
| Agent | Purpose |
|---|---|
bun-troubleshooter |
Diagnose and fix errors, crashes, failures |
bun-performance-analyzer |
Profile and optimize performance |
bun-migration-assistant |
Migrate from Node.js/Jest to Bun |
2 Hooks
PreToolUse (validate-bun-command.sh)
- Suggests Bun equivalents for npm/yarn/pnpm commands
- Warns about deprecated patterns
PostToolUse (bun-suggestions.sh)
- Provides tips after bun install, test, build
- Suggests fixes for common errors
Usage Examples
Start a New Project
/bun-init my-app hono
Migrate from npm
/bun-migrate npm
Debug Issues
Ask: "My Bun server keeps crashing" - triggers bun-troubleshooter agent
Optimize Performance
/bun-optimize bundle
Deploy
/bun-deploy docker
Skill Triggers
Skills trigger automatically based on context:
- "How do I write tests in Bun?" →
bun-test-basics - "Help me set up Drizzle ORM" →
bun-drizzle-integration - "I want to build a WebSocket server" →
bun-websocket-server - "Deploy my app to Cloudflare Workers" →
bun-cloudflare-workers
Requirements
- Bun 1.0+ installed
- Claude Code CLI
License
MIT