Skip to content
Back to skills

683 Performance Core Web Vitals E470e51b

ASecurity

| Metric | Target | Description | |--------|--------|-------------| | LCP | < 2.5s | Largest Contentful Paint | | CLS | < 0.1 | Cumulative Layout Shift | | INP | < 200ms | Interaction to Next Paint |

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
devopsjavascriptgojavabashtestinggitperformance

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 683-performance-core-web-vitals_e470e51b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 683 Performance Core Web Vitals E470e51b?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 683 Performance Core Web Vitals E470e51b
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-683-performance-core-web-vitals-e470e51b/badge)](https://www.skillsdirectory.com/skills/tools-only-683-performance-core-web-vitals-e470e51b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Performance & Core Web Vitals Testing

## Core Web Vitals (Google Ranking Factor)

| Metric | Target | Description |
|--------|--------|-------------|
| LCP | < 2.5s | Largest Contentful Paint |
| CLS | < 0.1 | Cumulative Layout Shift |
| INP | < 200ms | Interaction to Next Paint |

## Lighthouse CI Setup

```json
{
  "ci": {
    "collect": { "url": ["https://example.com"], "numberOfRuns": 3 },
    "assert": {
      "preset": "lighthouse:recommended",
      "assertions": {
        "categories:performance": ["error", { "minScore": 0.9 }],
        "largest-contentful-paint": ["warn", { "maxNumericValue": 2500 }]
      }
    }
  }
}
```

## GitHub Actions

```yaml
- run: npm install -g @lhci/cli@*
- run: lhci autorun
```

## Playwright Performance Test

```javascript
test('measure Core Web Vitals', async ({ page }) => {
  await page.goto('https://example.com');
  const metrics = await page.evaluate(() => ({
    lcp: performance.getEntriesByType('largest-contentful-paint')[0]?.startTime,
  }));
  expect(metrics.lcp).toBeLessThan(2500);
});
```

## Quick Performance Checks

```bash
npx lighthouse https://example.com --output=json
npx bundlesize                    # Bundle size check
npx webpack-bundle-analyzer dist/stats.json
```

## Optimization Checklist

### LCP
- [ ] Lazy load below-fold images
- [ ] Preload critical resources
- [ ] Use CDN

### CLS
- [ ] Reserve space for images (width/height)
- [ ] Font loading strategy (font-display: swap)

### INP
- [ ] Break long JavaScript tasks
- [ ] Code splitting

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.