Bun runtime capabilities for filesystem, process, and network operations. Use when you need to execute Bun-specific operations like Bun.file(), Bun.write(), or Bun.glob() for optimized file handling, or when working with Bun's native process/network APIs. Triggered by requests for Bun runtime features, file operations with Bun, or high-performance I/O tasks.
技能名称: bun-runtime
详细描述:
用于文件系统、进程和网络任务的原生 Bun 运行时操作。
在以下情况下使用此技能:
bash
scripts/bun-fs.sh read /path/to/file.txt
返回 JSON:{content: file contents}
bash
scripts/bun-fs.sh write /path/to/file.txt content here
自动创建父目录。
返回 JSON:{written: true, path: /path/to/file.txt}
bash
scripts/bun-glob.sh /tmp/*.txt
返回 JSON:{files: [/tmp/file1.txt, /tmp/file2.txt], count: 2}
bash
scripts/bun-process.sh ls -la
运行 shell 命令并返回输出。
bash
scripts/bun-fetch.sh https://api.example.com GET
使用 Bun 的原生 fetch 发起 HTTP 请求。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 bun-runtime-1776377349 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 bun-runtime-1776377349 技能
skillhub install bun-runtime-1776377349
文件大小: 3.44 KB | 发布时间: 2026-4-17 13:57