What problem does it solve? Working with files in Bun requires knowing which API to use for each scenario—Bun.file versus node:fs, streaming versus buffering, glob matching versus manual directory traversal. This Skill consolidates the correct patterns for every common file I/O task in Bun so you avoid trial and error. ## Core Features & Use Cases - File Reading and Writing: Use Bun.file() for lazy file references with text, JSON, and binary reads, and Bun.write() for strings, binary data, HTTP responses, and file-to-file copies. - Streaming and Directories: Process large files with readable/writable streams, pipe through TransformStreams, and manage directories with node:fs/promises and Bun.Glob pattern matching. - Use Case: Imagine you need to download images from an API, save them to disk, then scan a source directory for all TypeScript files. This Skill shows you to pipe the fetch response directly to Bun.write() and iterate matches with Bun.Glob's scan(). ## Quick Start Ask the assistant to write a Bun script that reads a JSON config file, transforms its contents, and writes the result to a new file using Bun.file and Bun.write.