Skip to content

Commit 538196a

Browse files
committed
feat: add context: fork to all webperf skills
Skills now run in isolated subagents, keeping the main context clean. Bumps version to 1.1.0.
1 parent 3efbe57 commit 538196a

File tree

14 files changed

+27
-13
lines changed

14 files changed

+27
-13
lines changed

.claude/skills/webperf-core-web-vitals/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
name: webperf-core-web-vitals
33
description: Intelligent Core Web Vitals analysis with automated workflows and decision trees. Measures LCP, CLS, INP with guided debugging that automatically determines follow-up analysis based on results. Includes workflows for LCP deep dive (5 phases), CLS investigation (loading vs interaction), INP debugging (latency breakdown + attribution), and cross-skill integration with loading, interaction, and media skills. Use when the user asks about Core Web Vitals, LCP optimization, layout shifts, or interaction responsiveness. Compatible with Chrome DevTools MCP.
4+
context: fork
45
license: MIT
56
metadata:
67
author: Joan Leon | @nucliweb
7-
version: 1.0.0
8+
version: 1.1.0
89
mcp-server: chrome-devtools
910
category: web-performance
1011
repository: https://github.com/nucliweb/webperf-snippets

.claude/skills/webperf-interaction/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
name: webperf-interaction
33
description: Intelligent interaction performance analysis with automated workflows for INP debugging, scroll jank investigation, and main thread blocking. Includes decision trees that automatically run script attribution when long frames detected, break down input latency phases, and correlate layout shifts with interactions. Features workflows for complete interaction audit, third-party script impact analysis, and animation performance debugging. Cross-skill integration with Core Web Vitals (INP/CLS correlation) and Loading (script execution analysis). Use when the user asks about slow interactions, janky scrolling, unresponsive pages, or INP optimization. Compatible with Chrome DevTools MCP.
4+
context: fork
45
license: MIT
56
metadata:
67
author: Joan Leon | @nucliweb
7-
version: 1.0.0
8+
version: 1.1.0
89
mcp-server: chrome-devtools
910
category: web-performance
1011
repository: https://github.com/nucliweb/webperf-snippets

.claude/skills/webperf-loading/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
name: webperf-loading
33
description: Intelligent loading performance analysis with automated workflows for TTFB investigation (DNS/connection/server breakdown), render-blocking detection, script performance deep dive (first vs third-party attribution), font optimization, and resource hints validation. Includes decision trees that automatically analyze TTFB sub-parts when slow, detect script loading anti-patterns (async/defer/preload conflicts), identify render-blocking resources, and validate resource hints usage. Features workflows for complete loading audit (6 phases), backend performance investigation, and priority optimization. Cross-skill integration with Core Web Vitals (LCP resource loading), Interaction (script execution blocking), and Media (lazy loading strategy). Use when the user asks about TTFB, FCP, render-blocking, slow loading, font performance, script optimization, or resource hints. Compatible with Chrome DevTools MCP.
4+
context: fork
45
license: MIT
56
metadata:
67
author: Joan Leon | @nucliweb
7-
version: 1.0.0
8+
version: 1.1.0
89
mcp-server: chrome-devtools
910
category: web-performance
1011
repository: https://github.com/nucliweb/webperf-snippets

.claude/skills/webperf-media/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
name: webperf-media
33
description: Intelligent media optimization with automated workflows for images, videos, and SVGs. Includes decision trees that detect LCP images (triggers format/lazy-loading/priority analysis), identify layout shift risks (missing dimensions), and flag lazy loading issues (above-fold lazy or below-fold eager). Features workflows for complete media audit, LCP image investigation, video performance (poster optimization), and SVG embedded bitmap detection. Cross-skill integration with Core Web Vitals (LCP/CLS impact) and Loading (priority hints, resource preloading). Provides performance budgets and format recommendations based on content type. Use when the user asks about image optimization, LCP is an image/video, layout shifts from media, or media loading strategy. Compatible with Chrome DevTools MCP.
4+
context: fork
45
license: MIT
56
metadata:
67
author: Joan Leon | @nucliweb
7-
version: 1.0.0
8+
version: 1.1.0
89
mcp-server: chrome-devtools
910
category: web-performance
1011
repository: https://github.com/nucliweb/webperf-snippets

