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

{
  "context": "This criteria evaluates how well the engineer utilizes gatsby-plugin-sharp's quality control and compression capabilities. The focus is on proper use of format-specific quality settings (jpegQuality, pngQuality), PNG compression configuration (pngCompressionLevel), and progressive JPEG encoding features.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "JPEG Quality Control",
      "description": "Uses gatsby-plugin-sharp's jpegQuality parameter to control JPEG compression quality. Should demonstrate setting jpegQuality to specific values (e.g., 65) and understand that it ranges from 1-100.",
      "max_score": 25
    },
    {
      "name": "PNG Quality Control",
      "description": "Uses gatsby-plugin-sharp's pngQuality parameter to control PNG compression quality. Should demonstrate setting pngQuality to specific values (e.g., 80) and understand that it ranges from 1-100.",
      "max_score": 25
    },
    {
      "name": "PNG Compression Level",
      "description": "Uses gatsby-plugin-sharp's pngCompressionLevel parameter to control PNG compression. Should demonstrate setting pngCompressionLevel with values in the range 0-9, understanding that higher values produce smaller files but take longer to encode.",
      "max_score": 25
    },
    {
      "name": "Progressive JPEG",
      "description": "Uses gatsby-plugin-sharp's progressive parameter to control progressive JPEG encoding. Should demonstrate both the default progressive encoding behavior and the ability to explicitly enable/disable it using the progressive boolean option.",
      "max_score": 25
    }
  ]
}

tile.json