css-minification

Installation
SKILL.md

Minify all CSS files

Unminified CSS wastes bandwidth with whitespace, comments, and verbose syntax—minification delivers the same styles in significantly fewer bytes.

Quick Reference

  • Enable minification in build tool (Vite, webpack, etc.)
  • Use cssnano or lightningcss for PostCSS pipelines
  • Typical reduction: 20-40% file size savings
  • Combine with Gzip/Brotli for maximum compression

Check

Verify that all CSS files are minified in production to reduce file size, eliminate whitespace, and improve page load performance.

Fix

Set up CSS minification in your build process using tools like cssnano, CleanCSS, or built-in framework minification to compress CSS files.

Installs
6
GitHub Stars
73.9K
First Seen
Aug 11, 2026
css-minification — thedaviddias/front-end-checklist