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 well the engineer uses clean-css to detect and report invalid CSS properties. The focus is on correct instantiation of the CleanCSS class, proper invocation of the minify method, and appropriate extraction of validation warnings from the output structure.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CleanCSS instantiation",
"description": "Creates an instance of the CleanCSS class using 'new CleanCSS()' or 'new CleanCSS(options)'",
"max_score": 20
},
{
"name": "minify method usage",
"description": "Calls the minify() method on the CleanCSS instance with the CSS content as input",
"max_score": 25
},
{
"name": "warnings extraction",
"description": "Accesses the 'warnings' property from the minify() method's return value to retrieve validation messages",
"max_score": 25
},
{
"name": "invalid property filtering",
"description": "Correctly filters or extracts invalid property names from the warnings array, identifying warnings that indicate invalid properties",
"max_score": 20
},
{
"name": "return format",
"description": "Returns an array of invalid property names as strings, matching the expected output format specified in the API",
"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