From frontend-craft
Diagnoses frontend performance: Core Web Vitals, bundle size, rendering cost, network waterfalls, memory leaks, long tasks. Uses Lighthouse, Performance trace, React Profiler, Vue Devtools.
How this skill is triggered — by the user, by Claude, or both
Slash command
/frontend-craft:fec-performance-optimizationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use measurable methods to locate front-end performance bottlenecks, and converge optimization suggestions to the user's main path, build products, and runtime evidence.
Use 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.
npx claudepluginhub bovinphang/frontend-craftFrontend performance where users feel it — Core Web Vitals, bundle size, render cost. Triggers on "it's slow / laggy / janky", "the page jumps", a poor Lighthouse or PageSpeed score, LCP/CLS/INP problems, a large bundle, slow lists or re-renders, or before launching anything public. Diagnoses with real numbers first, then fixes the thing that actually costs — not the thing that's fun to optimize.
Optimizes application performance using measurement before changes. Provides a workflow for profiling, identifying bottlenecks in frontend/backend, and fixing Core Web Vitals issues.
Optimizes frontend performance via Core Web Vitals (LCP, INP, CLS), code splitting, tree shaking, image/font optimization (WebP, AVIF, lazy loading), service workers, and webpack-bundle-analyzer. Use for diagnosing slow loads, bundle size reduction, and CI budgets.