AI SummaryHeuristic scoring (no AI key configured).
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "performance-optimizer" skill in my project. Please run this command in my terminal: # Install skill into your project mkdir -p .claude/skills/performance-optimizer && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/performance-optimizer/SKILL.md "https://raw.githubusercontent.com/einverne/dotfiles/master/claude/skills/performance-optimizer/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Performance analysis, profiling techniques, bottleneck identification, and optimization strategies for code and systems. Use when the user needs to improve performance, reduce resource usage, or identify and fix performance bottlenecks.
1. Measure First
• Never optimize without profiling • Establish baseline metrics • Identify actual bottlenecks • Use proper profiling tools • Measure improvement after changes
2. Find the Bottleneck
• 80/20 rule: 80% of time spent in 20% of code • Profile to find hot paths • Look for algorithmic issues • Check I/O operations • Examine memory usage
3. Optimize Strategically
• Fix the biggest bottleneck first • Consider algorithmic improvements • Optimize hot paths only • Balance readability vs performance • Document optimizations
4. Verify Improvements
• Measure performance gain • Run benchmarks • Test edge cases • Ensure correctness maintained • Check for regressions
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster