bun-first
11
总安装量
9
周安装量
#27748
全站排名
安装命令
npx skills add https://github.com/academind/ai-config --skill bun-first
Agent 安装分布
claude-code
7
gemini-cli
6
antigravity
6
codex
6
opencode
6
windsurf
5
Skill 文档
Bun-First Development
We default to Bun as our JavaScript runtime, package manager, and task runner. Assume Bun is available unless explicitly stated otherwise.
General Principles
- PREFER Bun over Node.js, npm, pnpm, or yarn
- PREFER Bunâs built-in features over third-party tools when available
- PRFER Bun’s native APIs (eg for file access, SQL, S3 etc) over Node.js APIs
Package Management
- USE
bun install,bun add,bun remove - AVOID
npm,yarn,pnpm - Prefer Bun-native lockfiles and resolution behavior
- Keep dependencies minimal and intentional
Scripts & Tooling
- PREFER
bun runfor scripts - AVOID Bunâs built-in test runner (
bun test) => We’ll useVitestfor testing - AVOID Bunâs build tool (
bun build) => We’ll use Vite - Avoid introducing extra task runners unless required
Runtime & APIs
- PREFER Bunâs native APIs (fetch, fs, path, env handling)
- Write code assuming modern Web APIs are available in the runtime
- Avoid Node-specific APIs unless explicitly required
Performance & DX
- Prefer simple, explicit scripts over complex toolchains
- AVOID unnecessary abstractions