role-frontend:frontend-performance

Diagnose Core Web Vitals and optimize frontend resource loading.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/viably-labs/vibegent --skill role-frontend-frontend-performance-viably-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-frontend:frontend-performance
Source: https://github.com/viably-labs/vibegent/tree/main/.agents/skills/rnavarych-frontend-performance
Command: npx skills add https://github.com/viably-labs/vibegent --skill role-frontend-frontend-performance-viably-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps frontend teams diagnose and improve performance by focusing on Core Web Vitals and modern resource loading strategies to deliver faster web experiences.

Core Features & Use Cases

  • Core Web Vitals diagnosis and guidance for LCP, INP, and CLS improvements.
  • Code splitting, tree shaking, and bundle analysis to reduce page weight.
  • Image and font optimization strategies with lazy loading control and modern formats (WebP, AVIF).
  • Service workers integration guidance and efficient caching strategies for better UX.
  • Real-world use case: optimize a slow e-commerce site by reducing bundle size and improving perceived performance.

Quick Start

Run the frontend-performance skill on your project to audit CWV scores and begin optimization tasks.

Frequently Asked Questions about role-frontend:frontend-performance

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

FAQPage Schema
How do I improve Core Web Vitals scores for my web application?

Improve Core Web Vitals by diagnosing LCP, INP, and CLS metrics, then applying resource loading strategies like code splitting and image optimization. This process audits CWV scores and produces actionable recommendations to reduce page weight and enhance perceived performance.

What's the best way to optimize images and fonts for frontend performance?

Optimize images and fonts by adopting modern formats like WebP and AVIF alongside lazy loading controls. This strategy reduces unnecessary resource payloads, directly improving loading times and preventing layout shifts on your web pages.

How does code splitting reduce page weight in frontend applications?

Code splitting reduces page weight by breaking down large JavaScript bundles into smaller chunks loaded on demand. Combined with tree shaking and bundle analysis, it enforces performance budgets to ensure faster initial page loads across various frameworks.

Does this frontend performance optimization approach work across different frameworks?

Yes, this frontend performance optimization approach works across different frameworks by diagnosing resource loading and Core Web Vitals universally. It provides tooling guidance and actionable optimization recommendations applicable to diverse web application scenarios.

Why should I use service workers for frontend performance optimization?

Use service workers for frontend performance optimization to enable efficient caching strategies and deliver a better user experience. Integrating service workers allows web applications to load faster by serving cached resources reliably during subsequent visits.

Can I set performance budgets to prevent frontend bundle size bloat?

Yes, you can set performance budgets to prevent frontend bundle size bloat by enforcing strict limits on resource loading. Analyzing bundle sizes alongside tree shaking ensures your application maintains optimal Core Web Vitals scores.