.claude/skills/ts-bun/SKILL.md
Assists with using Bun as an all-in-one JavaScript/TypeScript runtime, package manager, bundler, and test runner. Use when building HTTP servers, managing packages, running tests, or migrating from Node.js. Trigger words: bun, bun serve, bun install, bun test, bun build, javascript runtime, bun runtime.
npx skillsauth add eliferjunior/Claude 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.
Bun is an all-in-one JavaScript/TypeScript runtime that replaces Node.js, npm, webpack, and Jest with a single binary. It provides native TypeScript support, a high-performance HTTP server (Bun.serve()), a fast package manager, a bundler, and a Jest-compatible test runner with dramatically faster performance.
Bun.serve() which handles 100K+ req/s with built-in WebSocket support, TLS, and streaming responses.bun install (10-30x faster than npm), bun add, bun remove, and prefer bun.lock (text format) for readable git diffs.Bun.build() with appropriate target ("browser", "bun", "node"), enable code splitting with splitting: true, and configure tree shaking.bun test with Jest-compatible API (describe, it, expect), snapshot testing, mocking with mock.module(), and --coverage for code coverage.Bun.file() and Bun.write() over Node.js fs for significantly faster file operations, and use Bun.Glob for pattern matching.Bun.password.hash() and Bun.password.verify() for bcrypt/argon2 instead of npm packages.node with bun in scripts, keep package.json unchanged, and note that most npm packages work without modifications. Use bun:sqlite for embedded databases instead of SQLite npm packages.User request: "Create a REST API using Bun's built-in HTTP server"
Actions:
Bun.serve() and route handlerrequest.json() and return Response objectsBun.password for auth and bun:sqlite for data storageOutput: A fast API server using only Bun built-ins with no external dependencies.
User request: "Switch my Express project from Node.js to Bun"
Actions:
npm install with bun install in CI and local setuppackage.json scripts to use bun run instead of nodedotenv with Bun's built-in .env loadingbun test with same test filesOutput: A Bun-powered project with faster installs, startup, and test execution.
Bun.serve() for new HTTP servers; it is significantly faster than Express on Bun.Bun.file() and Bun.write() over Node.js fs for file operations.bun:sqlite for local data instead of adding SQLite npm packages.Bun.password for auth instead of bcrypt/argon2 npm packages for zero native dependencies.bun.lock (text format) in git for readable diffs.bun test instead of Jest for the same API with dramatically faster execution.Bun.build() with target: "browser".development
Expert guidance for Fireworks AI, the platform for running open-source LLMs (Llama, Mixtral, Qwen, etc.) with enterprise-grade speed and reliability. Helps developers integrate Fireworks' inference API, fine-tune models, and deploy custom model endpoints with function calling and structured output support.
development
Convert any website into clean, structured data with Firecrawl — API-first web scraping service. Use when someone asks to "turn a website into markdown", "scrape website for LLM", "Firecrawl", "extract website content as clean text", "crawl and convert to structured data", or "scrape website for RAG". Covers single-page scraping, full-site crawling, structured extraction, and LLM-ready output.
tools
Expert guidance for Firebase, Google's platform for building and scaling web and mobile applications. Helps developers set up authentication, Firestore/Realtime Database, Cloud Functions, hosting, storage, and analytics using Firebase's SDK and CLI.
development
When the user needs to build file upload functionality for a web application. Use when the user mentions "file upload," "image upload," "upload endpoint," "multipart upload," "presigned URL," "S3 upload," "file validation," "upload to cloud storage," or "accept user files." Handles upload endpoints, file validation (type, size, magic bytes), cloud storage integration, and upload status tracking. For image/video processing after upload, see media-transcoder.