Back to Skills

providing-performance-optimization-advice

jeremylongshore
Updated Today
21 views
712
74
712
View on GitHub
Othergeneral

About

This skill provides prioritized performance optimization recommendations across frontend, backend, and infrastructure layers. It analyzes codebases and configurations to identify bottlenecks when triggered by phrases like "optimize performance" or "improve speed." Developers can use it to get actionable improvement strategies with impact/effort prioritization.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus
Git CloneAlternative
git clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/providing-performance-optimization-advice

Copy and paste this command in Claude Code to install this skill

Documentation

Overview

This skill empowers Claude to act as a performance optimization advisor, delivering a detailed report of potential improvements across various layers of a software application. It prioritizes recommendations based on impact and effort, allowing for a focused and efficient optimization strategy.

How It Works

  1. Analyze Project: Claude uses the plugin to analyze the project's codebase, infrastructure configuration, and architecture.
  2. Identify Optimization Areas: The plugin identifies potential optimization areas in the frontend, backend, and infrastructure.
  3. Prioritize Recommendations: The plugin prioritizes recommendations based on estimated performance gains and implementation effort.
  4. Generate Report: Claude presents a comprehensive report with actionable advice, performance gain estimates, and a phased implementation roadmap.

When to Use This Skill

This skill activates when you need to:

  • Identify performance bottlenecks in a software application.
  • Get recommendations for improving website loading speed.
  • Optimize database query performance.
  • Improve API response times.
  • Reduce infrastructure costs.

Examples

Example 1: Optimizing a Slow Website

User request: "My website is loading very slowly. Can you help me optimize its performance?"

The skill will:

  1. Analyze the website's frontend code, backend APIs, and infrastructure configuration.
  2. Identify issues such as unoptimized images, inefficient database queries, and lack of CDN usage.
  3. Generate a report with prioritized recommendations, including image optimization, database query optimization, and CDN implementation.

Example 2: Improving API Response Time

User request: "The API response time is too slow. What can I do to improve it?"

The skill will:

  1. Analyze the API code, database queries, and caching strategies.
  2. Identify issues such as inefficient database queries, lack of caching, and slow processing logic.
  3. Generate a report with prioritized recommendations, including database query optimization, caching implementation, and asynchronous processing.

Best Practices

  • Specificity: Provide specific details about the project and its performance issues to get more accurate and relevant recommendations.
  • Context: Explain the context of the performance problem, such as the expected user load or the specific use case.
  • Iteration: Review the recommendations and provide feedback to refine the optimization strategy.

Integration

This skill integrates well with other plugins that provide code analysis, infrastructure management, and deployment automation capabilities. For example, it can be used in conjunction with a code linting plugin to identify code-level performance issues or with an infrastructure-as-code plugin to automate infrastructure optimization tasks.

Prerequisites

  • Access to application codebase in {baseDir}/
  • Infrastructure configuration files
  • Performance profiling tools
  • Current performance metrics and baselines

Instructions

  1. Analyze frontend code for rendering and asset optimization
  2. Review backend code for query and processing efficiency
  3. Examine infrastructure for scaling and resource usage
  4. Identify high-impact optimization opportunities
  5. Prioritize recommendations by effort vs impact
  6. Generate phased implementation roadmap

Output

  • Comprehensive optimization report by layer (frontend/backend/infra)
  • Prioritized recommendations with impact estimates
  • Code examples for suggested improvements
  • Performance gain projections
  • Implementation effort estimates and timeline

Error Handling

If optimization analysis fails:

  • Verify codebase access permissions
  • Check profiling tool installation
  • Validate configuration file formats
  • Ensure sufficient analysis resources
  • Review project structure completeness

Resources

  • Web performance optimization guides
  • Database query optimization best practices
  • Infrastructure scaling patterns
  • Caching strategies and CDN usage

GitHub Repository

jeremylongshore/claude-code-plugins-plus
Path: plugins/performance/performance-optimization-advisor/skills/performance-optimization-advisor
aiautomationclaude-codedevopsmarketplacemcp

Related Skills

subagent-driven-development

Development

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

View skill

algorithmic-art

Meta

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

View skill

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill