بنقرة واحدة
bun
Build with Bun runtime avoiding Node.js compatibility traps, bundler pitfalls, and package manager gotchas.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build with Bun runtime avoiding Node.js compatibility traps, bundler pitfalls, and package manager gotchas.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | Bun |
| slug | bun |
| version | 1.0.0 |
| description | Build with Bun runtime avoiding Node.js compatibility traps, bundler pitfalls, and package manager gotchas. |
| metadata | {"clawdbot":{"emoji":"🥟","requires":{"bins":["bun"]},"os":["linux","darwin","win32"]}} |
User needs Bun expertise — fast JavaScript/TypeScript runtime, bundler, and package manager. Agent handles migration from Node, bundling for web/server, and troubleshooting compatibility issues.
| Topic | File |
|---|---|
| Node.js API differences | node-compat.md |
| Bundler configuration | bundler.md |
| Package management | packages.md |
process.nextTick timing differs from Node — race conditions appear that didn't exist before, use queueMicrotask for cross-runtime code__dirname and __filename don't exist in ESM — use import.meta.dir and import.meta.file, forgetting causes ReferenceErrorfs.watch misses events that Node catches — file watcher scripts silently miss changes, add polling fallbackchild_process.spawn options subset — some stdio configurations silently ignored, test subprocess code explicitlycluster module not supported — app crashes immediately if code uses cluster, must refactor to workersvm module partial — sandboxed code may escape or behave differently, security implications--target=browser strips Node APIs silently — build succeeds, then runtime crashes on fs, path, etc.--splitting requires --format=esm — error message doesn't mention this, just fails cryptically--external:package for server deps"sideEffects": false to package.json or lose codeurl() paths resolve wrong, test in actual browser--minify mangles names aggressively — debugging production crashes is harder, use --minify-syntax for safer minificationbun.lockb is binary format — can't diff, can't merge, Git conflicts require delete and regeneratebun install resolves differently than npm — "works on my machine" when teammate uses npmlink: protocol behaves differently — imports from workspace packages may failbun add modifies package.json formatting — unwanted diff noise in commitsnpm audit equivalent — security vulnerabilities not surfaced automaticallytsc — type errors don't stop execution, bugs ship to productiontsconfig.json paths work differently — imports that worked in Node+tsc may failbun test has different assertion API — tests written for Jest need adaptationbun --hot doesn't reload native modules — changes require restartExpert code review for embedded/firmware projects with dual-model cross-review (Claude + Codex via ACP). Detects memory safety, interrupt hazards, RTOS pitfalls, hardware interface bugs, and C/C++ anti-patterns.
Explore and explain biology with depth adapted to any learner or expert.
Guide CS learning from first programs to research and industry practice.
"Database Design Helper - 数据库设计助手. Use when you need database design capabilities. Triggers on: database design."
Reference tool for life — covers intro, guide, tips and more. Quick lookup for Dream Interpreter concepts, best practices, and implementation patterns.
Track stocks, ETFs, indices, crypto (where available), and FX pairs with caching + provider fallbacks.