Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .claude/skills/webperf-core-web-vitals/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-core-web-vitals
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion .claude/skills/webperf-interaction/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-interaction
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion .claude/skills/webperf-loading/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-loading
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion .claude/skills/webperf-media/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-media
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion .claude/skills/webperf-resources/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-resources
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion .claude/skills/webperf/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
2 changes: 0 additions & 2 deletions scripts/generate-skills.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ async function generateCategorySkill(category, catConfig) {
'---',
`name: ${catConfig.skill}`,
`description: ${catConfig.description}`,
'context: fork',
`license: ${SKILL_METADATA.license}`,
'metadata:',
...Object.entries(SKILL_METADATA.metadata).map(([k, v]) => ` ${k}: ${v}`),
Expand Down Expand Up @@ -532,7 +531,6 @@ function generateMetaSkill() {
'---',
'name: webperf',
`description: ${metaDesc}`,
'context: fork',
`license: ${SKILL_METADATA.license}`,
'metadata:',
...Object.entries(SKILL_METADATA.metadata).map(([k, v]) => ` ${k}: ${v}`),
Expand Down
10 changes: 10 additions & 0 deletions scripts/skill-guidance.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,13 @@ test('finds the generated guidance of every target', () => {
assert.equal(categoryGuides.length, 5 * GENERATED_DIRS.length)
assert.equal(routers.length, GENERATED_DIRS.length)
})

// A skill in a forked context runs in a subagent that does not get the conversation: it does not know
// the URL the user gave or the page the agent opened, and answered "no page to measure" in the MCP evals
// (npm run eval:mcp). The skills run in the conversation of the agent instead.
for (const file of files.filter((f) => f.endsWith('SKILL.md'))) {
test(`${rel(file)} runs in the conversation of the agent, not in a forked context`, () => {
const frontmatter = read(file).split('\n---')[0]
assert.doesNotMatch(frontmatter, /^context:\s*fork/m)
})
}
1 change: 0 additions & 1 deletion skills/webperf-core-web-vitals/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-core-web-vitals
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion skills/webperf-interaction/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-interaction
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion skills/webperf-loading/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-loading
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion skills/webperf-media/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-media
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion skills/webperf-resources/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf-resources
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
1 change: 0 additions & 1 deletion skills/webperf/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: webperf
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.
context: fork
license: MIT
metadata:
author: Joan Leon | @nucliweb
Expand Down
Loading