web-performance-optimization
Optimize Web Performance with Claude
Slow websites hurt user experience and SEO rankings. This skill helps you systematically measure, analyze, and optimize web performance using proven techniques like code splitting, image optimization, and Core Web Vitals improvements.
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "web-performance-optimization". My LCP is 4.2s and I need it under 2.5s. The main hero image is 2.5MB.
Resultado esperado:
Convert the hero image to AVIF format (saves ~80%), compress to under 200KB, add preload link, use fetchpriority='high', and implement responsive images with srcset for different screen sizes.
A utilizar "web-performance-optimization". My JavaScript bundle is 850KB gzipped and causing slow TTI.
Resultado esperado:
Replace moment.js (67KB) with date-fns (12KB), import only needed lodash functions instead of entire library, implement route-based code splitting for heavy components, and defer non-critical scripts like analytics.
A utilizar "web-performance-optimization". I have a CLS score of 0.25 with content jumping around.
Resultado esperado:
Add width and height attributes to all images, use CSS aspect-ratio property, implement skeleton loaders for dynamic content, and reserve space for ads/widgets before they load.
Auditoria de Segurança
SeguroAll 94 static analysis findings are false positives. The skill file is pure documentation (SKILL.md) containing markdown code examples and best practices for web performance optimization. Detected patterns such as dynamic import(), shell commands, and URLs are within markdown code blocks as educational examples, not executable code. No security risks identified.
Problemas de Baixo Risco (1)
Pontuação de qualidade
O Que VocĂŞ Pode Construir
E-commerce Site Optimization
Optimize product pages to improve conversion rates by reducing load times and improving Core Web Vitals scores
Dashboard Performance Improvement
Reduce JavaScript bundle size and optimize data loading for faster dashboard interactions
Content Site Speed Optimization
Implement image optimization, lazy loading, and caching strategies for faster content delivery
Tente Estes Prompts
I ran a Lighthouse audit and got these results: [paste scores]. Help me understand what's causing poor performance and prioritize which issues to fix first.
My Core Web Vitals are: LCP [value], FID [value], CLS [value]. Show me specific code changes to improve these metrics for my [framework] application.
My JavaScript bundle is [size] and takes [time] to load on 3G. Analyze my dependencies and suggest code splitting strategies or smaller alternatives.
Help me implement an image optimization strategy for my site. I have [number] images totaling [size]. Show me how to convert to modern formats and implement lazy loading in [framework].
Melhores Práticas
- Always establish baseline metrics with Lighthouse before making optimizations to measure improvement accurately
- Focus on Core Web Vitals (LCP, FID, CLS) first as they directly impact user experience and SEO rankings
- Test performance on real mobile devices and slow 3G networks, not just desktop with fast internet
Evitar
- Optimizing without measuring first - always run audits to identify actual bottlenecks before making changes
- Over-optimizing desktop while ignoring mobile performance - most users are on mobile devices with slower networks
- Premature optimization - focus on high-impact changes that affect user-facing metrics rather than micro-optimizations
Perguntas Frequentes
What are Core Web Vitals and why do they matter?
Should I optimize images or JavaScript first?
What's the difference between lazy loading and code splitting?
How do I know if my optimizations are working?
Can this skill implement optimizations automatically?
What tools should I use alongside this skill?
Detalhes do Desenvolvedor
Autor
sickn33Licença
MIT
RepositĂłrio
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/web-performance-optimizationReferĂŞncia
main
Estrutura de arquivos
đź“„ SKILL.md