web-performance-checklist

web-performance-checklist is a skill for Claude Code from yuri-semenenko/ai-engineering-workspace. It costs 82 tokens per session (2,002 once invoked), scanned A, original, MIT.

A checklist for finding and improving slow websites and web applications. It covers Core Web Vitals, which measure loading speed, interaction responsiveness, and layout stability, along with frontend and backend causes.

In plain words
What is it for?
Use it to diagnose slow pages or interactions, set performance budgets, and review improvements to JavaScript, CSS, images, rendering, databases, APIs, and caching.
Why use it?
It replaces guesses such as “it is fast on my machine” with measurements under realistic network and device conditions. It helps identify whether the delay comes from code, images, fonts, queries, APIs, caching, or infrastructure.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to diagnose slow pages or interactions, set performance budgets, and review improvements to JavaScript, CSS, images, rendering, databases, APIs, and caching.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yuri-semenenko/ai-engineering-workspace/web-performance-checklist
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yuri-semenenko/ai-engineering-workspace --skill web-performance-checklist
Clone the repo
git clone --depth 1 https://github.com/yuri-semenenko/ai-engineering-workspace

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-performance-checklist

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/web-performance-checklist/github.svg)](https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/web-performance-checklist)
Your own site
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/web-performance-checklist"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/web-performance-checklist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-performance-checklist

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/web-performance-checklist"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/web-performance-checklist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,002 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.02002
Opus 5 $0.00041 $0.01001
Sonnet 5 $0.00016 $0.00400
Haiku 4.5 $0.00008 $0.00200

Measured 9d ago against content hash 499f1e970bbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

web-performance-checklist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude-code/.claude/skills/web-performance-checklist/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Performance Checklist

A concrete checklist for diagnosing and improving web performance. Measure before and after — optimize against field data, not hunches.

Rationalizations (read first)

Pre-written rebuttals to the excuses that precede a skipped measurement. If you catch yourself thinking the left column, the right column is the answer.

Rationalization Rebuttal
"It's fast on my machine." Your machine isn't the p75 user. Check field data (CrUX/RUM) and throttle to mid-tier Android.
"I'll add the index later." An unindexed query degrades with data growth — later is an incident, not a task.
"Memoize everything to be safe." useMemo/useCallback cost too. Without a profile they add overhead, not speed.
"The bundle's only a bit bigger." Bloat compounds. Read the analyzer, not your gut — name the KB before adding the dep.
"It looks instant locally." Local has no network or CPU throttle. Unverified under realistic conditions = unverified.

Core Web Vitals targets

Metric Good Needs improvement Poor
LCP (Largest Contentful Paint) ≤ 2.5s ≤ 4.0s > 4.0s
INP (Interaction to Next Paint) ≤ 200ms ≤ 500ms > 500ms
CLS (Cumulative Layout Shift) ≤ 0.1 ≤ 0.25 > 0.25

TTFB diagnosis

When TTFB is too high (> 800ms), check each component in the Network panel:

  • Slow DNS → add <link rel="dns-prefetch"> or preconnect for known origins.
  • Slow TCP/TLS handshake → enable HTTP/2, consider edge deployment, check keep-alive.
  • Slow server processing → profile the backend, find slow queries, add caching.

Frontend

Images

  • Modern formats (WebP, AVIF).
  • Responsive sizing (srcset + sizes).
  • Explicit width/height on <img> and <source> (prevents CLS).
  • Below-the-fold images use loading="lazy" and decoding="async".
  • Hero/LCP images use fetchpriority="high" and are not lazy-loaded.

JavaScript

  • Initial bundle < 200 KB gzipped.
  • Code splitting via dynamic import() for routes and heavy features.
  • Tree shaking enabled (dependency ships ESM, marked sideEffects: false).
  • No render-blocking JS in <head> (use defer/async).
  • Heavy computation offloaded to Web Workers where applicable.
  • React.memo() on expensive components that re-render with identical props.
  • useMemo()/useCallback() only where profiling shows real benefit.
  • Long tasks (> 50ms) broken up — the main lever for INP.
  • yieldToMain inside long loops so input can run between iterations.
  • Modern scheduling where available: scheduler.yield() (preferred), scheduler.postTask() with priorities, isInputPending().
  • requestIdleCallback for deferrable work (analytics, prefetch, cache warming).
  • Non-critical work moved out of event handlers (analytics, logging) so it doesn't delay interaction response.
  • Third-party scripts async/defer, size-checked, facaded if heavy (chat widgets, embeds).

Read the full file on GitHub · 164 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 164 lines · 82 tokens per session scan A 499f1e970bbd

Subscribe to this mod's changes

web-performance-checklist is a skill published in the GitHub repository yuri-semenenko/ai-engineering-workspace (1 stars, last pushed 8d ago), licensed MIT. It adds 82 tokens to every session and 2,002 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ui-ux-design

Create production-grade frontend interfaces with strong UX and visual craft. Use when building web components, pages, dashboards, forms, landing pages, modals, or any UI. Use when user says 'build a form', 'create a dashboard', 'design a component', 'make a landing page', or asks for UI/UX work. Use even when the user…

arvindand/agent-skills · 98 tokens

frontend-design

Use this skill when building UI components, designing frontend architecture, implementing styling systems, optimizing performance, ensuring accessibility, or creating production-grade interfaces. Trigger on keywords: frontend, component, UI, styling, React, Next.js, Angular, Tailwind, CSS, responsive, accessibility…

jamestorrevillas/dev-skills · 66 tokens

web-artifacts-builder

Use this skill when building multi-component web applications, interactive dashboards, complex React apps with state management, or any web artifact that requires routing, multiple views, or sophisticated UI interactions. Trigger on keywords: build a web app, dashboard, multi-page, React app, interactive tool, web…

jamestorrevillas/dev-skills · 72 tokens

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

screenshot-studio

Regenerate the Pisper product screenshots under docs/shots/ against the current UI. Starts an isolated dev instance, seeds fictional demo data through the real runtime APIs, captures every referenced page at the exact 2558x1380 asset size, and replaces the files. Use only when the user asks to refresh product…

ling-kong-ran/pisper · 80 tokens

css-debug

Use this skill to diagnose CSS and frontend layout issues such as positioning, overflow clipping, Tailwind class conflicts, z-index stacking, and React rendering visibility problems.

majiayu000/spellbook · 35 tokens