cleanup-unused-css

Community

Trim unused CSS blocks for leaner sites.

AuthorprojetsX
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Remove unused CSS selectors across a web project to reduce stylesheet bloat and improve performance, while preserving safety through backups and dry-run options.

Core Features & Use Cases

  • Scan HTML/JSX/TSX/Vue files to collect used CSS classes
  • Compare against non-minified CSS files to identify truly unused selectors
  • Generate a human- and machine-readable report, plus optional backup and safe cleanup
  • Dry-run mode to preview changes before applying them
  • Create automated backups and provide restoration scripts

Quick Start

Run the cleanup-unused-css script to analyze your project, review the report, and optionally perform the cleanup after creating a backup.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cleanup-unused-css
Download link: https://github.com/projetsX/french_skills_vscode/archive/main.zip#cleanup-unused-css

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.