bun
Skill0 starsChanged 10 months agoMITView on GitHub
Use Bun instead of Node.js, npm, pnpm, or vite. Provides command mappings, Bun-specific APIs, and development patterns.
- Reads credentials
10 other projects use a version of this.
Adopted by
Most recently taken up by
- STIFLEUR390/kwiktalk-docstheir own version, first seen Oct 3, 2026
- kpatryk/skillstheir own version, first seen Sep 10, 2026
- nklisch/skillstheir own version, first seen Sep 5, 2026
- kelvincushman/orphustheir own version, first seen Jul 30, 2026
- joabgonzalez/ai-agents-skillstheir own version, first seen Jun 8, 2026
- miketromba/skillstheir own version, first seen Apr 8, 2026
Other versions10 projects use a version of this.
Word for word · 1
- brianlovin/agent-config★ 375100% same
Edited · 0
None found.
Wrote their own version · 9
- hoodini/ai-agents-skills★ 281same name
- joabgonzalez/ai-agents-skills★ 9same name
- nklisch/skills★ 8same name
- DaleStudy/skills★ 4same name
- kelvincushman/orphus★ 4same name
- Makiya1202/ai-agents-skills★ 2same name
- miketromba/skills★ 2same name
- kpatryk/skills★ 0same name
- STIFLEUR390/kwiktalk-docs★ 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 repository35 other files it gives its agents.
- skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-browserSkill
- central-stationSkill
- chrome-devtoolsSkill
- databaseSkill
- deploymentSkill
- design-spec-rulesSkill
- deslopSkill
- faviconSkill
- find-skillsSkill
- git-commit-messageSkill
- githubSkill
- interfaces-raunofreibergSkill
- knipSkill
- mymindSkill
- next-best-practicesSkill
- paper-mcpSkill
- projectsSkill
- pr-trendsSkill
- railway-docsSkill
- ramsSkill
- reclaudeSkill
- sentrySkill
- serviceSkill
- simplifySkill
- skill-creatorSkill
- statusSkill
- tailwind-v4Skill
- technical-writing-styleguideSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- web-design-guidelinesSkill
- web-interface-guidelinesSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use Bun as the default JavaScript/TypeScript runtime and package manager.
- Very specific: line 25
Prefer these over Node.js equivalents:
- Very specific: line 39
Use bun:test for tests:
- Very specific: line 53
Use HTML imports with Bun.serve() instead of Vite.
- Very specific: line 83
Run with bun --hot ./server.ts for HMR.
“Common” is measured: kept by at least 6 in 10 of the 6 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
Use Bun as the default JavaScript/TypeScript runtime and package manager.
Command Mappings
| Instead of | Use |
node file.ts | bun file.ts |
ts-node file.ts | bun file.ts |
npm install | bun install |
npm run script | bun run script |
jest / vitest | bun test |
webpack / esbuild | bun build |
Bun automatically loads .env files - don't use dotenv.
Bun-Specific APIs
Prefer these over Node.js equivalents:
| API | Purpose | Don't use |
Bun.serve() | HTTP server with WebSocket, HTTPS, routes | express |
bun:sqlite | SQLite database | better-sqlite3 |
Bun.redis | Redis client | ioredis |
Bun.sql | Postgres client | pg, postgres.js |
Bun.file() | File operations | node:fs readFile/writeFile |
Bun.$\cmd`` | Shell commands | execa |
WebSocket | WebSocket client (built-in) | ws |
Testing
Use bun:test for tests:
import { test, expect } from "bun:test";
test("description", () => {
expect(1).toBe(1);
});Run with bun test.
Frontend Development
Use HTML imports with Bun.serve() instead of Vite. Supports React, CSS, Tailwind.
Server:
import index from "./index.html"
Bun.serve({
routes: {
"/": index,
"/api/users/:id": {
GET: (req) => Response.json({ id: req.params.id }),
},
},
development: { hmr: true, console: true }
})HTML file:
<html>
<body>
<script type="module" src="./app.tsx"></script>
</body>
</html>Bun's bundler transpiles .tsx, .jsx, .js automatically. CSS is bundled via <link> tags.
Run with bun --hot ./server.ts for HMR.
Documentation
For detailed API docs, see node_modules/bun-types/docs/**.md.
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.

