CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-clean-css

A well-tested CSS minifier providing fast and efficient CSS optimization and minification.

93

1.17x

Quality

Pending

Does it follow best practices?

Impact

93%

1.17x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "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
    }
  ]
}

tile.json