Performance Optimization Skill

Route performance optimization tasks across database, backend, frontend, and infrastructure layers.

9|2|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/dhofheinz/open-plugins --skill performance-optimization-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Performance Optimization Skill
Source: https://github.com/dhofheinz/open-plugins/tree/main/plugins/10x-fullstack-engineer/commands/optimize
Command: npx skills add https://github.com/dhofheinz/open-plugins --skill performance-optimization-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Node.js, npm, k6, lighthouse, webpack-bundle-analyzer, vite-bundle-visualizer, rollup-plugin-visualizer, @next/bundle-analyzer, psql, mysql, bc, and includes scripts (resource) components.

What problem does it solve?

Manual performance optimization is complex, time-consuming, and requires deep expertise across multiple layers (frontend, backend, database, infrastructure). This skill automates the identification of bottlenecks and the application of best-practice optimizations, saving you hours of manual analysis and tuning.

Core Features & Use Cases

  • Comprehensive Analysis: Automatically identifies performance bottlenecks across all application layers (frontend, backend, database, infrastructure).
  • Layer-Specific Optimization: Provides targeted operations to optimize database queries, backend API response times, frontend bundle sizes, and infrastructure scaling.
  • Benchmarking & Regression Detection: Measures improvements and prevents performance regressions by running load tests and rendering benchmarks.
  • Use Case: A development team needs to improve the load time of their e-commerce website. They use this skill to analyze the entire application, identify slow database queries and large frontend bundles, and then apply specific optimizations to each layer, resulting in a 60% faster page load and a smoother user experience.

Quick Start

Use the optimize skill to analyze the performance of the "production app" across "all" layers to establish a "baseline".

Frequently Asked Questions about Performance Optimization Skill

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

FAQPage Schema
How do I optimize performance across database, backend, and frontend layers?

Performance optimization across layers involves analyzing bottlenecks in database queries, API response times, and frontend bundle sizes, then applying targeted improvements. This skill automates that analysis and routes specific operations to each layer—database tuning, backend caching, bundle reduction—then validates gains with benchmarks.

Can I use this to identify slow database queries and frontend bundle bloat?

Yes. The skill analyzes database query performance and frontend bundle size using tools like lighthouse, webpack-bundle-analyzer, and vite-bundle-visualizer. It identifies bottlenecks across layers and applies layer-specific optimizations, then measures improvements through load tests and rendering benchmarks.

How do I establish a performance baseline and measure improvements?

Start by analyzing your application across all layers to establish a baseline. The skill runs benchmarks using k6 for load testing and lighthouse for rendering metrics, then applies optimizations and re-measures to detect gains and prevent regressions.

What tools and dependencies do I need for full-stack performance optimization?

You'll need Node.js, npm, k6 for load testing, lighthouse for rendering audits, and bundle analyzers: webpack-bundle-analyzer, vite-bundle-visualizer, and rollup-plugin-visualizer. For databases, psql or mysql; bc for calculations. These enable analysis and optimization across infrastructure, backend, and frontend.

Can I optimize infrastructure and backend scaling alongside database and frontend work?

Yes. The skill targets optimization across all four layers: database, backend, frontend, and infrastructure. It provides layer-specific operations for infrastructure scaling and backend API tuning alongside database query optimization and frontend bundle reduction.

How do I prevent performance regressions after applying optimizations?

The skill runs benchmarking and load tests after each optimization phase using k6 and lighthouse. These workload benchmarks validate that improvements persist and catch regressions, ensuring optimizations remain effective over time.