Skip to content

Commit 77d47e3

Browse files
committed
Update the number of scripts
1 parent 71ac357 commit 77d47e3

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A curated collection of JavaScript snippets to measure and debug Web Performance
44

55
[![CI](https://github.com/nucliweb/webperf-snippets/actions/workflows/ci.yml/badge.svg)](https://github.com/nucliweb/webperf-snippets/actions/workflows/ci.yml)
66
[![Release](https://img.shields.io/github/v/release/nucliweb/webperf-snippets)](https://github.com/nucliweb/webperf-snippets/releases)
7-
[![Snippets](https://img.shields.io/badge/snippets-47-0f766e)](https://webperf-snippets.nucliweb.net)
7+
[![Snippets](https://img.shields.io/badge/snippets-48-0f766e)](https://webperf-snippets.nucliweb.net)
88
[![License](https://img.shields.io/github/license/nucliweb/webperf-snippets)](./LICENSE)
99
[![Star History](https://img.shields.io/github/stars/nucliweb/webperf-snippets?style=social)](https://star-history.com/#nucliweb/webperf-snippets&Date)
1010

@@ -87,9 +87,9 @@ This installs skills to `~/.claude/skills/` for use across any project.
8787

8888
| Skill | Snippets | Description |
8989
| ------------------------- | -------- | ---------------------------------------------------------------- |
90-
| `webperf` | 47 | Main entry point for all web performance analysis |
90+
| `webperf` | 48 | Main entry point for all web performance analysis |
9191
| `webperf-core-web-vitals` | 7 | LCP, CLS, INP measurements with detailed breakdowns |
92-
| `webperf-loading` | 28 | TTFB, FCP, script/font analysis, resource hints, service workers |
92+
| `webperf-loading` | 29 | TTFB, FCP, script/font analysis, resource hints, service workers |
9393
| `webperf-interaction` | 8 | Long tasks, animation frames, scroll jank, INP debugging |
9494
| `webperf-media` | 3 | Image/video audits, lazy loading validation, SVG analysis |
9595
| `webperf-resources` | 1 | Network bandwidth, connection quality, adaptive loading |

SKILLS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A collection of [Agent Skills](https://agentskills.io/) for measuring and debugg
66

77
## Why WebPerf Skills?
88

9-
These skills transform 47 battle-tested JavaScript snippets into agent capabilities for any skills-compatible AI coding assistant:
9+
These skills transform 48 battle-tested JavaScript snippets into agent capabilities for any skills-compatible AI coding assistant:
1010

1111
- **Browser Console Integration**: Run performance measurements directly in Chrome DevTools
1212
- **Real-time Analysis**: Measure actual user experience on live pages
@@ -22,7 +22,7 @@ These skills transform 47 battle-tested JavaScript snippets into agent capabilit
2222
| ------------------------------------------------------- | ---------- | ------------------------------------------------------------ |
2323
| **[webperf](#webperf)** | Meta-skill | "Audit performance", "check web vitals", "analyze this page" |
2424
| **[webperf-core-web-vitals](#webperf-core-web-vitals)** | 7 | "Debug LCP", "check CLS", "measure INP" |
25-
| **[webperf-loading](#webperf-loading)** | 28 | "Analyze TTFB", "check render-blocking", "audit scripts" |
25+
| **[webperf-loading](#webperf-loading)** | 29 | "Analyze TTFB", "check render-blocking", "audit scripts" |
2626
| **[webperf-interaction](#webperf-interaction)** | 8 | "Debug jank", "long tasks", "animation frames" |
2727
| **[webperf-media](#webperf-media)** | 3 | "Audit images", "optimize video", "lazy loading" |
2828
| **[webperf-resources](#webperf-resources)** | 1 | "Check bandwidth", "network quality" |
@@ -105,7 +105,7 @@ The main entry point that helps identify the right skill for your performance qu
105105
**What it does:**
106106

107107
- Routes to the appropriate specialized skill
108-
- Provides overview of all 47 available snippets
108+
- Provides overview of all 48 available snippets
109109
- Suggests which skill to use based on your question
110110

111111
### webperf-core-web-vitals

scripts/check-consistency.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function verifyPublishedCounts(errors) {
203203
ok:
204204
skillsDoc.includes(`These skills transform ${total} battle-tested JavaScript snippets`) &&
205205
skillsDoc.includes(`| **[webperf-loading](#webperf-loading)** | ${categoryCounts.Loading}`) &&
206-
skillsDoc.includes('Provides overview of all 47 available snippets'),
206+
skillsDoc.includes(`Provides overview of all ${total} available snippets`),
207207
},
208208
{
209209
file: 'skills/webperf/SKILL.md',

skills/webperf/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ metadata:
1313

1414
# WebPerf Snippets Toolkit
1515

16-
A collection of 47 JavaScript snippets for measuring and debugging web performance in Chrome DevTools. Each snippet runs in the browser console and outputs structured, color-coded results.
16+
A collection of 48 JavaScript snippets for measuring and debugging web performance in Chrome DevTools. Each snippet runs in the browser console and outputs structured, color-coded results.
1717

1818
## Quick Reference
1919

2020
| Skill | Snippets | Trigger phrases |
2121
|-------|----------|-----------------|
2222
| webperf-core-web-vitals | 7 | "debug LCP", "slow LCP", "CLS", "layout shifts", "INP", "interaction latency", "responsiveness" |
23-
| webperf-loading | 28 | "TTFB", "slow server", "FCP", "render blocking", "font loading", "script loading", "resource hints", "service worker" |
23+
| webperf-loading | 29 | "TTFB", "slow server", "FCP", "render blocking", "font loading", "script loading", "resource hints", "service worker" |
2424
| webperf-interaction | 8 | "jank", "scroll performance", "long tasks", "animation frames", "INP debug" |
2525
| webperf-media | 3 | "image audit", "lazy loading", "image optimization", "video audit" |
2626
| webperf-resources | 1 | "network quality", "bandwidth", "connection type", "save-data" |

0 commit comments

Comments
 (0)