.claude/skills/webperf-resources/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
name: webperf-resources
33
description: Intelligent network quality analysis with adaptive loading strategies. Detects connection type (2g/3g/4g), bandwidth, RTT, and save-data mode, then automatically triggers appropriate optimization workflows. Includes decision trees that recommend image compression for slow connections, critical CSS inlining for high RTT, and save-data optimizations (disable autoplay, reduce quality). Features connection-aware performance budgets (500KB for 2g, 1.5MB for 3g, 3MB for 4g+) and adaptive loading implementation guides. Cross-skill integration with Loading (TTFB impact), Media (responsive images), and Core Web Vitals (connection impact on LCP/INP). Use when the user asks about slow connections, mobile optimization, save-data support, or adaptive loading strategies. Compatible with Chrome DevTools MCP.
4+
context: fork
45
license: MIT
56
metadata:
67
author: Joan Leon | @nucliweb
7-
version: 1.0.0
8+
version: 1.1.0
89
mcp-server: chrome-devtools
910
category: web-performance
1011
repository: https://github.com/nucliweb/webperf-snippets

.claude/skills/webperf/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
name: webperf
33
description: Web performance measurement and debugging toolkit. Use when the user asks about web performance, wants to audit a page, or says "analyze performance", "debug lcp", "check ttfb", "measure core web vitals", "audit images", or similar.
4+
context: fork
45
license: MIT
56
metadata:
67
author: Joan Leon | @nucliweb
7-
version: 1.0.0
8+
version: 1.1.0
89
mcp-server: chrome-devtools
910
category: web-performance
1011
repository: https://github.com/nucliweb/webperf-snippets

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webperf-snippets",
33
"private": true,
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"description": "Web Performance Snippets",
66
"scripts": {
77
"dev": "next dev",

scripts/generate-skills.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ async function generateCategorySkill(category, catConfig) {
278278
lines.push('---')
279279
lines.push(`name: ${catConfig.skill}`)
280280
lines.push(`description: ${catConfig.description}`)
281+
lines.push('context: fork')
281282
lines.push(`license: ${SKILL_METADATA.license}`)
282283
lines.push('metadata:')
283284
for (const [key, value] of Object.entries(SKILL_METADATA.metadata)) {
@@ -342,6 +343,7 @@ function generateMetaSkill() {
342343
lines.push(
343344
'description: Web performance measurement and debugging toolkit. Use when the user asks about web performance, wants to audit a page, or says "analyze performance", "debug lcp", "check ttfb", "measure core web vitals", "audit images", or similar.'
344345
)
346+
lines.push('context: fork')
345347
lines.push(`license: ${SKILL_METADATA.license}`)
346348
lines.push('metadata:')
347349
for (const [key, value] of Object.entries(SKILL_METADATA.metadata)) {

skills/webperf-core-web-vitals/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
name: webperf-core-web-vitals
33
description: Intelligent Core Web Vitals analysis with automated workflows and decision trees. Measures LCP, CLS, INP with guided debugging that automatically determines follow-up analysis based on results. Includes workflows for LCP deep dive (5 phases), CLS investigation (loading vs interaction), INP debugging (latency breakdown + attribution), and cross-skill integration with loading, interaction, and media skills. Use when the user asks about Core Web Vitals, LCP optimization, layout shifts, or interaction responsiveness. Compatible with Chrome DevTools MCP.
4+
context: fork
45
license: MIT
56
metadata:
67
author: Joan Leon | @nucliweb
7-
version: 1.0.0
8+
version: 1.1.0
89
mcp-server: chrome-devtools
910
category: web-performance
1011
repository: https://github.com/nucliweb/webperf-snippets

skills/webperf-interaction/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
name: webperf-interaction
33
description: Intelligent interaction performance analysis with automated workflows for INP debugging, scroll jank investigation, and main thread blocking. Includes decision trees that automatically run script attribution when long frames detected, break down input latency phases, and correlate layout shifts with interactions. Features workflows for complete interaction audit, third-party script impact analysis, and animation performance debugging. Cross-skill integration with Core Web Vitals (INP/CLS correlation) and Loading (script execution analysis). Use when the user asks about slow interactions, janky scrolling, unresponsive pages, or INP optimization. Compatible with Chrome DevTools MCP.
4+
context: fork
45
license: MIT
56
metadata:
67
author: Joan Leon | @nucliweb
7-
version: 1.0.0
8+
version: 1.1.0
89
mcp-server: chrome-devtools
910
category: web-performance
1011
repository: https://github.com/nucliweb/webperf-snippets

0 commit comments

Comments
 (0)