Bun

Use when the user asks about Bun, Bun.serve, bun install, bun test, bun build --compile, bun:sqlite, Bun.file or Bun Shell. Produces Bun runtime servers, tooling and tests with Node compatibility notes. Not for the Elysia framework on Bun (use elysia-architecture).

45 stars 6 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill bun
Manual install
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/backend/bun ~/.claude/skills/bun

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Bun

## Purpose
Build TypeScript/JavaScript services and tooling on Bun, using its built-in server, SQLite driver, file APIs, shell, test runner and bundler where they simplify the stack, while staying aware of where Node.js compatibility still matters.

## Agent Protocol

### Trigger
Exact user phrases: "bun", "bun runtime", "bun install", "bun test", "bun build", "Bun.serve", "bun:sqlite", "Bun.file", "Bun shell", "bun --compile".

### Input Context
- Target: API server, CLI tool, scripts, or library.
- Framework on top of Bun (none, Elysia, Hono, Express via Node compatibility).
- Database (bun:sqlite, PostgreSQL via `Bun.sql` or `postgres`/`pg`, Redis).
- Deployment target (Docker, single binary, serverless).

### Output Artifact
Project layout, server/test/build code and `package.json` scripts. No files unless requested.

### Response Format
```
Runtime: Bun {version}   Framework: {none|Elysia|Hono|Express}
Server: Bun.serve {routes|fetch}   DB: {bun:sqlite|Bun.sql|other}
Scripts: dev/test/build/compile
Code: {files}
Node-compat risks: {native addons, unsupported node: APIs}
```

## Runtime Choice

| Criterion | Bun | Node.js | Deno |
|---|---|---|---|
| TypeScript | Runs `.ts` directly (transpile only, no type-check) | Type stripping built in since Node 22.18/23.6 for erasable syntax; otherwise tsx/build step | Runs `.ts` directly; `deno check` type-checks |
Read the full skill on GitHub

Details

Skill name
bun
Path
skills/backend/bun/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Bun skill do?

Use when the user asks about Bun, Bun.serve, bun install, bun test, bun build --compile, bun:sqlite, Bun.file or Bun Shell. Produces Bun runtime servers, tooling and tests with Node compatibility notes. Not for the Elysia framework on Bun (use elysia-architecture).

How do I install the Bun skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill bun. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bun popular?

It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.

Related skills

Agent Observability

45

j4flmao/agent-skills

Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).

DevOps & Cloud

AI Agent Architectures

45

j4flmao/agent-skills

Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).

AI, LLMs & Agents

AI Agent Core Loop

45

j4flmao/agent-skills

Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).

AI, LLMs & Agents

Cloud Architecture

45

j4flmao/agent-skills

Use when the user asks about cloud architecture, the Well-Architected Framework across AWS/Azure/GCP, landing zones, multi-cloud strategy, cloud governance, or reference architectures. Produces provider-neutral architecture decisions and trade-offs. Not for provider-specific setup (use aws, devops-azure or devops-gcp) or migration waves (use cloud-migration).

Software Development

Bare Metal Rust

45

j4flmao/agent-skills

Use when the user asks about embedded Rust, no_std firmware, Cortex-M Rust, embedded-hal, PAC and svd2rust, RTIC, Embassy, probe-rs or defmt. Produces no_std firmware with safe interrupt sharing and a flash/debug toolchain. Not for general Rust application code (use lang-rust) or C firmware (use c-cpp-patterns).

Software Development

Cocos2d

45

j4flmao/agent-skills

Use when the user asks about Cocos Creator 3.x, Cocos2d-x, a Cocos game, node and component scripting in TypeScript, Cocos builds for web or mobile, or Cocos performance. Produces Cocos project structure, gameplay code and build settings. Not for Cocos2d-x engine internals (use cocos2d-patterns) or other engines (use unity or godot).

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.