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 evaluation assesses how well the engineer uses clean-css's selector sorting capabilities to implement the CSS optimizer. The focus is on proper configuration of the selectorsSortingMethod option within level 1 optimization settings, and correct usage of CleanCSS API to achieve different sorting behaviors.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CleanCSS instantiation",
"description": "Creates a new CleanCSS instance using the CleanCSS constructor with appropriate configuration options",
"max_score": 15
},
{
"name": "Level 1 configuration",
"description": "Uses the level configuration object with level 1 settings to control optimization behavior",
"max_score": 15
},
{
"name": "selectorsSortingMethod usage",
"description": "Correctly uses the selectorsSortingMethod property within level 1 configuration to control selector ordering",
"max_score": 25
},
{
"name": "Sorted mode implementation",
"description": "Implements sorted mode by setting selectorsSortingMethod to 'standard' or 'alphabetical' to enable alphabetical selector ordering",
"max_score": 15
},
{
"name": "Unsorted mode implementation",
"description": "Implements unsorted mode by setting selectorsSortingMethod to 'none' or false to disable selector sorting",
"max_score": 15
},
{
"name": "minify method usage",
"description": "Calls the minify method on the CleanCSS instance to process CSS and returns the result object containing the styles property",
"max_score": 15
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10