Back to Commands

/optimize

Optimize code for performance, bundle size, or resource usage.

Details

Category
developer-tools

Usage

/optimize <file or function>

Tags

performance
optimization
efficiency

Instructions

Analyze and optimize the specified code for better performance. Identify bottlenecks, suggest algorithmic improvements, and reduce unnecessary operations.