fec-performance-optimization

Identify frontend bottlenecks using Lighthouse, traces, and React/Vue devtools data.

21|3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/bovinphang/frontend-craft --skill fec-performance-optimization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fec-performance-optimization
Source: https://github.com/bovinphang/frontend-craft/tree/main/localized/zh-CN/skills/fec-performance-optimization
Command: npx skills add https://github.com/bovinphang/frontend-craft --skill fec-performance-optimization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

用可度量的方式定位前端性能瓶颈,并把优化建议收敛到用户主路径、构建产物和运行时证据。

Core Features & Use Cases

  • 基线驱动优化:通过 Lighthouse、Performance trace、React Profiler、Vue Devtools、Memory snapshot、RUM 等数据建立基线,定位核心瓶颈。
  • 分层定位与证据收集:将问题分为加载层、渲染层、数据层、主线程和资源层,并收集相关证据。
  • 系统化优化方案与验证:为每个改动绑定定位、影响、改法和验证方式,优先高频主路径改动,并在变更后重复测量以验证回归。

Quick Start

在你的前端项目中应用性能诊断流程,生成基线并提出具体改进措施。

Frequently Asked Questions about fec-performance-optimization

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

FAQPage Schema
How do I identify frontend performance bottlenecks using measurable metrics?

Identify frontend performance bottlenecks by establishing baselines with Lighthouse, Performance traces, and React or Vue devtools. Capture runtime data across target user paths to pinpoint rendering, loading, and main thread issues.

What is the best way to establish a performance baseline for web vitals optimization?

Establish a web vitals baseline by measuring current performance using Lighthouse, RUM data, and Memory snapshots. This process captures loading, rendering, and data layer metrics to bound subsequent improvement verification.

How do I create a systematized frontend optimization plan with verification steps?

Create a systematized frontend optimization plan by defining performance targets, candidate interventions, and verification steps. Bind each actionable change to specific evidence sources and repeat measurements to verify regressions.

Does this performance optimization approach work with both React and Vue devtools?

Yes, this approach works with both React and Vue devtools. It leverages React Profiler, Vue Devtools, and Memory snapshots to locate performance issues across loading, rendering, data, main thread, and resource layers.

Why does my frontend performance optimization fail to verify improvements after changes?

Frontend performance optimization fails to verify improvements when changes lack bounded measurement. You must repeat baseline measurements using Lighthouse and performance traces after each intervention to capture evidence and verify regressions.

How do I prioritize frontend performance fixes for high frequency user paths?

Prioritize frontend performance fixes by analyzing baseline data from RUM and devtools to target high frequency user paths. Focus candidate interventions on measurable improvements in loading, rendering, and main thread activities.