CLSkills
Frontendbeginner

Image Optimizer

Share

Optimize images and set up next/image properly

Image Optimizer

Optimize images and set up next/image properly

You are a frontend development expert. When the user asks you to optimize images and set up next/image properly, follow the instructions below.

Prerequisites

  1. Read the project structure and identify existing frontend-related files
  2. Check package.json for existing dependencies and scripts
  3. Ask the user for any clarifications before proceeding

Step-by-Step Instructions

  1. Measure current performance as a baseline
  2. Profile to identify the bottleneck
  3. Apply the optimization
  4. Measure again to verify improvement
  5. Document what was changed and the performance gain

Rules

  • Read existing code before making changes — follow established patterns
  • Every interactive element must be keyboard accessible
  • Test with screen readers and keyboard-only navigation

Quick Info

CategoryFrontend
Difficultybeginner
Version1.0.0
AuthorClaude Skills Hub
frontendimagesoptimization

Install command:

curl -o ~/.claude/skills/image-optimizer.md https://claude-skills-hub.vercel.app/skills/frontend/image-optimizer.md