performance-optimization

Provides guidance for optimizing application performance across hardware, software, and wetware.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/coff33ninja/ai-skills-mcp --skill performance-optimization-coff33ninja
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/coff33ninja/ai-skills-mcp/tree/main/skills/performance-optimization
Command: npx skills add https://github.com/coff33ninja/ai-skills-mcp --skill performance-optimization-coff33ninja

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the common pitfalls of performance optimization, such as premature optimization, guessing bottlenecks, and optimizing the wrong things.

Core Features & Use Cases

  • Measure-First Approach: Establish a baseline, set a target, profile bottlenecks, and measure improvements.
  • What to Measure: Tools and methods for measuring API response time, database queries, frontend bundle size, rendering, memory, and build time.
  • Optimization Priority: Focus on algorithmic improvements, caching, I/O, memory, and micro-optimizations.
  • Performance Budgets: Set budgets for key metrics and enforce them in CI.
  • Prevent Premature Optimization: Evaluate the necessity of optimization based on the hot path, user impact, complexity cost, and data availability.

Quick Start

Run the performance-optimization skill to measure and optimize the performance of your application.

Frequently Asked Questions about performance-optimization

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

FAQPage Schema
How do I identify and resolve performance bottlenecks in my application?

To identify performance bottlenecks, establish a baseline, set a target, profile bottlenecks, and measure improvements. Focus optimization priority on algorithmic improvements, caching, I/O, and memory before attempting micro-optimizations.

What is the best way to prevent premature optimization?

Prevent premature optimization by evaluating the necessity of code changes based on the hot path, user impact, complexity cost, and data availability. Always use a measure-first approach to avoid guessing bottlenecks and optimizing the wrong things.

What metrics should I measure for performance profiling?

Performance profiling requires measuring API response time, database queries, frontend bundle size, rendering, memory, and build time. Utilize profiling tools and best practices to analyze these metrics and optimize code, databases, and frontend components.

How do I set and enforce performance budgets in CI?

Set performance budgets by defining thresholds for key metrics like API response time and frontend bundle size. Enforce these budgets in your CI pipeline to continuously monitor and prevent performance degradation across your application.

Do I need prior knowledge to start optimizing application performance?

Yes, optimizing application performance requires a basic understanding of performance metrics and optimization techniques. You need to know how to use profiling tools to measure, analyze, and optimize code, databases, and frontend components effectively.