What problem does it solve?
This Skill ensures CSS code quality by identifying and addressing issues like redundancy, duplication, and semantic inconsistencies, while integrating with existing linters for comprehensive checks.
Core Features & Use Cases
- Redundancy Detection: Identify and remove redundant CSS rules across files and within a single file.
- Duplication & Consolidation: Locate and consolidate duplicated CSS rules to reduce complexity and improve maintainability.
- Semantic Conventions: Enforce project-specific CSS conventions, such as naming, selector order, and architecture.
- Linter Integration: Run project-specific linters to catch mechanical issues like invalid properties and specificity violations.
- Use Case: After making changes to a component's CSS, use this Skill to ensure the code adheres to best practices and is free of common issues.
Quick Start
Run the css-review skill on the changed CSS files to check for quality issues and linter findings.