Agent skill · software engineering · secondsky
bun-file-io
Use for Bun file I/O: Bun.file, Bun.write, streams, directories, glob patterns, metadata.
Why this skill is useful
Provides specific commands and patterns for Bun file I/O operations that are not widely known or documented.
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 File I/O Bun provides fast, optimized file operations via Bun.file() and Bun.write(). Reading Files Bun.file() Read Specific Types Writing Files Bun.write() Appending Streaming Read Stream Write Stream Pipe Streams Directory Operations Glob Patterns File Metadata Path Operations Common Patterns Read JSON Config Copy Directory Watch Files Temp Files Common Errors Error Cause Fix ------- ------- ----- ENOENT File not found Check path, use exists() EACCES Permission denied Check file permissions EISDIR Is a directory Use readdir() for directories EEXIST Already exists Use recursive: true for mkdir When to Load References Load references/streams-advanced.md when: Transform streams Compression streams Binary protocols Load references/performance.md when: Large file handling Memory optimization Concurrent operations
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills secondsky/bun-file-io