bun-runtime
Skill2 starsChanged 4 months agoMITView on GitHub
Bun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support.
- Reads credentials
9 other projects use a version of this, 5 of them edited.
Adopted by
Most recently taken up by
- imMamdouhaboammar/tiktok-growth-automation-meshword for word, first seen Oct 1, 2026
- templetongroup/radiantword for word, first seen Sep 17, 2026
- LuigiColantuono/bun-docs-toolkittheir own version, first seen Aug 21, 2026
- SamuelNDCE/claude-super-skill-libraryedited, first seen Aug 1, 2026
- MaheshAwasare/claude-skills-protheir own version, first seen May 4, 2026
- Jamkris/everything-gemini-codeedited, first seen Apr 27, 2026
Used with
Projects with it also use nuxt4-patterns, agent-payment-x402 and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mryeastcodeSkillnuxt4-patterns
Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
Also in 5 projects that use this
JamkrisSkillagent-payment-x402
Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol.
Also in 3 projects that use this
JamkrisSkilldart-flutter-patterns
Production-ready Dart and Flutter patterns covering null safety, immutable state, async composition, widget architecture, popular state management frameworks (BLoC, Riverpod, Provider), GoRouter navigation, Dio networking, Freezed code generation, and clean architecture.
Also in 3 projects that use this
- +1 more from Jamkris
Other versions9 projects use a version of this.
Word for word · 2
- templetongroup/radiant★ 113100% same
- imMamdouhaboammar/tiktok-growth-automation-mesh★ 0100% same
Edited · 5
- loulanyue/awesome-claude-notes★ 27299% same
- tpavanipradeep/everything-claude-code★ 13499% same
- Jamkris/everything-gemini-code★ 8799% same
- SamuelNDCE/claude-super-skill-library★ 199% same
- mryeastcode/ClaudeCode★ 099% same
Wrote their own version · 2
- MaheshAwasare/claude-skills-pro★ 1same name
- LuigiColantuono/bun-docs-toolkit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository169 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-guidanceSkill
- accessibilitySkill
- adaptive-languageSkill
- agent-sortSkill
- agent-workflow-opsSkill
- android-clean-architectureSkill
- api-designSkill
- architecture-decision-recordsSkill
- automation-audit-opsSkill
- backend-patternsSkill
- blender-motion-state-inspectionSkill
- blueprintSkill
- browser-qaSkill
- canary-watchSkill
- carrier-relationship-managementSkill
- ci-cd-and-automationSkill
- cisco-ios-patternsSkill
- claude-devfleetSkill
- codebase-onboardingSkill
- codehealth-mcpSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- codex-vscodeSkill
- coding-standardsSkill
- compose-multiplatform-patternsSkill
- configure-eccSkill
- connections-optimizerSkill
- context-budgetSkill
- continuous-learning-v2Skill
- cost-aware-llm-pipelineSkill
- cost-trackingSkill
- councilSkill
- cpp-coding-standardsSkill
- cpp-testingSkill
- customer-billing-opsSkill
- customs-trade-complianceSkill
- database-migrationsSkill
- data-scraper-agentSkill
- debugging-and-error-recoverySkill
- deep-researchSkill
- deployment-patternsSkill
- deprecation-and-migrationSkill
- design-systemSkill
- django-celerySkill
- django-patternsSkill
- django-securitySkill
- django-tddSkill
- django-verificationSkill
- dmux-workflowsSkill
- docker-patternsSkill
- documentation-lookupSkill
- doubt-driven-developmentSkill
- e2e-testingSkill
- energy-procurementSkill
- error-handlingSkill
- eval-harnessSkill
- fastapi-patternsSkill
- finance-billing-opsSkill
- foundation-models-on-deviceSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 2 are common, 0 are distinctive, and 2 are very specific to this project.
2
Common
Most of the 7 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 17
Use when: adopting Bun, migrating from Node, writing or debugging Bun scripts/tests, or configuring Bun on Vercel or other platforms.
- Very specific: line 83
Commit the lockfile (bun.lock or bun.lockb) for reproducible installs.
- Very specific: line 84
Prefer bun run for scripts.
- Common: line 85
Keep dependencies up to date.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bun Runtime
Bun is a fast all-in-one JavaScript runtime and toolkit: runtime, package manager, bundler, and test runner.
When to Use
- Prefer Bun for: new JS/TS projects, scripts where install/run speed matters, Vercel deployments with Bun runtime, and when you want a single toolchain (run + install + test + build).
- Prefer Node for: maximum ecosystem compatibility, legacy tooling that assumes Node, or when a dependency has known Bun issues.
Use when: adopting Bun, migrating from Node, writing or debugging Bun scripts/tests, or configuring Bun on Vercel or other platforms.
How It Works
- Runtime: Drop-in Node-compatible runtime (built on JavaScriptCore, implemented in Zig).
- Package manager:
bun installis significantly faster than npm/yarn. Lockfile isbun.lock(text) by default in current Bun; older versions usedbun.lockb(binary). - Bundler: Built-in bundler and transpiler for apps and libraries.
- Test runner: Built-in
bun testwith Jest-like API.
Migration from Node: Replace node script.js with bun run script.js or bun script.js. Run bun install in place of npm install; most packages work. Use bun run for npm scripts; bun x for npx-style one-off runs. Node built-ins are supported; prefer Bun APIs where they exist for better performance.
Vercel: Set runtime to Bun in project settings. Build: bun run build or bun build ./src/index.ts --outdir=dist. Install: bun install --frozen-lockfile for reproducible deploys.
Examples
Run and install
# Install dependencies (creates/updates bun.lock or bun.lockb)
bun install
# Run a script or file
bun run dev
bun run src/index.ts
bun src/index.tsScripts and env
bun run --env-file=.env dev
FOO=bar bun run script.tsTesting
bun test
bun test --watch// test/example.test.ts
import { expect, test } from "bun:test";
test("add", () => {
expect(1 + 2).toBe(3);
});Runtime API
const file = Bun.file("package.json");
const json = await file.json();
Bun.serve({
port: 3000,
fetch(req) {
return new Response("Hello");
},
});Best Practices
- Commit the lockfile (
bun.lockorbun.lockb) for reproducible installs. - Prefer
bun runfor scripts. For TypeScript, Bun runs.tsnatively. - Keep dependencies up to date; Bun and the ecosystem evolve quickly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

