{"skill":{"slug":"bun-runtime","displayName":"Bun Runtime","summary":"Bun runtime capabilities for filesystem, process, and network operations. Use when you need to execute Bun-specific operations like Bun.file(), Bun.write(), or Bun.glob() for optimized file handling, or when working with Bun's native process/network APIs. Triggered by requests for Bun runtime features, file operations with Bun, or high-performance I/O tasks.","description":"---\nname: bun-runtime\ndescription: Bun runtime capabilities for filesystem, process, and network operations. Use when you need to execute Bun-specific operations like Bun.file(), Bun.write(), or Bun.glob() for optimized file handling, or when working with Bun's native process/network APIs. Triggered by requests for Bun runtime features, file operations with Bun, or high-performance I/O tasks.\n---\n\n# Bun Runtime\n\nNative Bun runtime operations for filesystem, process, and network tasks.\n\n## When to Use\n\nUse this skill when:\n- Working with Bun's native file APIs (`Bun.file()`, `Bun.write()`, `Bun.glob()`)\n- Need optimized I/O operations in Bun environment\n- Running Bun-specific process commands\n- Making network requests with Bun's fetch\n\n## Filesystem Operations\n\n### Read File\n\n```bash\nscripts/bun-fs.sh read /path/to/file.txt\n```\n\nReturns JSON: `{\"content\": \"file contents\"}`\n\n### Write File\n\n```bash\nscripts/bun-fs.sh write /path/to/file.txt \"content here\"\n```\n\nCreates parent directories automatically.\nReturns JSON: `{\"written\": true, \"path\": \"/path/to/file.txt\"}`\n\n### Glob Files\n\n```bash\nscripts/bun-glob.sh \"/tmp/*.txt\"\n```\n\nReturns JSON: `{\"files\": [\"/tmp/file1.txt\", \"/tmp/file2.txt\"], \"count\": 2}`\n\n## Process Operations\n\n### Execute Command\n\n```bash\nscripts/bun-process.sh \"ls -la\"\n```\n\nRuns shell command and returns output.\n\n## Network Operations\n\n### HTTP Request\n\n```bash\nscripts/bun-fetch.sh \"https://api.example.com\" \"GET\"\n```\n\nMakes HTTP request using Bun's native fetch.\n\n## Notes\n\n- All scripts use Bun's native APIs for better performance\n- File operations automatically handle encoding\n- Errors are returned with clear messages\n","tags":{"bun":"1.0.0","cli":"1.0.0","devtools":"1.0.0","filesystem":"1.0.0","latest":"1.0.0","network":"1.0.0","process":"1.0.0"},"stats":{"comments":0,"downloads":2650,"installsAllTime":99,"installsCurrent":8,"stars":0,"versions":1},"createdAt":1769840559259,"updatedAt":1779076505852},"latestVersion":{"version":"1.0.0","createdAt":1769840559259,"changelog":"Version 1.0.0\n\n- Initial release of the bun-runtime skill.\n- Provides native Bun operations for filesystem (read, write, glob), process commands, and network requests.\n- Scripts utilize Bun APIs for optimized performance and I/O tasks.\n- Automatically manages file encodings and directory creation.\n- Returns clear, JSON-formatted results and error messages.","license":null},"metadata":null,"owner":{"handle":"rabin-thami","userId":"s170b56xadf8vvtf0v26j95yp588587y","displayName":"rabin-thami","image":"https://avatars.githubusercontent.com/u/44690395?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779918184408}}