typescript-plugin/skills/bun-build/SKILL.md
Bun build: bundle or compile JS/TS to production bundle or standalone binary. Use when the user wants to bundle, compile, or build for browser/bun/node target.
npx skillsauth add laurigates/claude-plugins bun-buildInstall 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.
Bundle JavaScript/TypeScript or compile to standalone executable.
| Scenario | Use this skill | Alternative |
|----------|---------------|-------------|
| Quick production bundle of an entry point | Yes | N/A |
| Compiling to a standalone executable | Yes | N/A |
| Building for a specific target (browser/bun/node) | Yes | N/A |
| Configuring complex build pipelines | No - use bun-development | Full build configuration guidance |
| Running project build scripts (bun run build) | No - use bun-development | N/A |
entry (required): Entry point file--compile: Create standalone executable--minify: Minify outputProduction bundle:
bun build $ENTRY --outdir=dist --minify --sourcemap=external
Standalone executable:
bun build --compile --minify $ENTRY --outfile={{ OUTFILE | default: "app" }}
Development bundle:
bun build $ENTRY --outdir=dist --sourcemap=inline
# Browser (default)
bun build $ENTRY --target=browser --outdir=dist
# Bun runtime
bun build $ENTRY --target=bun --outdir=dist
# Node.js
bun build $ENTRY --target=node --outdir=dist
| Context | Command |
|---------|---------|
| Prod bundle | bun build ./src/index.ts --outdir=dist --minify --sourcemap=external |
| Compile to exe | bun build --compile --minify ./app.ts --outfile myapp |
| Dev bundle | bun build ./src/index.ts --outdir=dist --sourcemap=inline |
| Browser target | bun build ./src/index.ts --target=browser --outdir=dist |
| Node target | bun build ./src/index.ts --target=node --outdir=dist |
./app --help or similartools
Scaffold a new ComfyUI custom-node repo (pyproject, CI, release-please, vitest+pytest, JS extension skeleton) in the picker/gesture vein. Use when bootstrapping or init-ing a comfyui node pack.
tools
Orchestrate a ComfyUI node pack from idea to registry: scaffold, create + seed the repo, open the gitops adoption PR. Use when releasing or spinning up a new comfyui node pack.
testing
macOS EndpointSecurity/EDR high CPU & battery drain. Use when Kandji ESF / XProtect pegs a core; trace the exec storm via powermetrics + eslogger.
development
odiff pixel-by-pixel image diffing. Use when comparing screenshots, detecting visual regressions, diffing before/after PNGs, asserting golden images.