bun-add

📁 laurigates/claude-plugins 📅 4 days ago
1
总安装量
1
周安装量
#42090
全站排名
安装命令
npx skills add https://github.com/laurigates/claude-plugins --skill bun-add

Agent 安装分布

mcpjam 1
claude-code 1
replit 1
junie 1
windsurf 1
zencoder 1

Skill 文档

/bun:add

Add a package to dependencies using Bun.

Parameters

  • package (required): Package name, optionally with version (e.g., lodash, react@18)
  • --dev: Add to devDependencies
  • --exact: Pin exact version (no ^ range)

Execution

bun add {{ if DEV }}--dev {{ endif }}{{ if EXACT }}--exact {{ endif }}$PACKAGE

Examples

# Add runtime dependency
bun add express

# Add dev dependency
bun add --dev typescript vitest

# Pin exact version
bun add --exact react@18.2.0

# Add to specific workspace
bun add lodash --cwd packages/utils

Post-add

  1. Report package version added
  2. Show dependency tree impact with bun why <package>
  3. Suggest running tests to verify compatibility