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's local @import inlining capability to build a CSS bundling tool. The focus is on proper usage of clean-css's minify method with file path inputs and inline options to resolve and bundle CSS imports.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses clean-css minify",
"description": "Creates an instance of CleanCSS and uses the minify method to process CSS files",
"max_score": 20
},
{
"name": "Passes file paths",
"description": "Passes file paths (not CSS strings) to the minify method to enable automatic file reading and import resolution",
"max_score": 25
},
{
"name": "Enables inline option",
"description": "Configures the inline option (either as true, 'local', or an array including 'local') to enable local @import inlining",
"max_score": 30
},
{
"name": "Handles output structure",
"description": "Correctly accesses the minify output structure (styles, errors, warnings properties) and returns it appropriately",
"max_score": 15
},
{
"name": "Prevents duplicate imports",
"description": "Relies on clean-css's built-in duplicate import prevention (automatic when using inline option) rather than implementing custom deduplication",
"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