mirror of
https://github.com/duthaho/claudekit.git
synced 2026-06-14 22:14:57 +03:00
747 B
747 B
/optimize - Performance Optimization Command
Purpose
Analyze and optimize code performance.
Usage
/optimize [file or function]
Optimize: $ARGUMENTS
Workflow
-
Analyze Current Performance
- Identify bottlenecks
- Check complexity
- Profile if possible
-
Identify Opportunities
- Algorithm improvements
- Caching opportunities
- Async optimizations
-
Implement Optimizations
- Make targeted changes
- Verify improvements
- Ensure correctness
Output
## Optimization Report
### Before
- Time complexity: O(n²)
- Estimated time: 500ms
### After
- Time complexity: O(n log n)
- Estimated time: 50ms
### Changes Made
- [Description of optimizations]