Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

bun-usageBun 使用

Agent Skill

bun-usage 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

321

周安装

13

GitHub Stars

公开资料未说明

下载量

101
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bun-usage(Bun 使用)
来源仓库:https://github.com/menoncello/skillsmp-research-plugin
仓库路径:skills/bun-usage
安装命令:
npx skills add https://github.com/menoncello/skillsmp-research-plugin --skill bun-usage
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/menoncello/skillsmp-research-plugin --skill bun-usage

简介

用于查找、检索和筛选 Bun 使用相关信息。

  • 适合在需要根据关键词或任务场景快速定位候选结果时使用。
  • 将 Bun 视为 Node.js 替代品,集成转译、包管理、测试和打包功能。
  • 支持快速启动、热重载、TypeScript/JSX 原生支持和独立可执行文件生成。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的网络请求。

SKILL.md

Bun

Overview

Bun is a fast JavaScript runtime that bundles transpilation, package management, testing, and bundling in one tool. Treat it as a drop-in Node.js replacement with better startup times, first-class TypeScript/JSX support, built-in watch/hot reload modes, and tooling for producing standalone executables.

When to Trigger This Skill

  • Users mention bun, bunx, bun test, or bun build
  • Work requires Bun-specific runtime behavior, package installation, bundling, or testing
  • Guidance is needed for Bun installation, upgrades, or cross-platform deployment
  • Debugging Bun tasks, especially around databases, hot reload, or Node.js compatibility

Quick Start Checklist

  1. Confirm Bun is installed: bun --version. If missing, install with curl -fsSL https://bun.sh/install | bash and add ~/.bun/bin to PATH.
  2. Inspect package.json, bunfig.toml, or scripts the project expects. Use bun install to sync dependencies and respect workspaces.
  3. Run scripts via bun run <script>, or run entrypoints directly (bun src/index.ts) to bypass script wrappers when debugging.
  4. Run tests with bun test (use --watch for TDD) and prefer the Jest-style bun:test APIs.
  5. Build or bundle with bun build --compile --minify --sourcemap --bytecode./entry.ts when shipping binaries. Use bun --watch/--hot during development.

Keep this checklist in mind before loading additional references.

Progressive Loading Map

Load only what is needed to stay within context limits.

  • Read references/runtime-and-apis.md for detailed runtime execution, package manager commands, bundler flags, testing syntax, Web-standard APIs, and Node.js compatibility notes.
  • Read references/workflows-and-executables.md for step-by-step workflows (project scaffolding, script execution, standalone binaries, native DB clients, bunx usage, hot reload guidance).
  • Read references/workspaces.md for monorepo setup, dependency hoisting, filtered script execution, and workspace troubleshooting.
  • Read references/setup-and-best-practices.md for installation instructions, system requirements, performance characteristics, and dev/prod best practices.
  • Read references/troubleshooting-and-frameworks.md when debugging runtime errors, module cache issues, or when integrating React, Next.js, Remix, Express, or Hono.
  • Read references/llms.txt for a condensed overview of Bun features and CLI syntax.
  • Read references/llms-full.txt for deep architectural details, design philosophy, and deployment guidance.
  • Read references/bun-v1.3.md for the latest release highlights (full-stack dev server, Bun.sql, Redis client, router upgrades, security scanner, etc.).

Only load the references relevant to the task at hand.

Execution Playbooks

Build or Debug an Existing Bun Project

  1. Verify Bun version and upgrade if project requires a newer release.
  2. Run bun install (or bun install --production) to sync dependencies.
  3. If the repo declares workspaces, load references/workspaces.md for dependency hoisting, filtered script execution, and troubleshooting.
  4. Start or test the app using project scripts (bun run dev, bun test, etc.).
  5. For runtime behavior, bundler options, or Node compatibility questions, load references/runtime-and-apis.md.
  6. If encountering runtime errors, stack traces, or cache issues, consult references/troubleshooting-and-frameworks.md.

Scaffold or Migrate a Project to Bun

  1. Use bun init (or bun init --react) to scaffold configs and entry points.
  2. Wire up environment variables through .env files (auto-loaded).
  3. Reference references/workflows-and-executables.md for React templates, bunx commands, database clients, and guidance on watch/hot reload modes.
  4. Validate Node.js compatibility requirements and adjust imports per references/runtime-and-apis.md.
  5. When splitting the project into multiple packages, follow references/workspaces.md to register packages, link local deps, and orchestrate scripts.

Ship Production Builds or Executables

  1. Confirm performance requirements and OS targets.
  2. Follow the optimization flags in references/setup-and-best-practices.md (--minify --sourcemap --bytecode --compile).
  3. Use bun build --compile./entry.ts --outfile <name> for single-file binaries; add --target flags for cross-compilation when necessary.
  4. Capture sourcemaps for debugging and document the generated artifacts.
  5. For bundling frontend + backend into a single binary, rely on HTML imports and guidance from references/workflows-and-executables.md.

Investigate Runtime, Test, or Compatibility Issues

  1. Reproduce the failure with bun run <entry> or bun test <file> --watch.
  2. If stack traces are truncated, run the entry file directly instead of via package scripts.
  3. Load references/troubleshooting-and-frameworks.md for cache clearing, dependency restart steps, and framework-specific notes.
  4. When dealing with Node APIs, confirm support status via references/runtime-and-apis.md or the full reference set (references/llms*.txt).
  5. Escalate to official docs or release notes if a feature landed recently (v1.3 details live in references/bun-v1.3.md).

Compatibility and Framework Notes

  • Bun aims for Node compatibility but hooks/inspector APIs are still evolving; always validate modules that rely on those features.
  • Framework integrations (React, Next.js, Remix, Express, Hono) are documented inside references/troubleshooting-and-frameworks.md. Load that file when configuring adapters, middleware, or dev servers.
  • Databases (SQLite, PostgreSQL, MySQL, Redis) are accessible through Bun-native clients outlined in references/workflows-and-executables.md.

Escalation Paths

If the bundled references do not cover a need:

  1. Load references/llms-full.txt for in-depth architecture and deployment coverage.
  2. Review official sources:

- https://bun.sh/docs - https://github.com/oven-sh/bun - https://bun.sh/discord

  1. Capture repro steps, commands, Bun version, and platform when escalating bugs to maintainers or the user.

Use the skill references rather than copying large sections into the active context.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.88%
按下载量换算30

Antigravity

21.37%
按下载量换算22

Gemini CLI

16.95%
按下载量换算17

windsurf

12.42%
按下载量换算13

trae

8.18%
按下载量换算8

Codex

3.62%
按下载量换算4

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills