Install
openclaw skills install @bovinphang/fec-performance-optimizationUse when diagnosing or improving frontend performance, Core Web Vitals, bundle size, runtime rendering cost, network waterfalls, memory leaks, long tasks, Lighthouse findings, or performance budgets; Chinese triggers include performance optimization, page freeze, slow first screen, bundle volume, We
openclaw skills install @bovinphang/fec-performance-optimizationUse measurable methods to locate front-end performance bottlenecks, and converge optimization suggestions to the user's main path, build products, and runtime evidence.
Lock in experience goals
Establish a measurement baseline
Hierarchical positioning
Form an optimization plan
Verify regression
| Area | Default Target | Notes |
|---|---|---|
| LCP | Within about 2.5s | Subject to core page, target area network and real device |
| CLS | Less than 0.1 | Media, advertising, and asynchronous content require reserved space |
| INP | Within about 200ms | Prioritize splitting long tasks and reduce interaction path re-rendering |
| Initial JS | Follow project budget | Report current gzip / brotli size first if there is no budget |
| Main thread | Avoid continuous long tasks | Consider sharding, caching or Worker for large calculations |
When writing a performance analysis report, load references/report-template.md. When you need to locate framework-specific performance risks classified by React, Vue, Next.js or Nuxt, load references/framework-performance-patterns.md.
Output a performance analysis report with an evidence chain, describing the baseline, candidate access control, bottlenecks, optimization suggestions, verification methods and remaining risks. The report is saved as reports/performance-review-YYYY-MM-DD-HHmmss.md.