本文へ移動
cccskills
無料GitHub で公開

bun-1-4

Read before a js eval cell that installs a package, spawns a server or PTY, or starts a long run, and before any bun -e, script, server, CLI, test, bundle, or package-management work: this session's eval js kernel runs Bun 1.4+ (this skill is present only when it does). Bun 1.4 ships builtins that replace 15+ npm deps — check here BEFORE installing sharp, puppeteer/playwright (scraping), marked, node-cron, node-pty, concurrently, serve-static, tar, json5, fast-xml-parser, string-width. Triggers: eval js, bun, Bun.serve, bun test, bun build, bun install, bun run, image resize, headless browser, markdown render, cron, PTY.

インストール方法を見る

含まれるファイル(11)

  • SKILL.md5.2 KB
  • references/breaking-changes.md5.1 KB
  • references/build.md4.6 KB
  • references/dev-tooling.md1.9 KB
  • references/http-networking.md4.5 KB
  • references/install.md4.2 KB
  • references/node-compat-platforms.md2.5 KB
  • references/performance.md2.1 KB
  • references/runtime-apis.md7.8 KB
  • references/security.md3.2 KB
  • references/test.md4.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Bun 1.4 — Use the Builtins First

Bun 1.4 (2026) ships builtins that replace most utility npm packages. Before adding a dependency or writing a workaround, check the capability map below — if Bun ships it, use the builtin. This skill is loaded because this session's eval js kernel runs Bun >= 1.4; on other machines or pinned projects, confirm with bun --version ([v1.3.x]/[v1.4.0] tags in the references give exact minimums). Release post: https://bun.com/blog/bun-v1.4

Capability map — what you can do now

You want to...UseReplacesRef = references/<name>.md
Resize/convert/rotate imagesBun.file(p).image().resize().webp().write()sharpruntime-apis
Headless browser: navigate, click, screenshot, evaluate, CDPnew Bun.WebView()puppeteer, playwright (scraping)runtime-apis
Markdown → HTML / React / ANSIBun.markdown.html() / .react() / .render()marked, react-markdownruntime-apis
Schedule cron jobsBun.cron()node-cronruntime-apis
Drive a PTY (bash, vim, TUIs) from JSBun.spawn([...], { terminal })node-ptyruntime-apis
Run package scripts concurrently, glob-matchedbun run --parallel "build:*"concurrently, npm-run-allruntime-apis
Parse JSON5 / JSONL / JSONC / XML / TOML; tarballsBun.JSON5/.JSONL/.JSONC/.XML/.TOML, Bun.Archivejson5, ndjson, jsonc-parser, fast-xml-parser, @iarna/toml, tarruntime-apis
ANSI-aware terminal text: width, slice, wrapBun.stringWidth(), Bun.sliceAnsi(), Bun.wrapAnsi()string-width, slice-ansi, wrap-ansiruntime-apis
Call C libraries 3x faster, plain strings backbun:ffi (buffer_length, cstring)—runtime-apis
Serve a static dir (ETag/Range/304 handled)Bun.serve({ routes: { "/x/*": { dir } } })express.static, serve-static, sirvhttp-networking
HTTP/3 server; fetch protocol/compress/proxyhttp3: true, fetch(url, { protocol, compress, proxy })—http-networking
Tests across CPU workers / CI shards / changed files / flaky retrybun test --parallel --shard=1/3 --changed=main --retryjest/vitest infratest
Kill "passes alone, fails in suite" bugsbun test --isolatevitest default behaviortest
React Compiler auto-memoizationbun build --react-compilerbabel-plugin-react-compilerbuild
Embed assets/dirs into a single-file executablebun build --compile --asset ./publicpkg hacksbuild
Compile-time feature flags, in-memory bundling, metafilebun:bundle feature(), files:{}, metafile: trueesbuild define/pluginsbuild
Diff package versions, fix vulns, dedupe/prune, license auditbun pm diff, bun audit fix, bun dedupe, bun prune, bun pm licensesnpm-diff, npm audit fixinstall
7x faster CI installs (global virtual store)linker = "isolated" in bunfig.tomlpnpm storeinstall
Profile CPU/heap/bundle as grep-able Markdownbun --cpu-prof-md, --heap-prof-md, bun build --metafile-mdChrome DevTools round-tripdev-tooling
Native REPL; render Markdown in terminalbun repl, bun ./README.mdnode repl, glowruntime-apis
Run Playwright, vitest, Next.js 16, OpenTelemetry, dd-tracethey now just workNode.jsnode-compat-platforms

