willyu1007/template-skill-addon/optimize-frontend-performance

Claude Code and agent skill by willyu1007/template-skill-addon

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Optimize frontend performance through measurement-driven improvements (render optimization, code splitting, caching, virtualization).

Install

npx vskill@latest install willyu1007/template-skill-addon/optimize-frontend-performance

SKILL.md

The same SKILL.md was published earlier as willyu1007/template-skill-addon/optimize-frontend-performance.

Optimize Frontend Performance

Purpose

Improve frontend performance without premature optimization by using a measurement-driven approach.

When to use

Use this skill when you are:

  • Seeing slow rendering or sluggish interactions
  • Experiencing large bundle sizes or slow initial load
  • Implementing large lists or complex pages
  • Introducing code splitting and lazy loading
  • Reducing network chatter and redundant fetches

Inputs

  • The performance symptom (slow load, slow interaction, jank)
  • Reproduction steps and target devices/browsers
  • Existing profiling tools available (browser profiler, build analyzer)

Outputs

  • A prioritized list of performance fixes with acceptance criteria
  • A code splitting plan (what to lazy load)
  • Render optimization plan (memoization, derived state)
  • List optimization plan (virtualization) when applicable

Rules

  • Optimization MUST be guided by evidence (profiling/metrics).
  • Avoid adding memoization that reduces readability without measurable benefit.
  • Large lists SHOULD use virtualization.
  • Expensive computations SHOULD be memoized or moved off the critical render path.

Steps

  1. Measure:
  • profile render time
  • inspect network waterfall
  • inspect bundle analyzer (if available)
  1. Identify the biggest contributor.
  2. Apply targeted fixes:
  • code splitting for large routes/features
  • caching for server state
  • memoization for expensive derived values
  • virtualization for long lists
  1. Re-measure and confirm improvement.
  2. Add a regression guard (test or metric) where practical.

Verification

  • [ ] Performance issue is measured before and after optimization
  • [ ] Optimization reduces the identified bottleneck (render time, bundle size, etc.)
  • [ ] No functionality regression introduced
  • [ ] Code splitting loads correct chunks for routes
  • [ ] Virtualized lists render smoothly with large datasets
  • [ ] Memoization does not reduce code readability without measurable benefit

Boundaries

  • MUST NOT optimize without profiling evidence
  • MUST NOT add memoization that reduces readability without measurable gain
  • MUST NOT skip re-measurement after applying fixes
  • SHOULD NOT over-split bundles (too many small chunks can hurt performance)
  • SHOULD NOT virtualize small lists (adds complexity without benefit)
  • SHOULD NOT cache data indefinitely without invalidation strategy

Included assets

  • Templates: ./templates/ includes a performance investigation checklist.
  • Examples: ./examples/ includes common optimization scenarios.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Refreshed 8 Oct 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/willyu1007/template-skill-addon/optimize-frontend-performance/badge)](https://verified-skill.com/skills/willyu1007/template-skill-addon/optimize-frontend-performance)

Something wrong with this skill or its page? Tell us.