fec-performance-optimization

Installation
SKILL.md

Front-end performance optimization

Purpose

Use measurable methods to locate front-end performance bottlenecks, and converge optimization suggestions to the user's main path, build products, and runtime evidence.

Procedure

  1. Lock in experience goals

    • Clarify whether the problem is first screen loading, interaction delay, scrolling lag, memory increase, network waterfall, packet size, or visual stability.
    • Document routes, devices, network conditions, browsers, replication steps, and currently available metrics.
    • When there are no indicators, establish a baseline first and do not directly give generalized suggestions of "optimizing everything".
  2. Establish a measurement baseline

    • Read project scripts, build configurations, dependencies and existing performance reports.
    • Prioritize the use of Lighthouse, Performance trace, React Profiler, Vue Devtools, Memory snapshot or RUM data for page experience.
    • Prioritize build products, source maps, dependency duplication, first-screen chunks and dynamic import boundaries for package bodies.
    • Prioritize long tasks, repeated renderings, expensive calculations, synchronized loops, layout jitters and large lists for runtime lags.
    • If there are online monitoring, platform indicators or CI products, first use them to confirm the affected routes, devices, time windows and user main paths, and then decide which source code to read.
Installs
5
GitHub Stars
23
First Seen
Jun 24, 2026