bun-tooling
Convert JavaScript and TypeScript projects to use bun instead of npm/yarn/pnpm. Use when user asks to "migrate from npm to bun", "convert to bun", "switch package managers", "replace npm", or "use bun instead". Includes conversion tables and lock file migration. Core conventions auto-loaded via SessionStart hook; invoke /dev-conventions:bun-tooling for full reference.
From dev-conventionsnpx claudepluginhub fblissjr/fb-claude-skills --plugin dev-conventionsThis skill uses the workspace's default tool permissions.
Bun Tooling Conventions
Always use bun for JavaScript and TypeScript package management and script execution. Never use npm, yarn, pnpm, or npx.
| Instead of | Use |
|---|---|
npm install | bun install |
npm install X | bun add X |
npm install -D X | bun add -d X |
npm run build | bun run build |
npx create-react-app | bunx create-react-app |
yarn add X | bun add X |
pnpm install | bun install |
Lock files
Use bun.lockb instead of package-lock.json or yarn.lock. If migrating an existing project, delete the old lock file and run bun install to generate bun.lockb.
Init
Use bun init instead of npm init or yarn init.