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-4/

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

tile.json