Optimize Bun application performance and bundle size
/plugin marketplace add secondsky/claude-skills/plugin install secondsky-bun-plugins-bun@secondsky/claude-skills# Bun Optimization Analyze and optimize Bun application performance. ## Optimization Areas ### Bundle Size Optimization Analyze current bundle: Techniques: 1. **Enable minification** - Reduces size by 40-60% 2. **Code splitting** - Lazy load non-critical code 3. **Tree shaking** - Remove unused exports 4. **External packages** - Don't bundle large deps 5. **Drop console/debugger** - Remove dev code ### Runtime Performance 1. **Use Bun APIs** - Prefer Bun.file() over fs 2. **Stream large files** - Don't load into memory 3. **Prepared statements** - Reuse SQLite statements 4. **Conn...