Back to Skills

providing-performance-optimization-advice

jeremylongshore
Updated Today
26 views
409
51
409
View on GitHub
Metaai

About

This skill provides comprehensive performance optimization advice for software projects when developers request improvements, reviews, or bottleneck analysis. It analyzes frontend, backend, and infrastructure layers to identify issues and anti-patterns, then delivers prioritized, actionable recommendations with estimated gains. Use it for performance tuning by triggering phrases like "optimize performance" or "improve speed."

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.

Quick Install

/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus/tree/main/performance-optimization-advisor

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

GitHub 仓库

jeremylongshore/claude-code-plugins-plus
Path: backups/skills-migration-20251108-070147/plugins/performance/performance-optimization-advisor/skills/performance-optimization-advisor
aiautomationclaude-codedevopsmarketplacemcp

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill