code-optimizer

Identify performance bottlenecks, memory leaks, and algorithm inefficiencies in code.

104|15|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/luongnv89/skills --skill code-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-optimizer
Source: https://github.com/luongnv89/skills/tree/main/skills/code-optimizer
Command: npx skills add https://github.com/luongnv89/skills --skill code-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze code for performance issues and suggest optimizations.

Core Features & Use Cases

  • Identify performance bottlenecks in target code and propose concrete improvements for speed, memory usage, and concurrency.
  • Detect memory leaks and inefficient resource management, with actionable fixes.
  • Provide end-to-end guidance from analysis to patch validation, suitable for multi-language codebases.

Quick Start

Provide the target file path and language to analyze for performance bottlenecks and memory issues.

Frequently Asked Questions about code-optimizer

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

FAQPage Schema
How do I identify performance bottlenecks and memory leaks in my codebase?

To identify performance bottlenecks and memory leaks, provide the target file path and programming language. The analysis reads your code to detect concurrency issues, resource management inefficiencies, and algorithm problems, returning prioritized findings with actionable fixes.

Can I analyze code for concurrency issues and caching opportunities across multiple programming languages?

Yes, you can analyze code for concurrency issues and caching opportunities across multiple languages. By reading the target files directly, it recognizes language-specific bottlenecks and inefficient resource management, then recommends concrete improvements regardless of the tech stack.

What's the best way to optimize code for speed and memory usage without changing the core logic?

The best way to optimize code for speed and memory usage is to target specific algorithm inefficiencies and resource management flaws. The analysis identifies caching opportunities and concurrency bottlenecks, providing actionable fixes that improve execution efficiency while preserving core functionality.

How do I get actionable fixes for inefficient resource management and memory leaks?

To get actionable fixes for inefficient resource management and memory leaks, run the analysis on your target files. It detects the leaks, determines issue priority by severity, and outputs concrete patch recommendations to resolve the resource bottlenecks.

Does this code optimization approach provide severity rankings for detected algorithm inefficiencies?

Yes, this code optimization approach provides severity rankings for detected algorithm inefficiencies. It evaluates performance bottlenecks and concurrency issues, returning findings categorized by severity to help you prioritize and apply the most critical actionable fixes first.