·image-compression
*

image-compression

Client-side image compression before upload using Squoosh with Canvas fallback and server-side Sharp validation. Use for web apps needing max width 1920px, max size 512KB, transparent UX, and consistent compression stats.

19Installs·0Trend·@peterbamuhigire

Installation

$npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill image-compression

How to Install image-compression

Quickly install image-compression AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill image-compression
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: peterbamuhigire/skills-web-dev.

SKILL.md

View raw

Seamless image compression prior to upload with a hybrid approach:

Defaults: max width $1920$px, max size $512$ KB, quality $75$ (adjust down to hit size).

✅ Web apps that upload user images and must reduce bandwidth ✅ Need transparent UX (no user action) ✅ Want modern codecs but must support older browsers

Client-side image compression before upload using Squoosh with Canvas fallback and server-side Sharp validation. Use for web apps needing max width 1920px, max size 512KB, transparent UX, and consistent compression stats. Source: peterbamuhigire/skills-web-dev.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill image-compression
Category
*Creative Media
Verified
First Seen
2026-02-21
Updated
2026-03-10

Browse more skills from peterbamuhigire/skills-web-dev

Quick answers

What is image-compression?

Client-side image compression before upload using Squoosh with Canvas fallback and server-side Sharp validation. Use for web apps needing max width 1920px, max size 512KB, transparent UX, and consistent compression stats. Source: peterbamuhigire/skills-web-dev.

How do I install image-compression?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill image-compression Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/peterbamuhigire/skills-web-dev