AI agent skill · by @Dokhacgiakhoa
Bun Development
Modern JavaScript/TypeScript development with Bun runtime. Covers package management, bundling, testing, and migration from Node.js. Use when working with Bun, optimizing JS/TS development speed, or migrating from Node.js to Bun.
Archived 2026-10-23 · Source updated 2026-06-11. Check the original repository for the latest version.
SKILL.md instructions
# ⚡ Bun Development > Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by [oven-sh/bun](https://github.com/oven-sh/bun). ## When to Use This Skill Use this skill when: - Starting new JS/TS projects with Bun - Migrating from Node.js to Bun - Optimizing development speed - Using Bun's built-in tools (bundler, test runner) - Troubleshooting Bun-specific issues --- ## 1. Getting Started ## 🧠 Knowledge Modules (Fractal Skills) ### 1. [1.1 Installation](./sub-skills/11-installation.md) ### 2. [1.2 Why Bun?](./sub-skills/12-why-bun.md) ### 3. [2.1 Create New Project](./sub-skills/21-create-new-project.md) ### 4. [2.2 package.json](./sub-skills/22-packagejson.md) ### 5. [2.3 tsconfig.json (Bun-optimized)](./sub-skills/23-tsconfigjson-bun-optimized.md) ### 6. [3.1 Installing Packages](./sub-skills/31-installing-packages.md) ### 7. [3.2 Removing & Updating](./sub-skills/32-removing-updating.md) ### 8. [3.3 bunx (npx equivalent)](./sub-skills/33-bunx-npx-equivalent.md) ### 9. [3.4 Lockfile](./sub-skills/34-lockfile.md) ### 10. [4.1 Basic Execution](./sub-skills/41-basic-execution.md) ### 11. [4.2 Watch Mode](./sub-skills/42-watch-mode.md) ### 12. [4.3 Environment Variables](./sub-skills/43-environment-variables.md) ### 13. [5.1 File System (Bun.file)](./sub-skills/51-file-system-bunfile.md) ### 14. [5.2 HTTP Server (Bun.serve)](./sub-skills/52-http-server-bunserve.md) ### 15. [5.3 WebSocket Server](./sub-skills/53-websocket-server.md) ### 16. [5.4 SQLite (Bun.sql)](./sub-skills/54-sqlite-bunsql.md) ### 17. [5.5 Password Hashing](./sub-skills/55-password-hashing.md) ### 18. [6.1 Basic Tests](./sub-skills/61-basic-tests.md) ### 19. [6.2 Running Tests](./sub-skills/62-running-tests.md) ### 20. [6.3 Matchers](./sub-skills/63-matchers.md) ### 21. [6.4 Mocking](./sub-skills/64-mocking.md) ### 22. [7.1 Basic Build](./sub-skills/71-basic-build.md) ### 23. [7.2 Build API](./sub-skills/72-build-api.md) ### 24. [7.3 Compile to Executable](./sub-skills/73-compile-to-executable.md) ### 25. [8.1 Compatibility](./sub-skills/81-compatibility.md) ### 26. [8.2 Common Migration Steps](./sub-skills/82-common-migration-steps.md) ### 27. [8.3 Differences from Node.js](./sub-skills/83-differences-from-nodejs.md) ### 28. [9.1 Use Bun-native APIs](./sub-skills/91-use-bun-native-apis.md) ### 29. [9.2 Use Bun.serve for HTTP](./sub-skills/92-use-bunserve-for-http.md) ### 30. [9.3 Bundle for Production](./sub-skills/93-bundle-for-production.md)