webperf-loading
webperf-loading — a Claude Code skill from nucliweb/webperf-snippets
Features
- ✓Measure Core Web Vitals (LCP, CLS, INP)
- ✓Debug slow loading issues (TTFB, FCP)
- ✓Audit media elements (images, videos)
- ✓Automate with Claude Code agents
- ✓Access over 47 snippets online
Installation Guide
npx skills add nucliweb/webperf-snippetsInstalls directly from GitHub repository to ~/.claude/skills/.
Option 2: Install locally (project-specific)
git clone https://github.com/nucliweb/webperf-snippets.git
cd webperf-snippets
npm run install-skillsThis installs skills to .claude/skills/ in your project directory.
Option 3: Install globally (for contributors)
git clone https://github.com/nucliweb/webperf-snippets.git
cd webperf-snippets
npm run install-globalThis installs skills to ~/.claude/skills/ for use across any project.
Available Skills
| Skill | Snippets | Description |
| ------------------------- | -------- | ---------------------------------------------------------------- |
| webperf | 47 | Main entry point for all web performance analysis |
| webperf-core-web-vitals | 7 | LCP, CLS, INP measurements with detailed breakdowns |
| webperf-loading | 28 | TTFB, FCP, script/font analysis, resource hints, service workers |
| webperf-interaction | 8 | Long tasks, animation frames, scroll jank, INP debugging |
| webperf-media | 3 | Image/video audits, lazy loading validation, SVG analysis |
| webperf-resources | 1 | Network bandwidth, connection quality, adaptive loading |
Intelligent Workflows & Decision Trees
Skills include built-in workflows and decision trees that enable autonomous performance analysis:
Workflows - Predefined sequences for common scenarios:
Decision Trees - Conditional logic based on results:
Example interaction:
User: "Analyze loading performance"
Agent:
1. Runs TTFB.js → detects 750ms (slow)
2. Follows decision tree → runs TTFB-Sub-Parts.js
3. Identifies DNS + server time issues
4. Runs Service-Worker-Analysis.js
5. Provides consolidated report with specific fixesUsage
Skills activate automatically when matched:
Audit this page for Core Web Vitals
Analyze loading performance
Check for image optimization issues
Debug slow LCP
Why is my TTFB so high?Skills are compatible with Chrome DevTools MCP for automated browser-based performance auditing.
Supported agents: Claude Code, Cursor, OpenCode, Gemini CLI, VS Code extensions, and many more.