optimize

Diagnose and fix frontend UI performance issues in React, Vue, and vanilla JavaScript.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/shuretokki/void --skill optimize-shuretokki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize
Source: https://github.com/shuretokki/void/tree/main/.agents/skills/optimize
Command: npx skills add https://github.com/shuretokki/void --skill optimize-shuretokki

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and fix frontend performance issues that cause slow loading, janky rendering, poor animation smoothness, and oversized bundles to deliver faster, smoother user experiences.

Core Features & Use Cases

  • Performance Diagnosis: Measure Core Web Vitals, time-to-interactive, paint metrics, CPU and memory usage, request waterfall, and bundle composition to pinpoint bottlenecks.
  • Loading & Network Optimization: Optimize images, fonts, caching, preloading, code-splitting, and CDN usage to reduce initial load time and payloads.
  • Rendering & Animation Improvements: Reduce layout thrashing, minimize DOM complexity, use GPU-accelerated transforms, and virtualize long lists to sustain high frame rates.
  • Framework-specific Guidance: Provide actionable strategies for React and other frameworks including memoization, lazy loading, and profiling recommendations.
  • Verification & Monitoring: Use Lighthouse, WebPageTest, bundle analyzers, and RUM to validate before/after improvements and prevent regressions.

Quick Start

Run a Lighthouse audit, identify the top three bottlenecks (LCP, JavaScript execution, or CLS), and apply targeted fixes like image optimization, code-splitting, and dimensioned media placeholders.

Frequently Asked Questions about optimize

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

FAQPage Schema
How do I diagnose slow web UI load times and janky rendering?

Reduce React bundle size and improve loading speed through code-splitting, lazy loading, and memoization. Optimize images, fonts, and caching strategies while verifying improvements with bundle analyzers to significantly lower initial payloads and execution times.

What's the best way to fix layout thrashing and improve animation frame rates?

Fix layout thrashing and improve animation frame rates by minimizing DOM complexity and using GPU-accelerated transforms. Sustain high frame rates by virtualizing long lists and reducing unnecessary recalculations during the rendering cycle.

Does this frontend optimization approach work with Vue and vanilla JavaScript?

Yes, this frontend optimization approach works with Vue, vanilla JavaScript, and React. It provides actionable framework-specific guidance for memoization, lazy loading, and profiling while addressing general web performance metrics like Core Web Vitals across any front-end project.

How do I verify Core Web Vitals improvements and prevent performance regressions?

Verify Core Web Vitals improvements and prevent performance regressions by using Lighthouse, WebPageTest, and Real User Monitoring (RUM). Validate before and after changes to ensure sustained gains in loading, rendering, and overall UI performance metrics.

Why does my web app have a high Cumulative Layout Shift and large JavaScript payload?

A high Cumulative Layout Shift and large JavaScript payload stem from unoptimized assets and monolithic bundles. Resolve these frontend performance issues by applying dimensioned media placeholders, image optimization, and targeted code-splitting to reduce payload size.