What problem does it solve? Writing file system code that works across Node.js and Bun without scattering platform-specific imports through business logic is error-prone. This Skill teaches how to use the Effect FileSystem service for typed, testable, platform-abstract file operations with proper error handling and scoped resource cleanup. ## Core Features & Use Cases - Complete File Operations: Read, write, copy, rename, remove, stat, chmod, symlink, and watch files through the FileSystem service interface. - Streaming and Scoped Resources: Stream large files with stream()/sink(), manage file handles and temp directories with automatic scoped cleanup. - Typed Error Handling: Catch PlatformError with catchTag and map system errors like NotFound or PermissionDenied into domain-specific tagged errors. - Use Case: You need to read a config file, process it in a temp directory, and clean up automatically. Yield the FileSystem service, use makeTempDirectoryScoped, and provide NodeFileSystem.layer at the entry point. ## Quick Start Ask the agent to read a file using Effect FileSystem with the Node.js layer and handle the NotFound error case.