/dalestudy-skills:bunfrom dalestudy-skills
Node.js 대신 Bun 런타임 사용을 위한 스킬. 다음 상황에서 사용: (1) 새 JavaScript/TypeScript 프로젝트 생성 시, (2) package.json 또는 의존성 관련 작업 시, (3) 스크립트 실행 또는 개발 서버 시작 시, (4) Node.js 프로젝트를 Bun으로 전환 시, (5) 'bun', 'bunx', 'bun.lockb' 키워드가 포함된 작업 시
Ships in dalestudy-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Node.js 대신 Bun을 기본 런타임으로 사용.
# macOS / Linux
brew install oven-sh/bun/bun
# npm
npm install -g bun
| Node.js / npm | Bun |
|---|---|
npm install | bun install |
npm install <pkg> | bun add <pkg> |
npm install -D <pkg> | bun add -d <pkg> |
npm uninstall <pkg> | bun remove <pkg> |
npm run <script> | bun run <script> 또는 bun <script> |
npx <cmd> | bunx <cmd> |
node <file> | bun <file> |
npm init | bun init |
npm create <template> | bun create <template> |
# 새 프로젝트
bun init
# 템플릿 사용
bun create next-app my-app
bun create vite my-app
# 설치 (bun.lockb 생성)
bun install
# 의존성 추가
bun add express zod
bun add -d typescript @types/node # devDependencies
# 삭제
bun remove lodash
lockfile:
bun.lockb(바이너리)..gitignore에 추가하지 않음.
# package.json scripts
bun run dev
bun run build
# 파일 직접 실행 (TypeScript 지원)
bun index.ts
bun src/server.ts
# 단축 (run 생략 가능)
bun dev
# ❌ 오타 또는 유사 패키지 - 타이포스쿼팅 위험
bun add expres
bun add lodassh
# ✅ 정확한 패키지명 확인 후 설치
bun add express
bun add lodash
bun add 실행 전 패키지명이 정확한지 확인. npm 레지스트리에 유사한 이름의 악성 패키지가 등록될 수 있음.
# ❌ 출처 불명의 스크립트 직접 실행
bun run https://example.com/script.ts
curl -fsSL https://example.com/install.sh | bash
# ✅ 로컬 프로젝트 내 스크립트만 실행
bun run src/index.ts
bun run dev
원격 스크립트나 검증되지 않은 파일은 직접 실행하지 않음.
- uses: oven-sh/setup-bun@v{N} # 최신 버전 확인: gh api repos/oven-sh/setup-bun/releases/latest --jq '.tag_name'
- run: bun install
- run: bun test
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (dalestudy/skills) — no native marketplace selected
npx claudepluginhub p/dalestudy-dalestudy-skills11 skills in this plugin
/cloudflareDaleStudy 조직의 Cloudflare 사용 규칙 (Workers 배포, 시크릿 관리, PR 미리보기, URL 형식). 다음 상황에서 사용: (1) wrangler.jsonc 또는 wrangler.toml 작업 시, (2) Worker 배포 워크플로우(deploy.yml, preview.yml) 작성·수정 시, (3) Worker에 시크릿이나 환경 변수를 추가·변경할 때, (4) PR 미리보기 설정 시, (5) 페이지 URL·트레일링 슬래시·canonical·sitemap 작업 시, (6) 'Cloudflare', 'wrangler', 'trailing slash', 'html_handling', 'Workers', 'secret put', 'Workers Builds', 'wrangler-action' 키워드가 포함된 작업 시/gitGit 버전 관리 모범 관례 및 워크플로우 가이드. 다음 상황에서 사용: (1) Git 커밋 메시지 작성 시 (Conventional Commits 규칙 적용), (2) 브랜치 생성 및 관리 시 (GitHub Flow 기반), (3) PR 생성 및 병합 전략 선택 시, (4) Git 히스토리 정리 작업 시 (rebase, squash, cherry-pick), (5) Merge conflict 해결 시, (6) 'git', '.git', 'commit', 'branch', 'merge', 'rebase' 키워드가 포함된 작업 시/github