A well-tested CSS minifier providing fast and efficient CSS optimization and minification.
93
Quality
Pending
Does it follow best practices?
Impact
93%
1.17xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how effectively the engineer uses the clean-css package to solve the font-weight normalization problem. The focus is on proper usage of clean-css's optimization capabilities, particularly the font-weight keyword-to-numeric conversion feature.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses CleanCSS constructor",
"description": "The solution imports and instantiates the CleanCSS class using `new CleanCSS()` or `new CleanCSS(options)`",
"max_score": 20
},
{
"name": "Calls minify method",
"description": "The solution calls the `minify()` method on a CleanCSS instance to process the input CSS",
"max_score": 20
},
{
"name": "Enables Level 1 optimizations",
"description": "The solution enables Level 1 optimizations (which are enabled by default or explicitly via options) that include font-weight normalization",
"max_score": 15
},
{
"name": "Extracts output correctly",
"description": "The solution correctly accesses the minified CSS from the result object, typically via the `styles` property (e.g., `output.styles`)",
"max_score": 20
},
{
"name": "Handles string input",
"description": "The solution correctly passes the CSS string input to the `minify()` method as required by the clean-css API",
"max_score": 15
},
{
"name": "Returns processed CSS",
"description": "The solution returns the processed CSS string output from clean-css, completing the transformation pipeline",
"max_score": 10
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10