skills/bun/SKILL.md
Bun all-in-one JavaScript runtime, bundler, test runner, and package manager built with Zig for extreme performance. MANDATORY TRIGGERS: Bun, bun runtime, bun install, bun test, bun build, Bun.serve, Bun.file, Bun.write, Bun.spawn, Bun.SQL, Bun.redis, bun:ffi, bun:test, bunx, bun.lock. Also trigger when building HTTP servers with Bun, migrating from Node.js to Bun, configuring the Bun bundler, writing tests with bun:test, using Bun's package manager, running shell commands with Bun.$, using built-in database clients, or developing fullstack apps with Bun's frontend dev server. When in doubt about whether to use this skill for Bun or JavaScript runtime tasks, use it.
npx skillsauth add abhisheksharma-17/skills-graph bunInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
All-in-one JavaScript runtime — v1.3.x | Docs | GitHub | Blog
| File | Read When |
|:-----|:----------|
| references/00-overview.md | Starting with Bun, installation, CLI commands, Node.js compatibility, quick start |
| references/01-runtime-fundamentals.md | Module resolution, TypeScript/JSX support, environment variables, globals, watch mode |
| references/02-http-server.md | Building HTTP servers with Bun.serve(), routing, request/response, TLS, static files |
| references/03-websockets.md | Server-side WebSockets, pub/sub topics, compression, scalable real-time messaging |
| references/04-package-manager.md | bun install, bun add/remove, workspaces, lockfile, registries, overrides |
| references/05-bundler.md | Bun.build(), entrypoints, targets, code splitting, plugins, minification, loaders |
| references/06-test-runner.md | bun:test API, describe/test/expect, mocks, snapshots, lifecycle hooks, watch mode |
| references/07-file-io.md | Bun.file(), Bun.write(), streaming, BunFile, Glob, FileSink |
| references/08-shell-api.md | Bun.$ shell, template literals, piping, environment variables, escaping |
| references/09-database-clients.md | Bun.SQL (Postgres/MySQL/SQLite), Bun.redis, tagged templates, connection pooling |
| references/10-child-processes.md | Bun.spawn(), Bun.spawnSync(), IPC, worker threads, structured cloning |
| references/11-ffi.md | bun:ffi, dlopen, C ABI interop, type mapping, callbacks, performance |
| references/12-frontend-dev.md | HTML imports, fullstack dev server, HMR, React Fast Refresh, zero-config frontend |
# Install Bun
curl -fsSL https://bun.sh/install | bash
# Create a project
bun init
# Run a file
bun run index.ts
# Install dependencies (25x faster than npm)
bun install
# Run tests
bun test
# Bundle for production
bun build ./src/index.ts --outdir ./dist
development
High-throughput LLM inference and serving engine with PagedAttention, continuous batching, and OpenAI-compatible API. MANDATORY TRIGGERS: vLLM, vllm, LLM serving, LLM inference engine, PagedAttention. Also trigger when the user wants to serve LLMs in production, deploy models with tensor parallelism, use speculative decoding, quantize models for inference, build OpenAI-compatible API servers, or optimize LLM throughput and latency. When in doubt about whether to use this skill for LLM serving tasks, use it.
tools
Type-safe Python agent framework for building production-grade GenAI applications with Pydantic validation, structured outputs, and dependency injection. MANDATORY TRIGGERS: pydantic-ai, pydantic_ai, PydanticAI, pydantic ai agent. Also trigger when the user wants to build type-safe AI agents in Python, create structured LLM outputs with Pydantic models, implement dependency injection for agents, use tools/capabilities with LLMs, or build multi-agent systems with Python type safety. When in doubt about whether to use this skill for Python AI agent tasks, use it.
development
Durable execution platform for building fault-tolerant workflows, long-running processes, and resilient distributed applications. MANDATORY TRIGGERS: temporal, temporal.io, temporalio, durable execution, workflow orchestration engine. Also trigger when the user wants to build fault-tolerant workflows, implement saga patterns, create long-running distributed processes, orchestrate microservices with retries and timeouts, or build durable AI agent pipelines. When in doubt about whether to use this skill for workflow orchestration or durable execution tasks, use it.
tools
AI framework for building RAG pipelines, agents, workflows, and data-augmented LLM applications with 300+ integrations. MANDATORY TRIGGERS: llamaindex, llama-index, llama_index, LlamaIndex, VectorStoreIndex, SimpleDirectoryReader, LlamaHub, LlamaParse. Also trigger when the user wants to build RAG applications with LlamaIndex, create document indexing pipelines, build agentic workflows with tool calling, implement structured data extraction from documents, or connect LLMs to custom data sources. When in doubt about whether to use this skill for RAG, document indexing, or LLM data augmentation tasks, use it.