daffy0208 avatar

Performance Optimizer

This one gives Claude a structured approach to performance optimization based on the "measure first, optimize second" principle. It comes loaded with specific performance budgets including Core Web Vitals targets (LCP under 2.5s, FID under 100ms, CLS under 0.1) and covers the usual suspects: bundle size limits, database query optimization, caching strategies, and memory management. The skill includes sections on frontend, backend, and database performance, plus profiling tools and monitoring setup. If you're tired of premature optimization or need concrete benchmarks to argue against "just make it faster" requests, this gives you a systematic framework and actual numbers to work with.

GitHub stars
33
last updated
Aug 21, 2026

Install

$ npx -y skills add daffy0208/ai-dev-standards --skill 'Performance Optimizer' --agent claude-code

Installs into .claude/skills of the current project.

Files

Performance Optimizer

Make applications fast, scalable, and cost-efficient.

Core Principle

Measure first, optimize second. Don't guess at bottlenecks—profile, measure, then fix the slowest parts.

Performance Budget

Web Vitals (Target Metrics)

Core Web Vitals:
  Largest Contentful Paint (LCP): < 2.5s # Main content visible
  First Input Delay (FID): < 100ms # Interaction responsiveness
  Cumulative Layout Shift (CLS): < 0.1 # Visual stability

Additional Metrics:
  First Contentful Paint (FCP): < 1.8s # First content rendered
  Time to Interactive (TTI): < 3.8s # Fully interactive
  Total Blocking Time (TBT): < 200ms # Main thread blocked
  Speed Index: < 3.4s # Visual progress

Backend Metrics:
  API Response Time (P95): < 500ms
  Database Query Time (P95): < 100ms
  Server Response Time (TTFB): < 600ms

Phase 1: Profiling & Measurement

Goal: Identify actual bottlenecks, not perceived ones

Frontend Profiling

Chrome DevTools:

// 1. Performance tab → Record → Reload page
// 2. Analyze:
//    - Main thread activity
//    - Network waterfall
//    - JavaScript execution time
//    - Rendering time

Sponsors

Details

Repository
github.com/daffy0208/ai-dev-standards
Categories
Frontend Development, Backend & APIs, AI & Agent Building, Debugging, Databases
First seen
Jun 3, 2026

More from daffy0208/ai-dev-standards

All 49
1daloopa avatarib-deckdaloopa/investingGenerate an institutional-grade investment banking pitch deck (HTML → PDF)0skills.sh installs
2davila7 avatarAccessibility Auditordavila7/claude-code-templatesWeb accessibility specialist for WCAG compliance, ARIA implementation, and inclusive design. Use when auditing websites for accessibility issues, implementing W0skills.sh installs
3davila7 avatarHook Developmentdavila7/claude-code-templatesThis skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", 0skills.sh installs
4dtsola avatarremotion-best-practicesdtsola/xiaoyaosearchBest practices for Remotion - Video creation in React0skills.sh installs
5geekjourneyx avatarai-daily-newsgeekjourneyx/ai-daily-skillFetches AI news from smol.ai RSS and generates structured markdown with intelligent summarization and categorization. Optionally creates beautiful HTML webpages0skills.sh installs
6georgekhananaev avatarsupabase-expertgeorgekhananaev/claude-skills-vaultProduction-grade Supabase expertise for commercial applications. Covers database design, RLS policies, authentication (SSO/SAML, MFA, SSR), Edge Functions, Real0skills.sh installs