Diagnose and fix web performance issues including Core Web Vitals (LCP, INP, CLS), bundle size, asset optimization, render performance, and runtime efficiency. Use this skill whenever the user wants to improve page speed, fix Core Web Vitals, optimize assets, reduce bundle size, debug slow renders, or systematically improve a site's performance. Triggers on performance, page speed, Core Web Vitals, LCP, INP, CLS, FID, TTFB, bundle size, code splitting, image optimization, lazy loading, render blocking, slow page, performance audit, Lighthouse score. Also triggers when traffic or conversion is dropping due to perceived slowness.
npx skills add https://github.com/rampstackco/claude-skills --skill performance-optimization
Diagnose web performance issues and produce a remediation plan. Stack-agnostic. Anchored to Core Web Vitals and standard browser performance patterns.
This skill goes deeper than the performance checks in qa-testing and seo-technical. Use this when performance itself is the goal.
qa-testing)seo-technical)code-review-web)Three metrics carry most of the weight for both user experience and SEO:
What it measures: Time until the largest visible content element finishes rendering.
Targets:
Common causes of poor LCP:
Common fixes:
What it measures: Responsiveness to user interactions. Replaces FID as the standard interactivity metric.
Targets:
Common causes of poor INP:
Common fixes:
scheduler.yield() or setTimeout)What it measures: How much the page jumps around as it loads. Unexpected layout shifts hurt usability.
Targets:
Common causes of poor CLS:
Common fixes:
width and height (or aspect-ratio) on images and videosfont-display: optional or font-display: swap thoughtfullyThe server response time. Bad TTFB makes everything else worse.
Targets: under 800ms ideal.
Common causes:
Fixes:
JavaScript shipped to the browser.
Targets:
Common causes of bloat:
Fixes:
import { fn } from 'lib' not import lib from 'lib')Images are typically 60 to 80 percent of page weight.
Best practices:
srcset for different viewport sizesloading="lazy" for below-the-foldWeb fonts often delay text render and cause CLS.
Best practices:
<link rel="preload" as="font">)font-display: swap for non-critical fontsThird parties (analytics, ads, chat widgets) often dominate performance budgets.
Audit each:
A common pattern: 50 percent of performance issues come from third-party scripts.
Lab tools (run on demand):
Field tools (real user data):
Lab tools are useful for diagnosis. Field tools are the source of truth for what users actually experience.
Default output is a performance report at performance-audit.md.
Structure:
For complex audits, include:
references/audit-template.md - Full performance audit report template.references/optimization-checklist.md - Quick-reference checklist of common optimizations by priority.references/optimization-playbook.md - Symptom-to-fix playbook for the common Core Web Vitals problems (LCP, INP, CLS).Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video
App Store and Google Play screenshot creation with exact platform specs. Covers iOS/Android dimensions, gallery ordering, device mockups, and preview videos. Use for: app store optimization, ASO, app screenshots, app preview, play store listing. Triggers: app store screenshots, aso, app store optimization, play store screenshots, app preview, app listing, ios screenshots, android screenshots, app store images, app mockup, device mockup, app gallery, store listing
Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
Generate and save images using Pollinations.ai's free, open-source API. No signup required. Supports URL-based generation, custom parameters (width, height, model, seed), and automatic file saving. Perfect for quick prototypes, marketing assets, and creative workflows.
| Create AI marketing videos for ads, promos, product launches, and brand content. product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video
Use when building App Store screenshot pages, generating exportable marketing screenshots for iOS apps, or creating programmatic screenshot generators with Next.js. Triggers on app store, screenshots, marketing assets, html-to-image, phone mockup.
Anti-AI-slop design skill for greenfield pages, audits, redesigns, and design extraction from URLs or screenshots. Use when the user asks to build a new app or landing page, wants to redesign something, invokes Hallmark by name, or uses audit/redesign/study.
Launch and supervise OpenShell gator agents. Use when starting gator on issues or PRs, checking gator sandboxes, building the gator sandbox image, restarting stuck gators, inspecting gator logs, or experimenting with gator harness/model overrides. Trigger keywords - launch gator, start gator, run gator, gator sandbox, supervised gator, gator logs, restart gator.
Take rampstackco/performance-optimization from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.