# Bun

> Bun JavaScript runtime - all-in-one toolkit สำหรับ JavaScript/TypeScript ที่เร็วกว่า Node.js...

- Skill: `newkub/bun` (Agent Skill, multi-file: 39 files)
- Install (CLI): `npx skillmds@latest add newkub/bun`
- Raw SKILL.md: https://api.skillmd.com/api/skills/newkub/bun/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: newkub (https://skillmd.com/u/newkub)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/newkub/bun

---

## Goal

ใช้ Bun JavaScript runtime สำหรับพัฒนาและรันโปรเจกต์ JavaScript/TypeScript ด้วยประสิทธิภาพสูง


## Scope

ใช้สำหรับโปรเจกต์ที่ต้องการประสิทธิภาพสูงกว่า Node.js หรือต้องการ all-in-one toolkit


## Execute

- อ่าน `guide/quick-start.md` สำหรับเริ่มต้นใช้งาน
- อ่าน `guide/installation.md` สำหรับวิธีการติดตั้ง
- อ่าน `key-concepts/key-concepts.md` สำหรับพื้นฐาน
- ทำตาม `workflows/setup-project.md` สำหรับตั้งค่าโปรเจกต์
- อ่าน `guide/configuration.md` สำหรับการตั้งค่า
- อ่าน `guide/structure.md` สำหรับโครงสร้างโปรเจกต์
- อ่าน `guide/features.md` สำหรับคุณสมบัติหลัก
- อ่าน `guide/best-practices.md` สำหรับแนวทางปฏิบัติที่ดี
- อ่าน `principles/` สำหรับหลักการต่างๆ
- อ่าน `guide/performance.md` สำหรับประสิทธิภาพและการ optimize
- อ่าน `principles/performance.md` สำหรับ performance principles
- ทำตาม `workflows/migrate-from-node.md` สำหรับ migrate จาก Node.js
- อ่าน `guide/migration.md` สำหรับรายละเอียดการ migrate
- ดู `references/api.md` สำหรับ API reference
- ดู `references/cli.md` สำหรับคำสั่ง CLI
- ดู `references/website.md` สำหรับเอกสารอย่างเป็นทางการ


## Rules

- ใช้ `bun` สำหรับ run scripts
- ใช้ `bun add` สำหรับ install dependencies
- ใช้ `bunx` สำหรับ run packages
- ใช้ TypeScript เสมอ
- ใช้ native APIs อย่างเหมาะสม
- ใช้ performance optimization techniques


## Expected Outcome

- Projects ที่ run ได้รวดเร็ว
- Development ที่ efficient ด้วย all-in-one toolkit
- Migration จาก Node.js ที่ smooth

