code-optimize

Identify and fix performance bottlenecks in frontend and backend codebases.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gpaura/claude_plugins --skill code-optimize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-optimize
Source: https://github.com/gpaura/claude_plugins/tree/main/skills/code-optimize
Command: npx skills add https://github.com/gpaura/claude_plugins --skill code-optimize

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers identify performance bottlenecks and refactor code to improve speed, memory usage, and overall efficiency.

Core Features & Use Cases

  • Profiling-driven optimization: identify hot paths and reduce renders, memory leaks, and unnecessary recalculations.
  • Targeted platform optimizations: React/Next.js, API layers, and database queries for faster, leaner apps.
  • Use Case: Imagine you have a slow React app; this Skill guides you to profile, refactor, and measure improvements.

Quick Start

Apply the optimization workflow to your project by running the analyzer on the codebase and implementing the suggested changes.

Frequently Asked Questions about code-optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify performance bottlenecks in a React or Next.js application?

Identify performance bottlenecks by profiling your codebase to detect hot paths, memory leaks, and unnecessary recalculations, which reduces renders and improves speed.

What's the best way to profile and refactor slow frontend code?

The best way to profile and refactor slow frontend code is applying a profiling-driven workflow to identify hot paths, implement actionable refactors, and validate improvements with measurable benchmarks.

Can I use this optimization workflow for backend APIs and database queries?

Yes, you can use this optimization workflow for backend APIs and database queries, as it applies to both frontend and backend projects to improve speed and memory management.

How do I measure and validate code performance improvements after refactoring?

Measure and validate code performance improvements by establishing measurable benchmarks before refactoring, then validating the speed and efficiency gains after implementing the suggested changes.

Why does my Next.js app have memory leaks and unnecessary recalculations?

Your Next.js app has memory leaks and unnecessary recalculations due to unoptimized hot paths, which you can identify through profiling and fix with actionable memory management and refactoring guidance.