universal/web/web-performance-optimization/SKILL.md
Optimize web performance using Core Web Vitals, modern patterns (View Transitions, Speculation Rules), and framework-specific techniques
npx skillsauth add bobmatnyc/claude-mpm-skills web-performance-optimizationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Optimize web performance through Core Web Vitals, modern browser APIs (View Transitions, Speculation Rules), and framework-specific techniques.
Business Impact: 1 second delay = 7% conversion loss. 0.1s improvement = 8% increase in conversions.
High-ROI optimizations by time investment:
1 Hour Quick Wins (⭐⭐⭐⭐⭐ ROI):
loading="lazy" to below-fold images (40-60% weight reduction)rel="preconnect" for critical origins (100-500ms savings)1 Day Investments (⭐⭐⭐⭐ ROI):
fetchpriority="high" (200-400ms improvement)1 Week Comprehensive (⭐⭐⭐⭐⭐ ROI):
→ See quick-wins.md for complete implementation details
| Metric | Target | Weight | Key Optimization | |--------|--------|--------|------------------| | LCP (Largest Contentful Paint) | <2.5s | 25% | Optimize images, preload critical resources | | INP (Interaction to Next Paint) | <200ms | 30% | Reduce JavaScript, break up long tasks | | CLS (Cumulative Layout Shift) | <0.1 | 25% | Reserve space, optimize fonts | | TBT (Total Blocking Time) | <200ms | 30% | Code splitting, defer non-critical JS | | FCP (First Contentful Paint) | <1.8s | 10% | Eliminate render-blocking resources |
→ See core-web-vitals.md for deep dive on each metric
View Transitions API - Smooth page transitions without JavaScript
@view-transition { navigation: auto; }
Speculation Rules API - Prerender pages for instant navigation
React Server Components - Zero-bundle server components
Priority Hints - fetchpriority="high" for LCP optimization
Content Visibility - CSS-based rendering optimization
→ See modern-patterns-2025.md for cutting-edge techniques
Stop and reconsider if:
Conversion Impact:
SEO Impact:
Remember: Performance is a feature, not an afterthought. Every millisecond counts. Start with Quick Wins for immediate impact.
tools
Xquik X data automation API - Use REST or MCP for tweet search, user lookup, follower exports, media downloads, monitors, webhooks, giveaway draws, and confirmation-gated X actions.
tools
LinkedIn automation via the Linked API CLI - fetch profiles, search people and companies, send messages, manage connections, create posts, react, comment, and run Sales Navigator and custom workflows. Use when the user wants to interact with LinkedIn.
tools
MCP (Model Context Protocol) server build and evaluation guide, including local conventions for tool surfaces, config, and testing
tools
MCP (Model Context Protocol) - Build AI-native servers with tools, resources, and prompts. TypeScript/Python SDKs for Claude Desktop integration.