dev-optimize-performance

Analyze code for performance bottlenecks and suggest optimizations.

3|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/GDSDN/kord-aios --skill dev-optimize-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-optimize-performance
Source: https://github.com/GDSDN/kord-aios/tree/main/src/features/builtin-skills/kord-aios/dev-workflow/dev-optimize-performance
Command: npx skills add https://github.com/GDSDN/kord-aios --skill dev-optimize-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fs, path, chalk, inquirer, glob, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill identifies and resolves performance bottlenecks in your codebase, leading to faster execution, reduced memory usage, and improved scalability.

Core Features & Use Cases

  • Performance Analysis: Detects issues like inefficient algorithms, memory leaks, and slow database queries.
  • Optimization Suggestions: Provides actionable recommendations with code examples for improvement.
  • Automated Application: Can optionally apply specific optimizations directly to your code.
  • Use Case: You've noticed your application is slow under heavy load. Run this Skill to pinpoint the exact functions or queries causing the slowdown and get precise instructions on how to fix them.

Quick Start

Analyze the performance of all JavaScript files in the current directory and its subdirectories.

Frequently Asked Questions about dev-optimize-performance

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

FAQPage Schema
How do I find performance bottlenecks in my JavaScript code?

To find performance bottlenecks, this Skill analyzes your codebase to detect inefficient algorithms, memory leaks, and slow database queries. It scans JavaScript files and provides actionable recommendations with code examples to improve runtime performance and memory usage.

What is the best way to optimize memory usage and scalability under heavy load?

Optimizing memory usage and scalability is achieved by running this Skill to pinpoint exact functions or queries causing slowdowns. It supports various optimization patterns including algorithm complexity, async operations, database queries, and bundle size to resolve performance issues under heavy load.

Can I automatically apply code optimizations for async operations and database queries?

Yes, you can automatically apply code optimizations. This Skill offers interactive and autonomous modes for analysis, allowing it to optionally apply specific optimizations directly to your code for async operations and database queries.

Does this performance analysis tool work with all JavaScript files in my project directory?

Yes, this performance analysis tool works with JavaScript files in your project directory. Using glob pattern matching, it analyzes all JavaScript files in the current directory and its subdirectories to detect performance issues and suggest optimizations.

How do I analyze bundle size and algorithm complexity without breaking existing logic?

To analyze bundle size and algorithm complexity safely, use the interactive mode which suggests optimizations with code examples before applying them. This ensures you can review performance improvements without breaking existing logic.