[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CWHM61R6QW5JMDMA4HQWB0":3,"skill-same:01M7CWHM61R6QW5JMDMA4HQWB0":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CWHM61R6QW5JMDMA4HQWB0","lighthouse",null,"Google Lighthouse CLI reference for auditing web performance, accessibility, SEO, and best practices. Use this skill when users need to analyze website performance, run audits, generate reports, or integrate Lighthouse into their workflow.","Henrique1601\u002FSkiilsToIAs","Henrique1601","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F92006691?v=4","01M7CRXVT0GVXVK80JT1GR687S","Henrique Bezerra Dos Santos","01M7CRXVTN5Y8TMWJ1MDSKCQ1T",0,"MIT","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fseo\u002Flighthouse\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lighthouse\ndescription: Google Lighthouse CLI reference for auditing web performance, accessibility, SEO, and best practices. Use this skill when users need to analyze website performance, run audits, generate reports, or integrate Lighthouse into their workflow.\n---\n\n# Google Lighthouse\n\nComprehensive reference for Google Lighthouse - an open-source, automated tool for improving the quality of web pages. It has audits for performance, accessibility, progressive web apps, SEO and more.\n\n**Source:** https:\u002F\u002Fgithub.com\u002FGoogleChrome\u002Flighthouse  \n**NPM Package:** https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Flighthouse  \n**Documentation:** https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002Foverview\u002F\n\n## Prerequisites\n\n### Requirements\n\n- **Node.js:** Version 22 (LTS) or later\n- **Chrome\u002FChromium:** Version 66.0 or later\n\n### Installation\n\n```bash\n# Global installation (recommended)\nnpm install -g lighthouse\n\n# Or use yarn\nyarn global add lighthouse\n\n# Verify installation\nlighthouse --version\n```\n\n### Chrome Setup\n\nLighthouse uses Chrome\u002FChromium. You can:\n- Use existing Chrome\u002FChrome Canary installation\n- Set custom Chrome binary via `CHROME_PATH` environment variable\n- Pass custom flags via `--chrome-flags`\n\n## Quick Start\n\n```bash\n# Basic audit - generates HTML report\nlighthouse https:\u002F\u002Fexample.com\n\n# View report immediately in browser\nlighthouse https:\u002F\u002Fexample.com --view\n\n# JSON output to stdout\nlighthouse https:\u002F\u002Fexample.com --output json\n\n# Save to specific path\nlighthouse https:\u002F\u002Fexample.com --output-path .\u002Freport.html\n```\n\n## CLI Options\n\n### Output Options\n\n```bash\nlighthouse \u003Curl> --output \u003Cformat> --output-path \u003Cpath>\n\n# Output formats (can use multiple)\n--output html          # HTML report (default)\n--output json          # JSON output\n--output csv           # CSV output\n\n# Examples\nlighthouse https:\u002F\u002Fexample.com --output json                    # JSON to stdout\nlighthouse https:\u002F\u002Fexample.com --output html --output-path .\u002Faudit.html\nlighthouse https:\u002F\u002Fexample.com --output json --output html      # Both formats\n```\n\n### Audit Categories\n\n```bash\n# Run specific categories only\nlighthouse https:\u002F\u002Fexample.com --only-categories=performance,accessibility\n\n# Available categories:\n# - performance\n# - accessibility\n# - best-practices\n# - seo\n# - pwa (Progressive Web App)\n\n# Skip specific audits\nlighthouse https:\u002F\u002Fexample.com --skip-audits=unused-javascript,offscreen-images\n\n# List all available audits\nlighthouse --list-all-audits\n```\n\n### Presets & Device Emulation\n\n```bash\n# Use built-in presets\nlighthouse https:\u002F\u002Fexample.com --preset=desktop    # Desktop preset\nlighthouse https:\u002F\u002Fexample.com --preset=perf       # Performance only\nlighthouse https:\u002F\u002Fexample.com --preset=experimental  # Experimental audits\n\n# Form factor\nlighthouse https:\u002F\u002Fexample.com --form-factor=mobile   # Mobile (default)\nlighthouse https:\u002F\u002Fexample.com --form-factor=desktop  # Desktop\n\n# Screen emulation\nlighthouse https:\u002F\u002Fexample.com --screenEmulation.mobile\nlighthouse https:\u002F\u002Fexample.com --screenEmulation.width=1280 --screenEmulation.height=720\nlighthouse https:\u002F\u002Fexample.com --screenEmulation.disabled  # Disable emulation\n```\n\n### Network & CPU Throttling\n\n```bash\n# Throttling methods\n--throttling-method=simulate    # Simulate throttling (default, fastest)\n--throttling-method=devtools    # Use DevTools throttling\n--throttling-method=provided    # No throttling\n\n# Custom throttling settings\n--throttling.rttMs=150                    # Network RTT\n--throttling.throughputKbps=1600          # Download speed\n--throttling.cpuSlowdownMultiplier=4      # CPU slowdown\n```\n\n### Chrome Configuration\n\n```bash\n# Custom Chrome path (via environment variable)\nCHROME_PATH=\u002Fpath\u002Fto\u002Fchrome lighthouse https:\u002F\u002Fexample.com\n\n# Chrome flags\nlighthouse https:\u002F\u002Fexample.com --chrome-flags=\"--headless --no-sandbox\"\nlighthouse https:\u002F\u002Fexample.com --chrome-flags=\"--window-size=412,660\"\nlighthouse https:\u002F\u002Fexample.com --chrome-flags=\"--disable-gpu --disable-dev-shm-usage\"\n\n# Debug protocol settings\n--port=9222                    # Use specific debugging port\n--hostname=localhost           # Custom hostname\n```\n\n### Advanced Options\n\n```bash\n# Max wait time for page load (milliseconds)\n--max-wait-for-load=60000\n\n# Save assets (trace and devtools log)\n--save-assets\n\n# Disable full page screenshot (reduces report size)\n--disable-full-page-screenshot\n\n# Disable storage reset (keep cache\u002Fcookies)\n--disable-storage-reset\n\n# Block URL patterns\n--blocked-url-patterns=\"*.png\" --blocked-url-patterns=\"*.jpg\"\n\n# Extra HTTP headers\n--extra-headers=\"{\\\"Cookie\\\":\\\"monster=blue\\\", \\\"Authorization\\\":\\\"Bearer token\\\"}\"\n\n# Locale\u002Flanguage for report\n--locale=en\n\n# Plugins\n--plugins=lighthouse-plugin-field-performance\n```\n\n## Lifecycle Modes\n\n### Gather Mode (Collect Artifacts)\n\n```bash\n# Collect artifacts and save to disk\nlighthouse https:\u002F\u002Fexample.com --gather-mode\n\n# Save to custom folder\nlighthouse https:\u002F\u002Fexample.com -G=.\u002Fartifacts\u002F\n\n# Collects: trace, devtools log, page artifacts\n```\n\n### Audit Mode (Process Saved Artifacts)\n\n```bash\n# Process previously saved artifacts\nlighthouse --audit-mode\n\n# Load from custom folder\nlighthouse -A=.\u002Fartifacts\u002F\n\n# Skips browser interaction, runs audits on saved data\n```\n\n### Combined Mode\n\n```bash\n# Normal run + save artifacts for later\nlighthouse https:\u002F\u002Fexample.com -GA\n\n# With custom folder\nlighthouse https:\u002F\u002Fexample.com -GA=.\u002Fmy-run\u002F\n```\n\n## Configuration File\n\nCreate `lighthouse-config.js`:\n\n```javascript\nmodule.exports = {\n  extends: 'lighthouse:default',\n  settings: {\n    formFactor: 'desktop',\n    throttling: {\n      rttMs: 40,\n      throughputKbps: 10240,\n      cpuSlowdownMultiplier: 1,\n    },\n    screenEmulation: {\n      mobile: false,\n      width: 1350,\n      height: 940,\n      deviceScaleFactor: 1,\n      disabled: false,\n    },\n    emulatedUserAgent: 'Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_15_7)',\n    onlyCategories: ['performance', 'accessibility', 'best-practices', 'seo'],\n  },\n};\n```\n\nUse it:\n\n```bash\nlighthouse https:\u002F\u002Fexample.com --config-path=.\u002Flighthouse-config.js\n```\n\n## Viewing Reports\n\n### HTML Reports\n\n```bash\n# Auto-open in browser\nlighthouse https:\u002F\u002Fexample.com --view\n\n# Open report manually\nopen .\u002Fexample.com_2024-01-01.report.html\n```\n\n### JSON Reports\n\n```bash\n# Generate JSON\nlighthouse https:\u002F\u002Fexample.com --output=json --output-path=.\u002Freport.json\n\n# View online at Lighthouse Viewer\ncat .\u002Freport.json | xclip -selection clipboard\n# Then visit: https:\u002F\u002Fgooglechrome.github.io\u002Flighthouse\u002Fviewer\u002F\n```\n\n### Online Viewer\n\nUpload JSON reports to: **https:\u002F\u002Fgooglechrome.github.io\u002Flighthouse\u002Fviewer\u002F**\n\n- Drag and drop JSON files\n- Share reports as secret GitHub gists\n- Compare historical reports\n\n## Common Use Cases\n\n### Mobile Performance Audit\n\n```bash\nlighthouse https:\u002F\u002Fexample.com \\\n  --form-factor=mobile \\\n  --only-categories=performance \\\n  --preset=perf \\\n  --view\n```\n\n### Desktop Full Audit\n\n```bash\nlighthouse https:\u002F\u002Fexample.com \\\n  --preset=desktop \\\n  --view\n```\n\n### CI\u002FCD Integration\n\n```bash\n# Quiet mode for CI\nlighthouse https:\u002F\u002Fexample.com --quiet --chrome-flags=\"--headless --no-sandbox\"\n\n# JSON output for programmatic processing\nlighthouse https:\u002F\u002Fexample.com --output=json --quiet > report.json\n```\n\n### Batch Auditing\n\n```bash\n# Audit multiple URLs\nfor url in https:\u002F\u002Fexample.com https:\u002F\u002Fexample.com\u002Fabout; do\n  lighthouse \"$url\" --output=json --output-path=\".\u002Freports\u002F$(echo $url | sed 's\u002F[^a-zA-Z0-9]\u002F_\u002Fg').json\"\ndone\n```\n\n### Authenticated Pages\n\n```bash\n# Pass authentication cookies\nlighthouse https:\u002F\u002Fexample.com\u002Fdashboard \\\n  --extra-headers=\"{\\\"Cookie\\\":\\\"sessionid=abc123; auth_token=xyz\\\"}\"\n\n# Or use config file for complex auth\n```\n\n## Performance Budgets\n\nLighthouse doesn't enforce budgets natively, but you can combine with `lighthouse-ci`:\n\n```bash\n# Install lighthouse-ci\nnpm install -g @lhci\u002Fcli\n\n# Run with assertions\nlhci autorun --config=lighthouserc.js\n```\n\nExample `lighthouserc.js`:\n\n```javascript\nmodule.exports = {\n  ci: {\n    assert: {\n      assertions: {\n        'categories:performance': ['warn', {minScore: 0.9}],\n        'categories:accessibility': ['error', {minScore: 1}],\n        'first-contentful-paint': ['warn', {maxNumericValue: 2000}],\n      },\n    },\n  },\n};\n```\n\n## Troubleshooting\n\n### Chrome Won't Start\n\n```bash\n# Try headless mode\nlighthouse https:\u002F\u002Fexample.com --chrome-flags=\"--headless --no-sandbox --disable-gpu\"\n\n# Check Chrome version\nchrome --version  # Should be 66+\n\n# Specify Chrome path\nCHROME_PATH=\u002Fusr\u002Fbin\u002Fgoogle-chrome-stable lighthouse https:\u002F\u002Fexample.com\n```\n\n### Connection Issues\n\n```bash\n# Use specific port\nlighthouse https:\u002F\u002Fexample.com --port=9222\n\n# Allow more time for page load\nlighthouse https:\u002F\u002Fexample.com --max-wait-for-load=90000\n```\n\n### Large Trace Files\n\n```bash\n# Disable full page screenshot\nlighthouse https:\u002F\u002Fexample.com --disable-full-page-screenshot\n\n# Don't save assets\n# (don't use --save-assets)\n```\n\n## Key Metrics Reference\n\n| Metric | Target | Description |\n|--------|--------|-------------|\n| Performance Score | 90+ | Overall performance score (0-100) |\n| First Contentful Paint (FCP) | \u003C 1.8s | First text\u002Fimage painted |\n| Largest Contentful Paint (LCP) | \u003C 2.5s | Largest element painted |\n| Total Blocking Time (TBT) | \u003C 200ms | Main thread blocked time |\n| Cumulative Layout Shift (CLS) | \u003C 0.1 | Visual stability score |\n| Speed Index | \u003C 3.4s | Visual completeness speed |\n\n## Related Tools\n\n- **Lighthouse CI**: Continuous integration for Lighthouse\n- **Lighthouse Viewer**: Online report viewer\n- **Lighthouse CLI**: This tool (Node module also available)\n- **Chrome DevTools**: Built-in Lighthouse panel\n\n## Resources\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002FGoogleChrome\u002Flighthouse\n- **Documentation**: https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002F\n- **Scoring Guide**: https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002Fperformance\u002Fperformance-scoring\u002F\n- **Stack Overflow**: https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Flighthouse\n","# Google Lighthouse\n\nComprehensive reference for Google Lighthouse - an open-source, automated tool for improving the quality of web pages. It has audits for performance, accessibility, progressive web apps, SEO and more.\n\n**Source:** https:\u002F\u002Fgithub.com\u002FGoogleChrome\u002Flighthouse  \n**NPM Package:** https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Flighthouse  \n**Documentation:** https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002Foverview\u002F\n\n## Prerequisites\n\n### Requirements\n\n- **Node.js:** Version 22 (LTS) or later\n- **Chrome\u002FChromium:** Version 66.0 or later\n\n### Installation\n\n```bash\n# Global installation (recommended)\nnpm install -g lighthouse\n\n# Or use yarn\nyarn global add lighthouse\n\n# Verify installation\nlighthouse --version\n```\n\n### Chrome Setup\n\nLighthouse uses Chrome\u002FChromium. You can:\n- Use existing Chrome\u002FChrome Canary installation\n- Set custom Chrome binary via `CHROME_PATH` environment variable\n- Pass custom flags via `--chrome-flags`\n\n## Quick Start\n\n```bash\n# Basic audit - generates HTML report\nlighthouse https:\u002F\u002Fexample.com\n\n# View report immediately in browser\nlighthouse https:\u002F\u002Fexample.com --view\n\n# JSON output to stdout\nlighthouse https:\u002F\u002Fexample.com --output json\n\n# Save to specific path\nlighthouse https:\u002F\u002Fexample.com --output-path .\u002Freport.html\n```\n\n## CLI Options\n\n### Output Options\n\n```bash\nlighthouse \u003Curl> --output \u003Cformat> --output-path \u003Cpath>\n\n# Output formats (can use multiple)\n--output html          # HTML report (default)\n--output json          # JSON output\n--output csv           # CSV output\n\n# Examples\nlighthouse https:\u002F\u002Fexample.com --output json                    # JSON to stdout\nlighthouse https:\u002F\u002Fexample.com --output html --output-path .\u002Faudit.html\nlighthouse https:\u002F\u002Fexample.com --output json --output html      # Both formats\n```\n\n### Audit Categories\n\n```bash\n# Run specific categories only\nlighthouse https:\u002F\u002Fexample.com --only-categories=performance,accessibility\n\n# Available categories:\n# - performance\n# - accessibility\n# - best-practices\n# - seo\n# - pwa (Progressive Web App)\n\n# Skip specific audits\nlighthouse https:\u002F\u002Fexample.com --skip-audits=unused-javascript,offscreen-images\n\n# List all available audits\nlighthouse --list-all-audits\n```\n\n### Presets & Device Emulation\n\n```bash\n# Use built-in presets\nlighthouse https:\u002F\u002Fexample.com --preset=desktop    # Desktop preset\nlighthouse https:\u002F\u002Fexample.com --preset=perf       # Performance only\nlighthouse https:\u002F\u002Fexample.com --preset=experimental  # Experimental audits\n\n# Form factor\nlighthouse https:\u002F\u002Fexample.com --form-factor=mobile   # Mobile (default)\nlighthouse https:\u002F\u002Fexample.com --form-factor=desktop  # Desktop\n\n# Screen emulation\nlighthouse https:\u002F\u002Fexample.com --screenEmulation.mobile\nlighthouse https:\u002F\u002Fexample.com --screenEmulation.width=1280 --screenEmulation.height=720\nlighthouse https:\u002F\u002Fexample.com --screenEmulation.disabled  # Disable emulation\n```\n\n### Network & CPU Throttling\n\n```bash\n# Throttling methods\n--throttling-method=simulate    # Simulate throttling (default, fastest)\n--throttling-method=devtools    # Use DevTools throttling\n--throttling-method=provided    # No throttling\n\n# Custom throttling settings\n--throttling.rttMs=150                    # Network RTT\n--throttling.throughputKbps=1600          # Download speed\n--throttling.cpuSlowdownMultiplier=4      # CPU slowdown\n```\n\n### Chrome Configuration\n\n```bash\n# Custom Chrome path (via environment variable)\nCHROME_PATH=\u002Fpath\u002Fto\u002Fchrome lighthouse https:\u002F\u002Fexample.com\n\n# Chrome flags\nlighthouse https:\u002F\u002Fexample.com --chrome-flags=\"--headless --no-sandbox\"\nlighthouse https:\u002F\u002Fexample.com --chrome-flags=\"--window-size=412,660\"\nlighthouse https:\u002F\u002Fexample.com --chrome-flags=\"--disable-gpu --disable-dev-shm-usage\"\n\n# Debug protocol settings\n--port=9222                    # Use specific debugging port\n--hostname=localhost           # Custom hostname\n```\n\n### Advanced Options\n\n```bash\n# Max wait time for page load (milliseconds)\n--max-wait-for-load=60000\n\n# Save assets (trace and devtools log)\n--save-assets\n\n# Disable full page screenshot (reduces report size)\n--disable-full-page-screenshot\n\n# Disable storage reset (keep cache\u002Fcookies)\n--disable-storage-reset\n\n# Block URL patterns\n--blocked-url-patterns=\"*.png\" --blocked-url-patterns=\"*.jpg\"\n\n# Extra HTTP headers\n--extra-headers=\"{\\\"Cookie\\\":\\\"monster=blue\\\", \\\"Authorization\\\":\\\"Bearer token\\\"}\"\n\n# Locale\u002Flanguage for report\n--locale=en\n\n# Plugins\n--plugins=lighthouse-plugin-field-performance\n```\n\n## Lifecycle Modes\n\n### Gather Mode (Collect Artifacts)\n\n```bash\n# Collect artifacts and save to disk\nlighthouse https:\u002F\u002Fexample.com --gather-mode\n\n# Save to custom folder\nlighthouse https:\u002F\u002Fexample.com -G=.\u002Fartifacts\u002F\n\n# Collects: trace, devtools log, page artifacts\n```\n\n### Audit Mode (Process Saved Artifacts)\n\n```bash\n# Process previously saved artifacts\nlighthouse --audit-mode\n\n# Load from custom folder\nlighthouse -A=.\u002Fartifacts\u002F\n\n# Skips browser interaction, runs audits on saved data\n```\n\n### Combined Mode\n\n```bash\n# Normal run + save artifacts for later\nlighthouse https:\u002F\u002Fexample.com -GA\n\n# With custom folder\nlighthouse https:\u002F\u002Fexample.com -GA=.\u002Fmy-run\u002F\n```\n\n## Configuration File\n\nCreate `lighthouse-config.js`:\n\n```javascript\nmodule.exports = {\n  extends: 'lighthouse:default',\n  settings: {\n    formFactor: 'desktop',\n    throttling: {\n      rttMs: 40,\n      throughputKbps: 10240,\n      cpuSlowdownMultiplier: 1,\n    },\n    screenEmulation: {\n      mobile: false,\n      width: 1350,\n      height: 940,\n      deviceScaleFactor: 1,\n      disabled: false,\n    },\n    emulatedUserAgent: 'Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_15_7)',\n    onlyCategories: ['performance', 'accessibility', 'best-practices', 'seo'],\n  },\n};\n```\n\nUse it:\n\n```bash\nlighthouse https:\u002F\u002Fexample.com --config-path=.\u002Flighthouse-config.js\n```\n\n## Viewing Reports\n\n### HTML Reports\n\n```bash\n# Auto-open in browser\nlighthouse https:\u002F\u002Fexample.com --view\n\n# Open report manually\nopen .\u002Fexample.com_2024-01-01.report.html\n```\n\n### JSON Reports\n\n```bash\n# Generate JSON\nlighthouse https:\u002F\u002Fexample.com --output=json --output-path=.\u002Freport.json\n\n# View online at Lighthouse Viewer\ncat .\u002Freport.json | xclip -selection clipboard\n# Then visit: https:\u002F\u002Fgooglechrome.github.io\u002Flighthouse\u002Fviewer\u002F\n```\n\n### Online Viewer\n\nUpload JSON reports to: **https:\u002F\u002Fgooglechrome.github.io\u002Flighthouse\u002Fviewer\u002F**\n\n- Drag and drop JSON files\n- Share reports as secret GitHub gists\n- Compare historical reports\n\n## Common Use Cases\n\n### Mobile Performance Audit\n\n```bash\nlighthouse https:\u002F\u002Fexample.com \\\n  --form-factor=mobile \\\n  --only-categories=performance \\\n  --preset=perf \\\n  --view\n```\n\n### Desktop Full Audit\n\n```bash\nlighthouse https:\u002F\u002Fexample.com \\\n  --preset=desktop \\\n  --view\n```\n\n### CI\u002FCD Integration\n\n```bash\n# Quiet mode for CI\nlighthouse https:\u002F\u002Fexample.com --quiet --chrome-flags=\"--headless --no-sandbox\"\n\n# JSON output for programmatic processing\nlighthouse https:\u002F\u002Fexample.com --output=json --quiet > report.json\n```\n\n### Batch Auditing\n\n```bash\n# Audit multiple URLs\nfor url in https:\u002F\u002Fexample.com https:\u002F\u002Fexample.com\u002Fabout; do\n  lighthouse \"$url\" --output=json --output-path=\".\u002Freports\u002F$(echo $url | sed 's\u002F[^a-zA-Z0-9]\u002F_\u002Fg').json\"\ndone\n```\n\n### Authenticated Pages\n\n```bash\n# Pass authentication cookies\nlighthouse https:\u002F\u002Fexample.com\u002Fdashboard \\\n  --extra-headers=\"{\\\"Cookie\\\":\\\"sessionid=abc123; auth_token=xyz\\\"}\"\n\n# Or use config file for complex auth\n```\n\n## Performance Budgets\n\nLighthouse doesn't enforce budgets natively, but you can combine with `lighthouse-ci`:\n\n```bash\n# Install lighthouse-ci\nnpm install -g @lhci\u002Fcli\n\n# Run with assertions\nlhci autorun --config=lighthouserc.js\n```\n\nExample `lighthouserc.js`:\n\n```javascript\nmodule.exports = {\n  ci: {\n    assert: {\n      assertions: {\n        'categories:performance': ['warn', {minScore: 0.9}],\n        'categories:accessibility': ['error', {minScore: 1}],\n        'first-contentful-paint': ['warn', {maxNumericValue: 2000}],\n      },\n    },\n  },\n};\n```\n\n## Troubleshooting\n\n### Chrome Won't Start\n\n```bash\n# Try headless mode\nlighthouse https:\u002F\u002Fexample.com --chrome-flags=\"--headless --no-sandbox --disable-gpu\"\n\n# Check Chrome version\nchrome --version  # Should be 66+\n\n# Specify Chrome path\nCHROME_PATH=\u002Fusr\u002Fbin\u002Fgoogle-chrome-stable lighthouse https:\u002F\u002Fexample.com\n```\n\n### Connection Issues\n\n```bash\n# Use specific port\nlighthouse https:\u002F\u002Fexample.com --port=9222\n\n# Allow more time for page load\nlighthouse https:\u002F\u002Fexample.com --max-wait-for-load=90000\n```\n\n### Large Trace Files\n\n```bash\n# Disable full page screenshot\nlighthouse https:\u002F\u002Fexample.com --disable-full-page-screenshot\n\n# Don't save assets\n# (don't use --save-assets)\n```\n\n## Key Metrics Reference\n\n| Metric | Target | Description |\n|--------|--------|-------------|\n| Performance Score | 90+ | Overall performance score (0-100) |\n| First Contentful Paint (FCP) | \u003C 1.8s | First text\u002Fimage painted |\n| Largest Contentful Paint (LCP) | \u003C 2.5s | Largest element painted |\n| Total Blocking Time (TBT) | \u003C 200ms | Main thread blocked time |\n| Cumulative Layout Shift (CLS) | \u003C 0.1 | Visual stability score |\n| Speed Index | \u003C 3.4s | Visual completeness speed |\n\n## Related Tools\n\n- **Lighthouse CI**: Continuous integration for Lighthouse\n- **Lighthouse Viewer**: Online report viewer\n- **Lighthouse CLI**: This tool (Node module also available)\n- **Chrome DevTools**: Built-in Lighthouse panel\n\n## Resources\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002FGoogleChrome\u002Flighthouse\n- **Documentation**: https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002F\n- **Scoring Guide**: https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002Fperformance\u002Fperformance-scoring\u002F\n- **Stack Overflow**: https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Flighthouse\n",{"name":5,"description":7},"main","a73152352c0612252131e5cf84e91312a6cf17dc","seo\u002Flighthouse","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs","https:\u002F\u002Fgithub.com\u002FHenrique1601","https:\u002F\u002Fbezerraportifolio.netlify.app\u002F","Full Stack Developer | React, Next.js, TypeScript, Node.js & IA | Construindo produtos digitais e soluções SaaS","2026-11-15 02:56:04",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Henrique1601\u002FSkiilsToIAs --skill lighthouse",{"tool":38,"command":39},"bunx","bunx skills add Henrique1601\u002FSkiilsToIAs --skill lighthouse",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Henrique1601\u002FSkiilsToIAs --skill lighthouse","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fseo\u002Flighthouse\u002FSKILL.md",true,[],[47,54,61,69,76,83],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7E2ANBW9V6AVX5JXNCEAWF8","rag-architect-agent","Agente Arquiteto de RAG, Embeddings & Busca Vetorial. Especialista em design e implementação de pipelines de Retrieval-Augmented Generation de alta fidelidade: chunking semântico, modelagem pgvector no PostgreSQL (Neon\u002FSupabase), busca híbrida (cosseno + BM25), reranking, validação via TypeSafe AI e filosofia Ponytail (anti-overengineering).","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fcustom-agents\u002Frag-architect-agent\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7E29KKF8R02ZRGYE2MJM67G","rag-architecture-patterns","Padrões arquiteturais e implementação de pipelines RAG (Retrieval-Augmented Generation) de alta fidelidade para qualquer projeto ou sistema. Cobre chunking semântico, embeddings, busca híbrida (pgvector + BM25), reranking, validação via TypeSafe AI e filosofia Ponytail (anti-overengineering).","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fai-agents\u002Frag-architecture-patterns\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CWRA8E3BJ7CPY8N8EG28J1","skill-repair","Use this to fix and re-install agent skills that have failed installation.\nThis skill provides the necessary context and permissions to surgically update\nthe `manifest.json` after a fix has been applied.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fskill-repair\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CWR66FZP8FA47WVZ4Z2EXC","security-scan","Scan your Claude Code configuration (.claude\u002F directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Checks CLAUDE.md, settings.json, MCP servers, hooks, and agent definitions.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-scan\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7CWR0QPY58QPTR1P759TFNG","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-review\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7CWQXCE40XWT4FZ3VWZFGDP","security-bounty-hunter","Hunt for exploitable, bounty-worthy security issues in repositories. Focuses on remotely reachable vulnerabilities that qualify for real reports instead of noisy local-only findings.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-bounty-hunter\u002FSKILL.md",[],[]]