optimizing-performance

Profile and optimize application performance across frontend, backend, and database layers.

1.4k|186|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/CloudAI-X/claude-workflow-v2 --skill optimizing-performance-cloudai-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimizing-performance
Source: https://github.com/CloudAI-X/claude-workflow-v2/tree/main/skills/optimizing-performance
Command: npx skills add https://github.com/CloudAI-X/claude-workflow-v2 --skill optimizing-performance-cloudai-x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineers quickly diagnose and fix performance issues spanning frontend, backend, and database layers, reducing latency and improving user experience.

Core Features & Use Cases

  • Performance profiling and bottleneck identification across the stack
  • Data-driven optimization guidance with baselines, targets, and re-measurement
  • Step-by-step workflow: baseline measurement, bottleneck analysis, targeted optimizations, and re-measurement
  • Use cases: diagnose slow pages, optimize queries, reduce bundle size, improve TTFB and load times

Quick Start

Run a baseline performance assessment across the relevant app components and follow the workflow to apply targeted optimizations. Start by measuring baseline performance with profiling tools for Node.js, Python, and web performance. Then iteratively identify bottlenecks, apply fixes, and re-measure to verify improvements.

Frequently Asked Questions about optimizing-performance

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

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

Start by measuring baseline performance using profiling tools: Node.js profiler for backend code, Python's cProfile for backend services, and Lighthouse for frontend metrics. These tools pinpoint which functions, queries, or assets consume the most time, revealing where to focus optimization efforts.

What's the best way to optimize database queries for performance?

Profile your database layer to find slow queries, then apply targeted optimizations like adding indexes, reducing N+1 queries, and rewriting inefficient SQL. Re-measure after each change to confirm improvements using baseline comparisons.

How do I reduce frontend load times and bundle size?

Use Lighthouse to measure TTFB and load times, identify large assets in your bundle, then apply fixes like code splitting, lazy loading, and asset compression. Verify improvements by re-measuring with the same tools to confirm performance gains.

Can I optimize performance across frontend, backend, and database layers together?

Yes. Performance optimization spans all layers: profile frontend assets and rendering, backend CPU and memory usage, and database queries. This skill enforces a data-driven workflow baseline → bottleneck identification → targeted fixes → re-measurement across your entire stack.

Do I need specialized knowledge to use profiling tools for performance analysis?

No. This skill guides you through common profiling tools like Node.js profiler, Python's cProfile, and Lighthouse with a structured workflow: establish baseline metrics, identify bottlenecks, apply optimizations, then re-measure to validate results.

What happens if I optimize performance without measuring first?

Optimization without baseline measurement risks wasting effort on non-critical bottlenecks. This skill enforces measurement before and after changes so you target real problems, avoid premature optimization, and verify that fixes actually improve performance.