CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-gatsby-plugin-sharp

Wrapper of the Sharp image manipulation library for Gatsby plugins

57

1.07x
Quality

Pending

Does it follow best practices?

Impact

57%

1.07x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well an engineer uses gatsby-plugin-sharp's metadata extraction capabilities to retrieve image dimensions, format information, and dominant colors from image files.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Image size retrieval",
      "description": "Uses gatsby-plugin-sharp's getImageMetadata or getImageSize function to extract image width and height dimensions from image files",
      "max_score": 35
    },
    {
      "name": "Format identification",
      "description": "Correctly extracts the image format (jpeg, png, webp, etc.) from the metadata object returned by gatsby-plugin-sharp functions",
      "max_score": 25
    },
    {
      "name": "Dominant color",
      "description": "Uses gatsby-plugin-sharp's getDominantColor or similar functionality to extract the dominant color, returning it in hexadecimal format as required",
      "max_score": 40
    }
  ]
}

tile.json