Skip to content
davila7 avatar

Performance Profiling

Structured web performance profiling workflow that baselines, isolates bottlenecks, and validates each fix against Core Web Vitals.

CCM score
55 of 100
skills.sh installs
350
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Core Web Vitals targets for LCP, INP, and CLS, plus a four-step baseline, identify, fix, and validate loop
  • Includes decision tables for bundle analysis, Performance and Memory tab patterns, common symptom causes, and quick-win priorities
  • Ships a scripts/lighthouse_audit.py runner that audits a given URL with Lighthouse
  • Designed for frontend developers who want measurement-first optimization across local, CI/CD, and real-user monitoring stages

Install

$ npx -y skills add davila7/claude-code-templates --skill performance-profiling -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Performance Profiling

Measure, analyze, optimize - in that order.

πŸ”§ Runtime Scripts

Execute these for automated profiling:

ScriptPurposeUsage
scripts/lighthouse_audit.pyLighthouse performance auditpython scripts/lighthouse_audit.py https://example.com

1. Core Web Vitals

Targets

MetricGoodPoorMeasures
LCP< 2.5s> 4.0sLoading
INP< 200ms> 500msInteractivity
CLS< 0.1> 0.25Stability

When to Measure

StageTool
DevelopmentLocal Lighthouse
CI/CDLighthouse CI
ProductionRUM (Real User Monitoring)

2. Profiling Workflow

The 4-Step Process

1. BASELINE β†’ Measure current state
2. IDENTIFY β†’ Find the bottleneck
3. FIX β†’ Make targeted change
4. VALIDATE β†’ Confirm improvement

Profiling Tool Selection

ProblemTool
Page loadLighthouse
Bundle sizeBundle analyzer
RuntimeDevTools Performance
MemoryDevTools Memory
NetworkDevTools Network

3. Bundle Analysis

What to Look For

Details

Repository
github.com/davila7/claude-code-templates
Categories
Frontend & UI Code, Debugging
First seen
Jun 3, 2026

Questions

What does the performance-profiling skill do?

performance-profiling guides an agent through measuring, analyzing and optimizing web performance. It covers Core Web Vitals targets, a baseline-identify-fix-validate workflow, bundle analysis, and runtime and memory profiling in DevTools.

How do I install performance-profiling?

Run npx -y skills add davila7/claude-code-templates --skill performance-profiling -y in your project. Once installed, performance-profiling lets the agent read files and run Bash commands to profile a page.

Which tools does performance-profiling need?

performance-profiling is allowed to use Read, Glob, Grep and Bash. It also ships a runtime script, scripts/lighthouse_audit.py, that runs a Lighthouse audit on a URL you pass to it.

Where does performance-profiling sit in its category?

performance-profiling is listed in the Frontend and UI Code category on Claude Marketplaces. It focuses on profiling methodology and Core Web Vitals rather than React or UI component patterns.

More from davila7/claude-code-templates

All 398

Similar to Performance Profiling

More Frontend & UI Code