bun-patterns
CommunityVerify Bun APIs are used in backend code.
AuthorGrips001
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill checks that backend TypeScript code uses Bun-specific APIs instead of Node.js patterns to improve performance and consistency.
Core Features & Use Cases
- Bun File I/O Patterns: Use Bun.file() and Bun.write() for file operations.
- Process & Environment: Prefer Bun.env over process.env for environment variables.
- HTTP Server Patterns: Write Bun.serve-based HTTP handlers.
- Use Case: When refactoring backend services to Bun, run this to ensure code adheres to Bun patterns.
Quick Start
Review backend code in src/backend/ to confirm Bun APIs are used instead of Node.js equivalents and run checks across the codebase.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bun-patterns Download link: https://github.com/Grips001/Chess-Sensei/archive/main.zip#bun-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.