performance-audit

Analyze web codebases for bundle size, image, loading, and caching issues.

489|254|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/me2resh/apexyard --skill performance-audit-me2resh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-audit
Source: https://github.com/me2resh/apexyard/tree/main/marketplace/audit-pack/.claude/skills/performance-audit
Command: npx skills add https://github.com/me2resh/apexyard --skill performance-audit-me2resh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performance audit catches slow-loading frontend issues by inspecting the codebase for bundle size, image handling, lazy-loading, caching, and core web vitals drivers before you ship.

Core Features & Use Cases

  • Bundle & code-splitting analysis: Reviews build output (dist/build/.next/out) for total JS/CSS size, largest files, tree-shaking signals, source-map exclusions, and route/dynamic import splitting patterns.
  • Image optimization deep-dive: Flags large or unoptimized images by size and format, checks for WebP/AVIF usage, verifies lazy-loading for below-the-fold images, and ensures width/height attributes to reduce layout shift.
  • Loading, fonts, and caching checks: Detects render-blocking CSS/scripts, evaluates font loading strategy, and verifies caching headers/service worker configuration.
  • API performance sanity checks (when applicable): Looks for N+1 query risks, pagination presence, caching headers, and compression middleware.
  • Audit output + persistence: Produces a readiness verdict with an estimated LCP improvement and persists findings for audit-history trend rendering.

Quick Start

Run the performance audit for your target project path by invoking /performance-audit with the project-path argument after checking /launch-check for WARN or FAIL in the performance row.

Frequently Asked Questions about performance-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check bundle size and Core Web Vitals before launch?

A static performance audit reviews build output directories like dist or .next/out for total JS/CSS size, largest files, and tree-shaking signals. It detects route and dynamic import splitting patterns to pinpoint code bloat affecting Core Web Vitals.

What is the best way to find unoptimized images slowing down my web project?

Performance audits flag large or unoptimized images by size and format. They check for WebP/AVIF usage, verify lazy-loading for below-the-fold images, and ensure width/height attributes are present to reduce layout shift.

How do I detect render-blocking CSS and evaluate font loading strategy?

Performance audits detect render-blocking CSS and scripts, evaluate font loading strategy, and verify caching headers and service worker configuration to ensure optimal web performance.

Does the performance audit check API and backend query performance?

When applicable, the audit looks for N+1 query risks, pagination presence, caching headers, and compression middleware to perform API performance sanity checks alongside frontend bundle analysis.

Can I track Core Web Vitals improvement trends across multiple audits?

The audit persists findings via a shared audit-history library for trend rendering, allowing you to track readiness verdicts and estimated LCP improvements across multiple performance checks over time.

When should I run a static performance audit instead of using Lighthouse?

Run a static performance audit during launch readiness checks when runtime measurement without Lighthouse is required, especially when launch-check reports performance WARN or FAIL and you need codebase-level fixes.