Performance

Optimize frontend Core Web Vitals (LCP, INP, CLS) and loading/rendering/network. Use when the UI feels slow, images/fonts/bundles need work, or during design audits that touch performance — phrases like "lemot", "optimize", "LCP", or "Core Web Vitals" without requiring a slash command.

9 stars 1 forksFrontend & Design Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add sukirman1901/frontend-expert

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sukirman1901/frontend-expert --skill performance
Manual install
git clone --depth 1 https://github.com/sukirman1901/frontend-expert.git /tmp/frontend-expert
mkdir -p ~/.claude/skills
cp -r /tmp/frontend-expert/skills/performance ~/.claude/skills/performance

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Web Performance

## Overview

Measure-first performance for user-facing UI. Hit Core Web Vitals targets; prefer compositor-friendly work and sensible loading.

## When to Use

- Performance regressions or budgets
- Deep `/design` audits
- Image/font/bundle optimization work
- User reports "slow", "lemot", "loading lama"

## Targets

| Metric | Target | Measures |
|--------|--------|----------|
| **LCP** | ≤ 2.5s | Largest visible content element render time |
| **INP** | ≤ 200ms | Interaction to visual response time |
| **CLS** | ≤ 0.1 | Unexpected layout shift score |

## Decision trees

### Image format decision

```
Is it a photo or complex image?
  YES → Is AVIF supported by your target browsers?
         YES → AVIF (smallest, best quality)
         NO  → WebP (wide support, good compression)
  NO  → Is it an icon or simple graphic?
         YES → SVG (scalable, tiny) or Reicon
         NO  → Is transparency needed?
               YES → WebP or PNG (WebP preferred)
               NO  → WebP or JPEG (WebP preferred)
```

### Font loading strategy

```
Is the font critical for LCP text?
  YES → Preload + font-display: swap
        <link rel="preload" as="font" href="/font.woff2" type="font/woff2" crossorigin>
  NO  → Is it a secondary/accent font?
        YES → font-display: swap (load async)
        NO  → Is it used only on specific pages?
              YES → Lazy load via JS / @font-face on that page only
              NO  → font-display: optional (may skip if slow)
Read the full skill on GitHub

Details

Skill name
performance
Path
skills/performance/SKILL.md
License
MIT
Repo updated
5 November 2026

FAQ

What does the Performance skill do?

Optimize frontend Core Web Vitals (LCP, INP, CLS) and loading/rendering/network. Use when the UI feels slow, images/fonts/bundles need work, or during design audits that touch performance — phrases like "lemot", "optimize", "LCP", or "Core Web Vitals" without requiring a slash command.

How do I install the Performance skill?

Claude Code plugin: /plugin marketplace add sukirman1901/frontend-expert. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Performance popular?

It lives in sukirman1901/frontend-expert, which has 9 GitHub stars and 1 forks.

Related skills

Accessibility

9

sukirman1901/frontend-expert

Enforce WCAG 2.2 AA by default (keyboard, ARIA, focus, contrast, semantics, target size, dragging alternatives, accessible authentication). Use for accessibility work, pre-ship UI checks, and as a light pass on every UI build or design review — including "a11y", "keyboard", "screen reader", or shipping user-facing changes.

Frontend & Design

Anti Slop Code

9

sukirman1901/frontend-expert

Detect and fix AI-generated frontend implementation slop: isolated helpers that ignore other modules, needless useEffect, type lies, empty wrappers, and boilerplate error handling that misses field edge cases. Trigger for “kode terasa AI”, “rapikan kode”, “dampak ke modul lain”, “edge case”, “error handling generik”, “too many useEffect”, or “over-engineered”. Visual slop stays on anti-slop-design; copy stays on content-design.

Software Development

Anti Slop Design

9

sukirman1901/frontend-expert

Detect and fix AI aesthetic anti-patterns (purple/indigo defaults, gradients, rounded-2xl everywhere, generic heroes, Lorem ipsum, shadow-heavy cards). Use whenever building, restyling, or reviewing visual UI quality — including "terlalu generik", "AI slop", "rapihin UI", or design audit requests — without requiring /design.

Frontend & Design

Polish

9

sukirman1901/frontend-expert

Polish micro-details that make UI feel better — optical alignment, tabular nums, text-wrap, interruptible transitions, press feedback, hit areas, no transition:all. Use when building/reviewing UI polish, "feels off", "rapihin detail", hover/press feedback, or after anti-slop-design. Structural layout, radius language, and WCAG conformance belong to other owners.

Frontend & Design

Motion Inspection

9

sukirman1901/frontend-expert

Inspect rendered UI motion frame by frame: start, mid, end, interrupt, and reduced-motion. Reverse-engineer unnamed animation into families/patterns from motion-families.md. Trigger for “inspeksi animasi”, “frame by frame”, “kenapa animasinya aneh”, “jelaskan transisi”, or reverse-engineer motion. Implementing new motion stays on motion; decorative spam stays on anti-slop-design.

Frontend & Design

Prototype

9

sukirman1901/frontend-expert

Render 2–3 distinct UI directions side by side and stress-test component states (loading, error, empty, disabled, overflow) before committing to one production layout. Trigger for “prototype”, “varian”, “side-by-side”, “bandingkan arah”, “tunjukkan 2 opsi”, or “cek semua state”. Text-only axes stay on design-direction; frame-by-frame motion is not this skill.

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.