performance-optimization

Establish measurement baselines and identify bottlenecks in frontend and backend systems.

4|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/mymx2/foreman --skill performance-optimization-mymx2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/mymx2/foreman/tree/main/.agents/skills/performance-optimization
Command: npx skills add https://github.com/mymx2/foreman --skill performance-optimization-mymx2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses application sluggishness and performance regressions by replacing guesswork with a structured, measurement-first optimization workflow.

Core Features & Use Cases

  • Evidence-Based Tuning: Provides a systematic approach to identify bottlenecks using synthetic and real-user monitoring (RUM) data.
  • Anti-Pattern Remediation: Offers specific solutions for common issues like N+1 database queries, layout shifts, and bundle bloat.
  • Use Case: When a dashboard reports high latency, use this Skill to profile the backend database queries and frontend render cycles to implement targeted fixes that meet Core Web Vitals targets.

Quick Start

Use the performance-optimization skill to analyze the current application performance and identify the primary bottleneck causing slow page loads.

Frequently Asked Questions about performance-optimization

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

FAQPage Schema
How do I identify frontend and backend bottlenecks causing high latency?

To identify bottlenecks causing high latency, establish measurement baselines using synthetic and real-user monitoring (RUM) data to profile database queries and frontend render cycles. This structured approach replaces guesswork by pinpointing specific performance issues for targeted fixes.

What's the best way to fix Core Web Vitals regressions in a web app?

The best way to fix Core Web Vitals regressions is through data-backed performance tuning that applies code-level anti-pattern remediation. This targets specific issues like layout shifts and bundle bloat using structured profiling to prevent future performance drops.

How do I resolve N+1 database queries and bundle bloat slowing down my application?

To resolve N+1 database queries and bundle bloat, apply anti-pattern remediation based on profiling evidence. This systematic process identifies inefficient resource usage and implements specific code-level fixes to reduce latency and optimize application performance.

Do I need real-user monitoring data to optimize application performance?

Real-user monitoring (RUM) data is highly recommended to optimize application performance because it establishes accurate measurement baselines. Combining RUM with synthetic monitoring provides the evidence needed to identify actual bottlenecks rather than relying on guesswork.

Why does my web app feel sluggish despite no obvious code errors?

Your web app may feel sluggish due to hidden performance anti-patterns like N+1 database queries, layout shifts, or bundle bloat. Establishing a measurement-first profiling workflow identifies these specific bottlenecks causing sluggishness without obvious code errors.

Can I use this approach to prevent future performance regressions?

Yes, you can prevent future performance regressions by establishing measurement baselines and applying structured profiling. This data-driven performance engineering approach ensures new anti-patterns are quickly identified through continuous monitoring before impacting users.