[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CCEZRZVCJKN111ZYKVKG8T":3,"skill-same:01M6CCEZRZVCJKN111ZYKVKG8T":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":15,"repositoryHtmlUrl":49,"repositoryHomepageUrl":17,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6CCEZRZVCJKN111ZYKVKG8T","web-performance-optimization","网站性能优化","Optimize website and web application performance including loading speed, Core Web Vitals, bundle size, caching strategies, and runtime performance","优化网站和 Web 应用程序的性能，包括加载速度、Core Web Vitals（核心网页指标）、打包体积、缓存策略和运行时性能。","Gabriellmaia01\u002Fneuro-dose-assist","Gabriellmaia01","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F135177180?v=4","01M6CBRZEZC8G5C400AG3SPFNH","Gabriel","01M6CBRZK8MB7DWW0B4C82TV2G",0,"MIT",null,"https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fweb-performance-optimization\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CB4BZD3VTQB2NVP9R77FKR","网站质量审计与优化","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40],"performance","web","web performance","Optimization","web performance optimization","performance optimization","core","website","core web vitals","bundle size","2026-11-10 10:12:30",false,"---\nname: web-performance-optimization\ndescription: \"Optimize website and web application performance including loading speed, Core Web Vitals, bundle size, caching strategies, and runtime performance\"\n---\n\n# Web Performance Optimization\n\n## Overview\n\nHelp developers optimize website and web application performance to improve user experience, SEO rankings, and conversion rates. This skill provides systematic approaches to measure, analyze, and improve loading speed, runtime performance, and Core Web Vitals metrics.\n\n## When to Use This Skill\n\n- Use when website or app is loading slowly\n- Use when optimizing for Core Web Vitals (LCP, FID, CLS)\n- Use when reducing JavaScript bundle size\n- Use when improving Time to Interactive (TTI)\n- Use when optimizing images and assets\n- Use when implementing caching strategies\n- Use when debugging performance bottlenecks\n- Use when preparing for performance audits\n\n## How It Works\n\n### Step 1: Measure Current Performance\n\nI'll help you establish baseline metrics:\n- Run Lighthouse audits\n- Measure Core Web Vitals (LCP, FID, CLS)\n- Check bundle sizes\n- Analyze network waterfall\n- Identify performance bottlenecks\n\n### Step 2: Identify Issues\n\nAnalyze performance problems:\n- Large JavaScript bundles\n- Unoptimized images\n- Render-blocking resources\n- Slow server response times\n- Missing caching headers\n- Layout shifts\n- Long tasks blocking main thread\n\n### Step 3: Prioritize Optimizations\n\nFocus on high-impact improvements:\n- Critical rendering path optimization\n- Code splitting and lazy loading\n- Image optimization\n- Caching strategies\n- Third-party script optimization\n\n### Step 4: Implement Optimizations\n\nApply performance improvements:\n- Optimize assets (images, fonts, CSS, JS)\n- Implement code splitting\n- Add caching headers\n- Lazy load non-critical resources\n- Optimize critical rendering path\n\n### Step 5: Verify Improvements\n\nMeasure impact of changes:\n- Re-run Lighthouse audits\n- Compare before\u002Fafter metrics\n- Monitor real user metrics (RUM)\n- Test on different devices and networks\n\n## Examples\n\n### Example 1: Optimizing Core Web Vitals\n\n```markdown\n## Performance Audit Results\n\n### Current Metrics (Before Optimization)\n- **LCP (Largest Contentful Paint):** 4.2s ❌ (should be \u003C 2.5s)\n- **FID (First Input Delay):** 180ms ❌ (should be \u003C 100ms)\n- **CLS (Cumulative Layout Shift):** 0.25 ❌ (should be \u003C 0.1)\n- **Lighthouse Score:** 62\u002F100\n\n### Issues Identified\n\n1. **LCP Issue:** Hero image (2.5MB) loads slowly\n2. **FID Issue:** Large JavaScript bundle (850KB) blocks main thread\n3. **CLS Issue:** Images without dimensions cause layout shifts\n\n### Optimization Plan\n\n#### Fix LCP (Largest Contentful Paint)\n\n**Problem:** Hero image is 2.5MB and loads slowly\n\n**Solutions:**\n\\`\\`\\`html\n\u003C!-- Before: Unoptimized image -->\n\u003Cimg src=\"\u002Fhero.jpg\" alt=\"Hero\">\n\n\u003C!-- After: Optimized with modern formats -->\n\u003Cpicture>\n  \u003Csource srcset=\"\u002Fhero.avif\" type=\"image\u002Favif\">\n  \u003Csource srcset=\"\u002Fhero.webp\" type=\"image\u002Fwebp\">\n  \u003Cimg \n    src=\"\u002Fhero.jpg\" \n    alt=\"Hero\"\n    width=\"1200\" \n    height=\"600\"\n    loading=\"eager\"\n    fetchpriority=\"high\"\n  >\n\u003C\u002Fpicture>\n\\`\\`\\`\n\n**Additional optimizations:**\n- Compress image to \u003C 200KB\n- Use CDN for faster delivery\n- Preload hero image: `\u003Clink rel=\"preload\" as=\"image\" href=\"\u002Fhero.avif\">`\n\n#### Fix FID (First Input Delay)\n\n**Problem:** 850KB JavaScript bundle blocks main thread\n\n**Solutions:**\n\n1. **Code Splitting:**\n\\`\\`\\`javascript\n\u002F\u002F Before: Everything in one bundle\nimport { HeavyComponent } from '.\u002FHeavyComponent';\nimport { Analytics } from '.\u002Fanalytics';\nimport { ChatWidget } from '.\u002Fchat';\n\n\u002F\u002F After: Lazy load non-critical code\nconst HeavyComponent = lazy(() => import('.\u002FHeavyComponent'));\nconst ChatWidget = lazy(() => import('.\u002Fchat'));\n\n\u002F\u002F Load analytics after page interactive\nif (typeof window !== 'undefined') {\n  window.addEventListener('load', () => {\n    import('.\u002Fanalytics').then(({ Analytics }) => {\n      Analytics.init();\n    });\n  });\n}\n\\`\\`\\`\n\n2. **Remove Unused Dependencies:**\n\\`\\`\\`bash\n# Analyze bundle\nnpx webpack-bundle-analyzer\n\n# Remove unused packages\nnpm uninstall moment  # Use date-fns instead (smaller)\nnpm install date-fns\n\\`\\`\\`\n\n3. **Defer Non-Critical Scripts:**\n\\`\\`\\`html\n\u003C!-- Before: Blocks rendering -->\n\u003Cscript src=\"\u002Fanalytics.js\">\u003C\u002Fscript>\n\n\u003C!-- After: Deferred -->\n\u003Cscript src=\"\u002Fanalytics.js\" defer>\u003C\u002Fscript>\n\\`\\`\\`\n\n#### Fix CLS (Cumulative Layout Shift)\n\n**Problem:** Images without dimensions cause layout shifts\n\n**Solutions:**\n\\`\\`\\`html\n\u003C!-- Before: No dimensions -->\n\u003Cimg src=\"\u002Fproduct.jpg\" alt=\"Product\">\n\n\u003C!-- After: With dimensions -->\n\u003Cimg \n  src=\"\u002Fproduct.jpg\" \n  alt=\"Product\"\n  width=\"400\" \n  height=\"300\"\n  style=\"aspect-ratio: 4\u002F3;\"\n>\n\\`\\`\\`\n\n**For dynamic content:**\n\\`\\`\\`css\n\u002F* Reserve space for content that loads later *\u002F\n.skeleton-loader {\n  min-height: 200px;\n  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);\n  background-size: 200% 100%;\n  animation: loading 1.5s infinite;\n}\n\n@keyframes loading {\n  0% { background-position: 200% 0; }\n  100% { background-position: -200% 0; }\n}\n\\`\\`\\`\n\n### Results After Optimization\n\n- **LCP:** 1.8s ✅ (improved by 57%)\n- **FID:** 45ms ✅ (improved by 75%)\n- **CLS:** 0.05 ✅ (improved by 80%)\n- **Lighthouse Score:** 94\u002F100 ✅\n```\n\n### Example 2: Reducing JavaScript Bundle Size\n\n```markdown\n## Bundle Size Optimization\n\n### Current State\n- **Total Bundle:** 850KB (gzipped: 280KB)\n- **Main Bundle:** 650KB\n- **Vendor Bundle:** 200KB\n- **Load Time (3G):** 8.2s\n\n### Analysis\n\n\\`\\`\\`bash\n# Analyze bundle composition\nnpx webpack-bundle-analyzer dist\u002Fstats.json\n\\`\\`\\`\n\n**Findings:**\n1. Moment.js: 67KB (can replace with date-fns: 12KB)\n2. Lodash: 72KB (using entire library, only need 5 functions)\n3. Unused code: ~150KB of dead code\n4. No code splitting: Everything in one bundle\n\n### Optimization Steps\n\n#### 1. Replace Heavy Dependencies\n\n\\`\\`\\`bash\n# Remove moment.js (67KB) → Use date-fns (12KB)\nnpm uninstall moment\nnpm install date-fns\n\n# Before\nimport moment from 'moment';\nconst formatted = moment(date).format('YYYY-MM-DD');\n\n# After\nimport { format } from 'date-fns';\nconst formatted = format(date, 'yyyy-MM-dd');\n\\`\\`\\`\n\n**Savings:** 55KB\n\n#### 2. Use Lodash Selectively\n\n\\`\\`\\`javascript\n\u002F\u002F Before: Import entire library (72KB)\nimport _ from 'lodash';\nconst unique = _.uniq(array);\n\n\u002F\u002F After: Import only what you need (5KB)\nimport uniq from 'lodash\u002Funiq';\nconst unique = uniq(array);\n\n\u002F\u002F Or use native methods\nconst unique = [...new Set(array)];\n\\`\\`\\`\n\n**Savings:** 67KB\n\n#### 3. Implement Code Splitting\n\n\\`\\`\\`javascript\n\u002F\u002F Next.js example\nimport dynamic from 'next\u002Fdynamic';\n\n\u002F\u002F Lazy load heavy components\nconst Chart = dynamic(() => import('.\u002FChart'), {\n  loading: () => \u003Cdiv>Loading chart...\u003C\u002Fdiv>,\n  ssr: false\n});\n\nconst AdminPanel = dynamic(() => import('.\u002FAdminPanel'), {\n  loading: () => \u003Cdiv>Loading...\u003C\u002Fdiv>\n});\n\n\u002F\u002F Route-based code splitting (automatic in Next.js)\n\u002F\u002F pages\u002Fadmin.js - Only loaded when visiting \u002Fadmin\n\u002F\u002F pages\u002Fdashboard.js - Only loaded when visiting \u002Fdashboard\n\\`\\`\\`\n\n#### 4. Remove Dead Code\n\n\\`\\`\\`javascript\n\u002F\u002F Enable tree shaking in webpack.config.js\nmodule.exports = {\n  mode: 'production',\n  optimization: {\n    usedExports: true,\n    sideEffects: false\n  }\n};\n\n\u002F\u002F In package.json\n{\n  \"sideEffects\": false\n}\n\\`\\`\\`\n\n#### 5. Optimize Third-Party Scripts\n\n\\`\\`\\`html\n\u003C!-- Before: Loads immediately -->\n\u003Cscript src=\"https:\u002F\u002Fanalytics.com\u002Fscript.js\">\u003C\u002Fscript>\n\n\u003C!-- After: Load after page interactive -->\n\u003Cscript>\n  window.addEventListener('load', () => {\n    const script = document.createElement('script');\n    script.src = 'https:\u002F\u002Fanalytics.com\u002Fscript.js';\n    script.async = true;\n    document.body.appendChild(script);\n  });\n\u003C\u002Fscript>\n\\`\\`\\`\n\n### Results\n\n- **Total Bundle:** 380KB ✅ (reduced by 55%)\n- **Main Bundle:** 180KB ✅\n- **Vendor Bundle:** 80KB ✅\n- **Load Time (3G):** 3.1s ✅ (improved by 62%)\n```\n\n### Example 3: Image Optimization Strategy\n\n```markdown\n## Image Optimization\n\n### Current Issues\n- 15 images totaling 12MB\n- No modern formats (WebP, AVIF)\n- No responsive images\n- No lazy loading\n\n### Optimization Strategy\n\n#### 1. Convert to Modern Formats\n\n\\`\\`\\`bash\n# Install image optimization tools\nnpm install sharp\n\n# Conversion script (optimize-images.js)\nconst sharp = require('sharp');\nconst fs = require('fs');\nconst path = require('path');\n\nasync function optimizeImage(inputPath, outputDir) {\n  const filename = path.basename(inputPath, path.extname(inputPath));\n  \n  \u002F\u002F Generate WebP\n  await sharp(inputPath)\n    .webp({ quality: 80 })\n    .toFile(path.join(outputDir, \\`\\${filename}.webp\\`));\n  \n  \u002F\u002F Generate AVIF (best compression)\n  await sharp(inputPath)\n    .avif({ quality: 70 })\n    .toFile(path.join(outputDir, \\`\\${filename}.avif\\`));\n  \n  \u002F\u002F Generate optimized JPEG fallback\n  await sharp(inputPath)\n    .jpeg({ quality: 80, progressive: true })\n    .toFile(path.join(outputDir, \\`\\${filename}.jpg\\`));\n}\n\n\u002F\u002F Process all images\nconst images = fs.readdirSync('.\u002Fimages');\nimages.forEach(img => {\n  optimizeImage(\\`.\u002Fimages\u002F\\${img}\\`, '.\u002Fimages\u002Foptimized');\n});\n\\`\\`\\`\n\n#### 2. Implement Responsive Images\n\n\\`\\`\\`html\n\u003C!-- Responsive images with modern formats -->\n\u003Cpicture>\n  \u003C!-- AVIF for browsers that support it (best compression) -->\n  \u003Csource \n    srcset=\"\n      \u002Fimages\u002Fhero-400.avif 400w,\n      \u002Fimages\u002Fhero-800.avif 800w,\n      \u002Fimages\u002Fhero-1200.avif 1200w\n    \"\n    type=\"image\u002Favif\"\n    sizes=\"(max-width: 768px) 100vw, 50vw\"\n  >\n  \n  \u003C!-- WebP for browsers that support it -->\n  \u003Csource \n    srcset=\"\n      \u002Fimages\u002Fhero-400.webp 400w,\n      \u002Fimages\u002Fhero-800.webp 800w,\n      \u002Fimages\u002Fhero-1200.webp 1200w\n    \"\n    type=\"image\u002Fwebp\"\n    sizes=\"(max-width: 768px) 100vw, 50vw\"\n  >\n  \n  \u003C!-- JPEG fallback -->\n  \u003Cimg \n    src=\"\u002Fimages\u002Fhero-800.jpg\"\n    srcset=\"\n      \u002Fimages\u002Fhero-400.jpg 400w,\n      \u002Fimages\u002Fhero-800.jpg 800w,\n      \u002Fimages\u002Fhero-1200.jpg 1200w\n    \"\n    sizes=\"(max-width: 768px) 100vw, 50vw\"\n    alt=\"Hero image\"\n    width=\"1200\"\n    height=\"600\"\n    loading=\"lazy\"\n  >\n\u003C\u002Fpicture>\n\\`\\`\\`\n\n#### 3. Lazy Loading\n\n\\`\\`\\`html\n\u003C!-- Native lazy loading -->\n\u003Cimg \n  src=\"\u002Fimage.jpg\" \n  alt=\"Description\"\n  loading=\"lazy\"\n  width=\"800\"\n  height=\"600\"\n>\n\n\u003C!-- Eager loading for above-the-fold images -->\n\u003Cimg \n  src=\"\u002Fhero.jpg\" \n  alt=\"Hero\"\n  loading=\"eager\"\n  fetchpriority=\"high\"\n>\n\\`\\`\\`\n\n#### 4. Next.js Image Component\n\n\\`\\`\\`javascript\nimport Image from 'next\u002Fimage';\n\n\u002F\u002F Automatic optimization\n\u003CImage\n  src=\"\u002Fhero.jpg\"\n  alt=\"Hero\"\n  width={1200}\n  height={600}\n  priority  \u002F\u002F For above-the-fold images\n  quality={80}\n\u002F>\n\n\u002F\u002F Lazy loaded\n\u003CImage\n  src=\"\u002Fproduct.jpg\"\n  alt=\"Product\"\n  width={400}\n  height={300}\n  loading=\"lazy\"\n\u002F>\n\\`\\`\\`\n\n### Results\n\n| Metric | Before | After | Improvement |\n|--------|--------|-------|-------------|\n| Total Image Size | 12MB | 1.8MB | 85% reduction |\n| LCP | 4.5s | 1.6s | 64% faster |\n| Page Load (3G) | 18s | 4.2s | 77% faster |\n```\n\n## Best Practices\n\n### ✅ Do This\n\n- **Measure First** - Always establish baseline metrics before optimizing\n- **Use Lighthouse** - Run audits regularly to track progress\n- **Optimize Images** - Use modern formats (WebP, AVIF) and responsive images\n- **Code Split** - Break large bundles into smaller chunks\n- **Lazy Load** - Defer non-critical resources\n- **Cache Aggressively** - Set proper cache headers for static assets\n- **Minimize Main Thread Work** - Keep JavaScript execution under 50ms chunks\n- **Preload Critical Resources** - Use `\u003Clink rel=\"preload\">` for critical assets\n- **Use CDN** - Serve static assets from CDN for faster delivery\n- **Monitor Real Users** - Track Core Web Vitals from real users\n\n### ❌ Don't Do This\n\n- **Don't Optimize Blindly** - Measure first, then optimize\n- **Don't Ignore Mobile** - Test on real mobile devices and slow networks\n- **Don't Block Rendering** - Avoid render-blocking CSS and JavaScript\n- **Don't Load Everything Upfront** - Lazy load non-critical resources\n- **Don't Forget Dimensions** - Always specify image width\u002Fheight\n- **Don't Use Synchronous Scripts** - Use async or defer attributes\n- **Don't Ignore Third-Party Scripts** - They often cause performance issues\n- **Don't Skip Compression** - Always compress and minify assets\n\n## Common Pitfalls\n\n### Problem: Optimized for Desktop but Slow on Mobile\n**Symptoms:** Good Lighthouse score on desktop, poor on mobile\n**Solution:**\n- Test on real mobile devices\n- Use Chrome DevTools mobile throttling\n- Optimize for 3G\u002F4G networks\n- Reduce JavaScript execution time\n```bash\n# Test with throttling\nlighthouse https:\u002F\u002Fyoursite.com --throttling.cpuSlowdownMultiplier=4\n```\n\n### Problem: Large JavaScript Bundle\n**Symptoms:** Long Time to Interactive (TTI), high FID\n**Solution:**\n- Analyze bundle with webpack-bundle-analyzer\n- Remove unused dependencies\n- Implement code splitting\n- Lazy load non-critical code\n```bash\n# Analyze bundle\nnpx webpack-bundle-analyzer dist\u002Fstats.json\n```\n\n### Problem: Images Causing Layout Shifts\n**Symptoms:** High CLS score, content jumping\n**Solution:**\n- Always specify width and height\n- Use aspect-ratio CSS property\n- Reserve space with skeleton loaders\n```css\nimg {\n  aspect-ratio: 16 \u002F 9;\n  width: 100%;\n  height: auto;\n}\n```\n\n### Problem: Slow Server Response Time\n**Symptoms:** High TTFB (Time to First Byte)\n**Solution:**\n- Implement server-side caching\n- Use CDN for static assets\n- Optimize database queries\n- Consider static site generation (SSG)\n```javascript\n\u002F\u002F Next.js: Static generation\nexport async function getStaticProps() {\n  const data = await fetchData();\n  return {\n    props: { data },\n    revalidate: 60 \u002F\u002F Regenerate every 60 seconds\n  };\n}\n```\n\n## Performance Checklist\n\n### Images\n- [ ] Convert to modern formats (WebP, AVIF)\n- [ ] Implement responsive images\n- [ ] Add lazy loading\n- [ ] Specify dimensions (width\u002Fheight)\n- [ ] Compress images (\u003C 200KB each)\n- [ ] Use CDN for delivery\n\n### JavaScript\n- [ ] Bundle size \u003C 200KB (gzipped)\n- [ ] Implement code splitting\n- [ ] Lazy load non-critical code\n- [ ] Remove unused dependencies\n- [ ] Minify and compress\n- [ ] Use async\u002Fdefer for scripts\n\n### CSS\n- [ ] Inline critical CSS\n- [ ] Defer non-critical CSS\n- [ ] Remove unused CSS\n- [ ] Minify CSS files\n- [ ] Use CSS containment\n\n### Caching\n- [ ] Set cache headers for static assets\n- [ ] Implement service worker\n- [ ] Use CDN caching\n- [ ] Cache API responses\n- [ ] Version static assets\n\n### Core Web Vitals\n- [ ] LCP \u003C 2.5s\n- [ ] FID \u003C 100ms\n- [ ] CLS \u003C 0.1\n- [ ] TTFB \u003C 600ms\n- [ ] TTI \u003C 3.8s\n\n## Performance Tools\n\n### Measurement Tools\n- **Lighthouse** - Comprehensive performance audit\n- **WebPageTest** - Detailed waterfall analysis\n- **Chrome DevTools** - Performance profiling\n- **PageSpeed Insights** - Real user metrics\n- **Web Vitals Extension** - Monitor Core Web Vitals\n\n### Analysis Tools\n- **webpack-bundle-analyzer** - Visualize bundle composition\n- **source-map-explorer** - Analyze bundle size\n- **Bundlephobia** - Check package sizes before installing\n- **ImageOptim** - Image compression tool\n\n### Monitoring Tools\n- **Google Analytics** - Track Core Web Vitals\n- **Sentry** - Performance monitoring\n- **New Relic** - Application performance monitoring\n- **Datadog** - Real user monitoring\n\n## Related Skills\n\n- `@react-best-practices` - React performance patterns\n- `@frontend-dev-guidelines` - Frontend development standards\n- `@systematic-debugging` - Debug performance issues\n- `@senior-architect` - Architecture for performance\n\n## Additional Resources\n\n- [Web.dev Performance](https:\u002F\u002Fweb.dev\u002Fperformance\u002F)\n- [Core Web Vitals](https:\u002F\u002Fweb.dev\u002Fvitals\u002F)\n- [Lighthouse Documentation](https:\u002F\u002Fdevelopers.google.com\u002Fweb\u002Ftools\u002Flighthouse)\n- [MDN Performance Guide](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FPerformance)\n- [Next.js Performance](https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fadvanced-features\u002Fmeasuring-performance)\n- [Image Optimization Guide](https:\u002F\u002Fweb.dev\u002Ffast\u002F#optimize-your-images)\n\n---\n\n**Pro Tip:** Focus on Core Web Vitals (LCP, FID, CLS) first - they have the biggest impact on user experience and SEO rankings!\n","# Web Performance Optimization\n\n## Overview\n\nHelp developers optimize website and web application performance to improve user experience, SEO rankings, and conversion rates. This skill provides systematic approaches to measure, analyze, and improve loading speed, runtime performance, and Core Web Vitals metrics.\n\n## When to Use This Skill\n\n- Use when website or app is loading slowly\n- Use when optimizing for Core Web Vitals (LCP, FID, CLS)\n- Use when reducing JavaScript bundle size\n- Use when improving Time to Interactive (TTI)\n- Use when optimizing images and assets\n- Use when implementing caching strategies\n- Use when debugging performance bottlenecks\n- Use when preparing for performance audits\n\n## How It Works\n\n### Step 1: Measure Current Performance\n\nI'll help you establish baseline metrics:\n- Run Lighthouse audits\n- Measure Core Web Vitals (LCP, FID, CLS)\n- Check bundle sizes\n- Analyze network waterfall\n- Identify performance bottlenecks\n\n### Step 2: Identify Issues\n\nAnalyze performance problems:\n- Large JavaScript bundles\n- Unoptimized images\n- Render-blocking resources\n- Slow server response times\n- Missing caching headers\n- Layout shifts\n- Long tasks blocking main thread\n\n### Step 3: Prioritize Optimizations\n\nFocus on high-impact improvements:\n- Critical rendering path optimization\n- Code splitting and lazy loading\n- Image optimization\n- Caching strategies\n- Third-party script optimization\n\n### Step 4: Implement Optimizations\n\nApply performance improvements:\n- Optimize assets (images, fonts, CSS, JS)\n- Implement code splitting\n- Add caching headers\n- Lazy load non-critical resources\n- Optimize critical rendering path\n\n### Step 5: Verify Improvements\n\nMeasure impact of changes:\n- Re-run Lighthouse audits\n- Compare before\u002Fafter metrics\n- Monitor real user metrics (RUM)\n- Test on different devices and networks\n\n## Examples\n\n### Example 1: Optimizing Core Web Vitals\n\n```markdown\n## Performance Audit Results\n\n### Current Metrics (Before Optimization)\n- **LCP (Largest Contentful Paint):** 4.2s ❌ (should be \u003C 2.5s)\n- **FID (First Input Delay):** 180ms ❌ (should be \u003C 100ms)\n- **CLS (Cumulative Layout Shift):** 0.25 ❌ (should be \u003C 0.1)\n- **Lighthouse Score:** 62\u002F100\n\n### Issues Identified\n\n1. **LCP Issue:** Hero image (2.5MB) loads slowly\n2. **FID Issue:** Large JavaScript bundle (850KB) blocks main thread\n3. **CLS Issue:** Images without dimensions cause layout shifts\n\n### Optimization Plan\n\n#### Fix LCP (Largest Contentful Paint)\n\n**Problem:** Hero image is 2.5MB and loads slowly\n\n**Solutions:**\n\\`\\`\\`html\n\u003C!-- Before: Unoptimized image -->\n\u003Cimg src=\"\u002Fhero.jpg\" alt=\"Hero\">\n\n\u003C!-- After: Optimized with modern formats -->\n\u003Cpicture>\n  \u003Csource srcset=\"\u002Fhero.avif\" type=\"image\u002Favif\">\n  \u003Csource srcset=\"\u002Fhero.webp\" type=\"image\u002Fwebp\">\n  \u003Cimg \n    src=\"\u002Fhero.jpg\" \n    alt=\"Hero\"\n    width=\"1200\" \n    height=\"600\"\n    loading=\"eager\"\n    fetchpriority=\"high\"\n  >\n\u003C\u002Fpicture>\n\\`\\`\\`\n\n**Additional optimizations:**\n- Compress image to \u003C 200KB\n- Use CDN for faster delivery\n- Preload hero image: `\u003Clink rel=\"preload\" as=\"image\" href=\"\u002Fhero.avif\">`\n\n#### Fix FID (First Input Delay)\n\n**Problem:** 850KB JavaScript bundle blocks main thread\n\n**Solutions:**\n\n1. **Code Splitting:**\n\\`\\`\\`javascript\n\u002F\u002F Before: Everything in one bundle\nimport { HeavyComponent } from '.\u002FHeavyComponent';\nimport { Analytics } from '.\u002Fanalytics';\nimport { ChatWidget } from '.\u002Fchat';\n\n\u002F\u002F After: Lazy load non-critical code\nconst HeavyComponent = lazy(() => import('.\u002FHeavyComponent'));\nconst ChatWidget = lazy(() => import('.\u002Fchat'));\n\n\u002F\u002F Load analytics after page interactive\nif (typeof window !== 'undefined') {\n  window.addEventListener('load', () => {\n    import('.\u002Fanalytics').then(({ Analytics }) => {\n      Analytics.init();\n    });\n  });\n}\n\\`\\`\\`\n\n2. **Remove Unused Dependencies:**\n\\`\\`\\`bash\n# Analyze bundle\nnpx webpack-bundle-analyzer\n\n# Remove unused packages\nnpm uninstall moment  # Use date-fns instead (smaller)\nnpm install date-fns\n\\`\\`\\`\n\n3. **Defer Non-Critical Scripts:**\n\\`\\`\\`html\n\u003C!-- Before: Blocks rendering -->\n\u003Cscript src=\"\u002Fanalytics.js\">\u003C\u002Fscript>\n\n\u003C!-- After: Deferred -->\n\u003Cscript src=\"\u002Fanalytics.js\" defer>\u003C\u002Fscript>\n\\`\\`\\`\n\n#### Fix CLS (Cumulative Layout Shift)\n\n**Problem:** Images without dimensions cause layout shifts\n\n**Solutions:**\n\\`\\`\\`html\n\u003C!-- Before: No dimensions -->\n\u003Cimg src=\"\u002Fproduct.jpg\" alt=\"Product\">\n\n\u003C!-- After: With dimensions -->\n\u003Cimg \n  src=\"\u002Fproduct.jpg\" \n  alt=\"Product\"\n  width=\"400\" \n  height=\"300\"\n  style=\"aspect-ratio: 4\u002F3;\"\n>\n\\`\\`\\`\n\n**For dynamic content:**\n\\`\\`\\`css\n\u002F* Reserve space for content that loads later *\u002F\n.skeleton-loader {\n  min-height: 200px;\n  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);\n  background-size: 200% 100%;\n  animation: loading 1.5s infinite;\n}\n\n@keyframes loading {\n  0% { background-position: 200% 0; }\n  100% { background-position: -200% 0; }\n}\n\\`\\`\\`\n\n### Results After Optimization\n\n- **LCP:** 1.8s ✅ (improved by 57%)\n- **FID:** 45ms ✅ (improved by 75%)\n- **CLS:** 0.05 ✅ (improved by 80%)\n- **Lighthouse Score:** 94\u002F100 ✅\n```\n\n### Example 2: Reducing JavaScript Bundle Size\n\n```markdown\n## Bundle Size Optimization\n\n### Current State\n- **Total Bundle:** 850KB (gzipped: 280KB)\n- **Main Bundle:** 650KB\n- **Vendor Bundle:** 200KB\n- **Load Time (3G):** 8.2s\n\n### Analysis\n\n\\`\\`\\`bash\n# Analyze bundle composition\nnpx webpack-bundle-analyzer dist\u002Fstats.json\n\\`\\`\\`\n\n**Findings:**\n1. Moment.js: 67KB (can replace with date-fns: 12KB)\n2. Lodash: 72KB (using entire library, only need 5 functions)\n3. Unused code: ~150KB of dead code\n4. No code splitting: Everything in one bundle\n\n### Optimization Steps\n\n#### 1. Replace Heavy Dependencies\n\n\\`\\`\\`bash\n# Remove moment.js (67KB) → Use date-fns (12KB)\nnpm uninstall moment\nnpm install date-fns\n\n# Before\nimport moment from 'moment';\nconst formatted = moment(date).format('YYYY-MM-DD');\n\n# After\nimport { format } from 'date-fns';\nconst formatted = format(date, 'yyyy-MM-dd');\n\\`\\`\\`\n\n**Savings:** 55KB\n\n#### 2. Use Lodash Selectively\n\n\\`\\`\\`javascript\n\u002F\u002F Before: Import entire library (72KB)\nimport _ from 'lodash';\nconst unique = _.uniq(array);\n\n\u002F\u002F After: Import only what you need (5KB)\nimport uniq from 'lodash\u002Funiq';\nconst unique = uniq(array);\n\n\u002F\u002F Or use native methods\nconst unique = [...new Set(array)];\n\\`\\`\\`\n\n**Savings:** 67KB\n\n#### 3. Implement Code Splitting\n\n\\`\\`\\`javascript\n\u002F\u002F Next.js example\nimport dynamic from 'next\u002Fdynamic';\n\n\u002F\u002F Lazy load heavy components\nconst Chart = dynamic(() => import('.\u002FChart'), {\n  loading: () => \u003Cdiv>Loading chart...\u003C\u002Fdiv>,\n  ssr: false\n});\n\nconst AdminPanel = dynamic(() => import('.\u002FAdminPanel'), {\n  loading: () => \u003Cdiv>Loading...\u003C\u002Fdiv>\n});\n\n\u002F\u002F Route-based code splitting (automatic in Next.js)\n\u002F\u002F pages\u002Fadmin.js - Only loaded when visiting \u002Fadmin\n\u002F\u002F pages\u002Fdashboard.js - Only loaded when visiting \u002Fdashboard\n\\`\\`\\`\n\n#### 4. Remove Dead Code\n\n\\`\\`\\`javascript\n\u002F\u002F Enable tree shaking in webpack.config.js\nmodule.exports = {\n  mode: 'production',\n  optimization: {\n    usedExports: true,\n    sideEffects: false\n  }\n};\n\n\u002F\u002F In package.json\n{\n  \"sideEffects\": false\n}\n\\`\\`\\`\n\n#### 5. Optimize Third-Party Scripts\n\n\\`\\`\\`html\n\u003C!-- Before: Loads immediately -->\n\u003Cscript src=\"https:\u002F\u002Fanalytics.com\u002Fscript.js\">\u003C\u002Fscript>\n\n\u003C!-- After: Load after page interactive -->\n\u003Cscript>\n  window.addEventListener('load', () => {\n    const script = document.createElement('script');\n    script.src = 'https:\u002F\u002Fanalytics.com\u002Fscript.js';\n    script.async = true;\n    document.body.appendChild(script);\n  });\n\u003C\u002Fscript>\n\\`\\`\\`\n\n### Results\n\n- **Total Bundle:** 380KB ✅ (reduced by 55%)\n- **Main Bundle:** 180KB ✅\n- **Vendor Bundle:** 80KB ✅\n- **Load Time (3G):** 3.1s ✅ (improved by 62%)\n```\n\n### Example 3: Image Optimization Strategy\n\n```markdown\n## Image Optimization\n\n### Current Issues\n- 15 images totaling 12MB\n- No modern formats (WebP, AVIF)\n- No responsive images\n- No lazy loading\n\n### Optimization Strategy\n\n#### 1. Convert to Modern Formats\n\n\\`\\`\\`bash\n# Install image optimization tools\nnpm install sharp\n\n# Conversion script (optimize-images.js)\nconst sharp = require('sharp');\nconst fs = require('fs');\nconst path = require('path');\n\nasync function optimizeImage(inputPath, outputDir) {\n  const filename = path.basename(inputPath, path.extname(inputPath));\n  \n  \u002F\u002F Generate WebP\n  await sharp(inputPath)\n    .webp({ quality: 80 })\n    .toFile(path.join(outputDir, \\`\\${filename}.webp\\`));\n  \n  \u002F\u002F Generate AVIF (best compression)\n  await sharp(inputPath)\n    .avif({ quality: 70 })\n    .toFile(path.join(outputDir, \\`\\${filename}.avif\\`));\n  \n  \u002F\u002F Generate optimized JPEG fallback\n  await sharp(inputPath)\n    .jpeg({ quality: 80, progressive: true })\n    .toFile(path.join(outputDir, \\`\\${filename}.jpg\\`));\n}\n\n\u002F\u002F Process all images\nconst images = fs.readdirSync('.\u002Fimages');\nimages.forEach(img => {\n  optimizeImage(\\`.\u002Fimages\u002F\\${img}\\`, '.\u002Fimages\u002Foptimized');\n});\n\\`\\`\\`\n\n#### 2. Implement Responsive Images\n\n\\`\\`\\`html\n\u003C!-- Responsive images with modern formats -->\n\u003Cpicture>\n  \u003C!-- AVIF for browsers that support it (best compression) -->\n  \u003Csource \n    srcset=\"\n      \u002Fimages\u002Fhero-400.avif 400w,\n      \u002Fimages\u002Fhero-800.avif 800w,\n      \u002Fimages\u002Fhero-1200.avif 1200w\n    \"\n    type=\"image\u002Favif\"\n    sizes=\"(max-width: 768px) 100vw, 50vw\"\n  >\n  \n  \u003C!-- WebP for browsers that support it -->\n  \u003Csource \n    srcset=\"\n      \u002Fimages\u002Fhero-400.webp 400w,\n      \u002Fimages\u002Fhero-800.webp 800w,\n      \u002Fimages\u002Fhero-1200.webp 1200w\n    \"\n    type=\"image\u002Fwebp\"\n    sizes=\"(max-width: 768px) 100vw, 50vw\"\n  >\n  \n  \u003C!-- JPEG fallback -->\n  \u003Cimg \n    src=\"\u002Fimages\u002Fhero-800.jpg\"\n    srcset=\"\n      \u002Fimages\u002Fhero-400.jpg 400w,\n      \u002Fimages\u002Fhero-800.jpg 800w,\n      \u002Fimages\u002Fhero-1200.jpg 1200w\n    \"\n    sizes=\"(max-width: 768px) 100vw, 50vw\"\n    alt=\"Hero image\"\n    width=\"1200\"\n    height=\"600\"\n    loading=\"lazy\"\n  >\n\u003C\u002Fpicture>\n\\`\\`\\`\n\n#### 3. Lazy Loading\n\n\\`\\`\\`html\n\u003C!-- Native lazy loading -->\n\u003Cimg \n  src=\"\u002Fimage.jpg\" \n  alt=\"Description\"\n  loading=\"lazy\"\n  width=\"800\"\n  height=\"600\"\n>\n\n\u003C!-- Eager loading for above-the-fold images -->\n\u003Cimg \n  src=\"\u002Fhero.jpg\" \n  alt=\"Hero\"\n  loading=\"eager\"\n  fetchpriority=\"high\"\n>\n\\`\\`\\`\n\n#### 4. Next.js Image Component\n\n\\`\\`\\`javascript\nimport Image from 'next\u002Fimage';\n\n\u002F\u002F Automatic optimization\n\u003CImage\n  src=\"\u002Fhero.jpg\"\n  alt=\"Hero\"\n  width={1200}\n  height={600}\n  priority  \u002F\u002F For above-the-fold images\n  quality={80}\n\u002F>\n\n\u002F\u002F Lazy loaded\n\u003CImage\n  src=\"\u002Fproduct.jpg\"\n  alt=\"Product\"\n  width={400}\n  height={300}\n  loading=\"lazy\"\n\u002F>\n\\`\\`\\`\n\n### Results\n\n| Metric | Before | After | Improvement |\n|--------|--------|-------|-------------|\n| Total Image Size | 12MB | 1.8MB | 85% reduction |\n| LCP | 4.5s | 1.6s | 64% faster |\n| Page Load (3G) | 18s | 4.2s | 77% faster |\n```\n\n## Best Practices\n\n### ✅ Do This\n\n- **Measure First** - Always establish baseline metrics before optimizing\n- **Use Lighthouse** - Run audits regularly to track progress\n- **Optimize Images** - Use modern formats (WebP, AVIF) and responsive images\n- **Code Split** - Break large bundles into smaller chunks\n- **Lazy Load** - Defer non-critical resources\n- **Cache Aggressively** - Set proper cache headers for static assets\n- **Minimize Main Thread Work** - Keep JavaScript execution under 50ms chunks\n- **Preload Critical Resources** - Use `\u003Clink rel=\"preload\">` for critical assets\n- **Use CDN** - Serve static assets from CDN for faster delivery\n- **Monitor Real Users** - Track Core Web Vitals from real users\n\n### ❌ Don't Do This\n\n- **Don't Optimize Blindly** - Measure first, then optimize\n- **Don't Ignore Mobile** - Test on real mobile devices and slow networks\n- **Don't Block Rendering** - Avoid render-blocking CSS and JavaScript\n- **Don't Load Everything Upfront** - Lazy load non-critical resources\n- **Don't Forget Dimensions** - Always specify image width\u002Fheight\n- **Don't Use Synchronous Scripts** - Use async or defer attributes\n- **Don't Ignore Third-Party Scripts** - They often cause performance issues\n- **Don't Skip Compression** - Always compress and minify assets\n\n## Common Pitfalls\n\n### Problem: Optimized for Desktop but Slow on Mobile\n**Symptoms:** Good Lighthouse score on desktop, poor on mobile\n**Solution:**\n- Test on real mobile devices\n- Use Chrome DevTools mobile throttling\n- Optimize for 3G\u002F4G networks\n- Reduce JavaScript execution time\n```bash\n# Test with throttling\nlighthouse https:\u002F\u002Fyoursite.com --throttling.cpuSlowdownMultiplier=4\n```\n\n### Problem: Large JavaScript Bundle\n**Symptoms:** Long Time to Interactive (TTI), high FID\n**Solution:**\n- Analyze bundle with webpack-bundle-analyzer\n- Remove unused dependencies\n- Implement code splitting\n- Lazy load non-critical code\n```bash\n# Analyze bundle\nnpx webpack-bundle-analyzer dist\u002Fstats.json\n```\n\n### Problem: Images Causing Layout Shifts\n**Symptoms:** High CLS score, content jumping\n**Solution:**\n- Always specify width and height\n- Use aspect-ratio CSS property\n- Reserve space with skeleton loaders\n```css\nimg {\n  aspect-ratio: 16 \u002F 9;\n  width: 100%;\n  height: auto;\n}\n```\n\n### Problem: Slow Server Response Time\n**Symptoms:** High TTFB (Time to First Byte)\n**Solution:**\n- Implement server-side caching\n- Use CDN for static assets\n- Optimize database queries\n- Consider static site generation (SSG)\n```javascript\n\u002F\u002F Next.js: Static generation\nexport async function getStaticProps() {\n  const data = await fetchData();\n  return {\n    props: { data },\n    revalidate: 60 \u002F\u002F Regenerate every 60 seconds\n  };\n}\n```\n\n## Performance Checklist\n\n### Images\n- [ ] Convert to modern formats (WebP, AVIF)\n- [ ] Implement responsive images\n- [ ] Add lazy loading\n- [ ] Specify dimensions (width\u002Fheight)\n- [ ] Compress images (\u003C 200KB each)\n- [ ] Use CDN for delivery\n\n### JavaScript\n- [ ] Bundle size \u003C 200KB (gzipped)\n- [ ] Implement code splitting\n- [ ] Lazy load non-critical code\n- [ ] Remove unused dependencies\n- [ ] Minify and compress\n- [ ] Use async\u002Fdefer for scripts\n\n### CSS\n- [ ] Inline critical CSS\n- [ ] Defer non-critical CSS\n- [ ] Remove unused CSS\n- [ ] Minify CSS files\n- [ ] Use CSS containment\n\n### Caching\n- [ ] Set cache headers for static assets\n- [ ] Implement service worker\n- [ ] Use CDN caching\n- [ ] Cache API responses\n- [ ] Version static assets\n\n### Core Web Vitals\n- [ ] LCP \u003C 2.5s\n- [ ] FID \u003C 100ms\n- [ ] CLS \u003C 0.1\n- [ ] TTFB \u003C 600ms\n- [ ] TTI \u003C 3.8s\n\n## Performance Tools\n\n### Measurement Tools\n- **Lighthouse** - Comprehensive performance audit\n- **WebPageTest** - Detailed waterfall analysis\n- **Chrome DevTools** - Performance profiling\n- **PageSpeed Insights** - Real user metrics\n- **Web Vitals Extension** - Monitor Core Web Vitals\n\n### Analysis Tools\n- **webpack-bundle-analyzer** - Visualize bundle composition\n- **source-map-explorer** - Analyze bundle size\n- **Bundlephobia** - Check package sizes before installing\n- **ImageOptim** - Image compression tool\n\n### Monitoring Tools\n- **Google Analytics** - Track Core Web Vitals\n- **Sentry** - Performance monitoring\n- **New Relic** - Application performance monitoring\n- **Datadog** - Real user monitoring\n\n## Related Skills\n\n- `@react-best-practices` - React performance patterns\n- `@frontend-dev-guidelines` - Frontend development standards\n- `@systematic-debugging` - Debug performance issues\n- `@senior-architect` - Architecture for performance\n\n## Additional Resources\n\n- [Web.dev Performance](https:\u002F\u002Fweb.dev\u002Fperformance\u002F)\n- [Core Web Vitals](https:\u002F\u002Fweb.dev\u002Fvitals\u002F)\n- [Lighthouse Documentation](https:\u002F\u002Fdevelopers.google.com\u002Fweb\u002Ftools\u002Flighthouse)\n- [MDN Performance Guide](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FPerformance)\n- [Next.js Performance](https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fadvanced-features\u002Fmeasuring-performance)\n- [Image Optimization Guide](https:\u002F\u002Fweb.dev\u002Ffast\u002F#optimize-your-images)\n\n---\n\n**Pro Tip:** Focus on Core Web Vitals (LCP, FID, CLS) first - they have the biggest impact on user experience and SEO rankings!\n",{"name":5,"description":7},"main","eac60cc6e0b6baa2a05a765a851fb10638f4e733",".agent\u002Fskills\u002Fskills\u002Fweb-performance-optimization","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist","https:\u002F\u002Fgithub.com\u002FGabriellmaia01","https:\u002F\u002Fportfolio-bice-theta-81.vercel.app\u002F","💻 Desenvolvimento De Software_\r\n\r\n⚙️ Engenharia De Software\r\n","2026-11-12 08:51:23",{"source":9,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill web-performance-optimization",{"tool":60,"command":61},"bunx","bunx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill web-performance-optimization",{"tool":63,"command":64},"pnpm","pnpm dlx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill web-performance-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fweb-performance-optimization\u002FSKILL.md",true,[],[69,100,131,156,178,203],{"skillNo":70,"name":71,"nameZh":72,"description":73,"descriptionZh":74,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":75,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":85,"publishedAt":99},"01M6CCF29DKTVDQWVM0EJREXTV","webapp-testing","Playwright Web 应用测试","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","使用 Playwright 与本地 Web 应用交互并进行测试的工具包。支持验证前端功能、调试 UI 行为、截取浏览器截图以及查看浏览器日志。","Apache-2.0","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[79,82],{"categoryNo":80,"categoryName":81,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":83,"categoryName":84,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9MTTAN0PZ8RC9QAZW0AZJ","浏览器自动化与网页交互",[86,87,88,89,90,91,92,93,94,95,96,32,97,98],"webapp","webapp testing","testing","playwright","behavior","applications","logs","ui","browser","toolkit","debugging","screenshots","frontend","2026-11-11 15:11:14",{"skillNo":101,"name":102,"nameZh":103,"description":104,"descriptionZh":105,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":75,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":113,"publishedAt":99},"01M6CCET439J7JD6CP2VJ1GWP1","web-artifacts-builder","Claude 网页工件构建","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","一套工具，用于使用现代前端 Web 技术（React、Tailwind CSS、shadcn\u002Fui）创建精细的、由多个组件组成的 claude.ai HTML 工件。适用于需要状态管理、路由或 shadcn\u002Fui 组件的复杂工件——不适用于简单的单文件 HTML\u002FJSX 工件。","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[109,110],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":111,"categoryName":112,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[114,115,116,32,117,118,98,119,93,120,121,122,123,124,125,126,127,128,129,130],"builder","artifacts builder","artifacts","web artifacts builder","Tailwind","Tools","file","state","state management","routing","component","react","components","css","management","single-file","use",{"skillNo":132,"name":133,"nameZh":134,"description":135,"descriptionZh":136,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":75,"licenseFileUrl":137,"sourceHtmlUrl":138,"categories":139,"keywords":145,"publishedAt":99},"01M6CCDCQNA65GZ5ZMWH5FQPB3","theme-factory","作品主题样式设计","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","用于为作品应用主题样式的工具包。这些作品可以是幻灯片、文档、报告、HTML 落地页等。提供 10 个包含颜色\u002F字体的预设主题，可应用于任何已创建的作品，也可即时生成新主题。","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Ftheme-factory\u002FSKILL.md",[140,143],{"categoryNo":141,"categoryName":142,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQ877MFW4HF3VA3ZAS1","视觉设计师",{"categoryNo":144,"categoryName":134,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFXMQXQCMC5B5STPCEBPMS",[146,147,148,95,149,150,151,152,153,116,154,155],"factory","theme factory","styling","html","landing","slides","fly","SET","generate","docs",{"skillNo":157,"name":158,"nameZh":159,"description":160,"descriptionZh":161,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":75,"licenseFileUrl":162,"sourceHtmlUrl":163,"categories":164,"keywords":171,"publishedAt":99},"01M6CCBRDWZJG6B82549AP9FNJ","slack-gif-creator","Slack 动图 GIF 制作","Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like \"make me a GIF of X doing Y for Slack.\"","用于创建针对 Slack 优化的动图 GIF 的知识和工具。提供约束条件、验证工具和动画概念。当用户请求制作 Slack 用的动图 GIF 时使用，例如“给我做一个 X 做 Y 的 Slack GIF”。","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fslack-gif-creator\u002FSKILL.md",[165,168],{"categoryNo":166,"categoryName":167,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR5V816HPKFXP1YV56C07K","多媒体工程师",{"categoryNo":169,"categoryName":170,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C8DBWTZ7VT76QWWE5JQN8D","动图 GIF 制作",[172,173,174,130,175,176,177,119],"slack","slack gif creator","validation","knowledge","Animation","constraints",{"skillNo":179,"name":180,"nameZh":181,"description":182,"descriptionZh":183,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":75,"licenseFileUrl":184,"sourceHtmlUrl":185,"categories":186,"keywords":193,"publishedAt":99},"01M6CCBF73X6J4W7434Z6FWSX9","skill-creator","Claude 技能创建指南","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","创建有效技能的指南。当用户想要创建一个新技能（或更新现有技能），以通过专业知识、工作流或工具集成来扩展 Claude 的能力时，应使用此技能。","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fskill-creator\u002FSKILL.md",[187,190],{"categoryNo":188,"categoryName":189,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":191,"categoryName":192,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[194,195,196,197,198,199,175,200,201,202],"skill creator","update","guide","specialized","integrations","tool","capabilities","create","workflows",{"skillNo":204,"name":205,"nameZh":17,"description":206,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":75,"licenseFileUrl":207,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":99},"01M6CC58BZPCH6R5E46RME74TC","mcp-builder","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fmcp-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[],[211,114,212,213,214,215,216,217,218,219,119,220,221,222,223,130,196,224,225,226],"mcp builder","MCP","sdk","model context protocol","fastmcp","protocol","typescript","python","llms","model","quality","node","integrate","mcp servers","context","services"]