Free wins (no code change): 2x lower CPU, 13-48% less server memory, 2-2.5x faster startup — full numbers in performance.

Operating rules

  1. Eval-first. The eval js kernel runs on Bun (that is why this skill is present): call Bun.* APIs directly inside js cells. Reach for bash or a spawned bun <file> / bun -e only for CLI surfaces (bun test, bun build, bun pm) or work that needs a separate process.
  2. Builtin-first. The Replaces column above is a ban list for new dependencies, in production code, test helpers, and one-off scripts alike.
  3. Read the matching reference before using an unfamiliar API — signatures and caveats (e.g. Bun.markdown HTML is unsanitized, HTTP/3 is experimental) live there, not here.
  4. Upgrading a project to 1.4 or debugging behavior that changed? Read breaking-changes first — YAML/TOML strictness, .xml/.css import semantics, Bun.$ globbing, fetch header combining, and WebSocket close timing all changed.
  5. TLS errors after upgrade are usually intentional — 1.4 tightened certificate verification across fetch, tls.connect, Bun.connect, RedisClient. See security before loosening anything.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Implements a single feature in the pi-mono `todotools` builtin extension work. Use for refactoring, continuation runtime, config resolver, prompt builder, test authoring, golden snapshots, CHANGELOG entries, and harness helpers. Does NOT do manual tmux QA.

日本語の概要は準備中です。原文の説明を表示しています。

code-yeongyu/senpi4792026年10月13日 更新

Example skill loaded from resources_discover

日本語の概要は準備中です。原文の説明を表示しています。

code-yeongyu/senpi4792026年10月13日 更新

MUST read before generating images. Prompt-crafting guide for gpt-image-2.5 covering tool routing (native image_generation server tool vs the generate_image tool), model and quality selection, prompt structure, exact text rendering, reference-image editing, transparent assets, output formats, and multi-turn refinement.

日本語の概要は準備中です。原文の説明を表示しています。

code-yeongyu/senpi4792026年10月13日 更新

Sync a fork branch with an upstream remote using a history-preserving merge. Use this whenever the user says /merge-upstream, merge upstream, sync upstream, sync fork, or wants upstream changes integrated without rebasing or force-pushing.

日本語の概要は準備中です。原文の説明を表示しています。

code-yeongyu/senpi4792026年10月13日 更新

Release, publish, CalVer tag push, npm publish, 배포, 릴리즈 for senpi. Use for the canonical release flow, GitHub tag/release publication, and npm publishing.

日本語の概要は準備中です。原文の説明を表示しています。

code-yeongyu/senpi4792026年10月13日 更新

senpi-qa

無料

Manual QA harness for the senpi coding agent itself. MUST USE after changing packages/ai, packages/agent, packages/coding-agent, or packages/tui — a green typecheck and `npm test` are NOT QA. Drives the real CLI from source in an isolated sandbox (never touches ~/.senpi or real credentials) across four channels: remote RPC (--mode rpc JSONL stdio), TUI smoke (node-pty on Windows, tmux on POSIX), mock loop (a local fake model server for deterministic, zero-token agent-loop runs), and CLI smoke (--help/--print/--list-models). Every helper ships a --self-test. Use whenever someone says qa senpi, test the agent, verify my change, rpc qa, tui qa, mock-loop qa, smoke the cli, or needs evidence that an agent-loop, tool, keybinding, or provider change works end to end. Capture evidence to local-ignore/qa-evidence/.

日本語の概要は準備中です。原文の説明を表示しています。

code-yeongyu/senpi4792026年10月13日 更新

code-yeongyu のスキルをすべて見る

このスキルの問題を報告する