Agent skill · software engineering · secondsky

bun-shell

Bun shell scripting with Bun.$, Bun.spawn, subprocess management. Use for shell commands, template literals, or command execution.

Why this skill is useful

Provides specific commands and patterns for Bun shell scripting that the AI wouldn't reliably generate on its own.

What it needs

Requires bun installed locally. About 4k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.

What this skill does

Bun Shell Bun provides powerful shell scripting capabilities with template literals and spawn APIs. Bun.$ (Shell Template) Basic Usage Variable Interpolation Piping Error Handling Output Types Environment Variables Working Directory Bun.spawn Basic Spawn With Options Stdio Options Streaming Output Bun.spawnSync Shell Scripts Shebang Scripts Complex Script Parallel Commands Interactive Commands Process Management Common Patterns Run npm/bun scripts Git Operations File Operations Common Errors Error Cause Fix ------- ------- ----- Command not found Not in PATH Use absolute path Permission denied Not executable chmod +x Exit code 1 Command failed Check stderr EPIPE Broken pipe Handle process exit When to Load References Load references/advanced-scripting.md when: Complex pipelines Process groups Signal handling Load references/cross-platform.md when: Windows compatibility Path handling Shell differences

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills secondsky/bun-shell

View the source on GitHub

Browse the @skills marketplace