Wrapper of the Sharp image manipulation library for Gatsby plugins
57
Pending
Does it follow best practices?
Impact
57%
1.07xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This evaluation assesses how effectively an engineer uses gatsby-plugin-sharp's basic image resizing capabilities to generate multiple thumbnail sizes. The criteria focus on proper usage of the queueImageResizing function and understanding of its configuration options for width, quality, and batch processing.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses queueImageResizing",
"description": "Uses the queueImageResizing function (or its alias resize) from gatsby-plugin-sharp to process images",
"max_score": 30
},
{
"name": "Configures width parameter",
"description": "Correctly passes the width parameter in the args object for each thumbnail size (200, 400, 800)",
"max_score": 20
},
{
"name": "Sets quality parameter",
"description": "Properly configures the quality parameter (set to 75) in the transform args to control JPEG compression",
"max_score": 15
},
{
"name": "Processes multiple sizes",
"description": "Successfully processes all three required thumbnail sizes (200px, 400px, 800px) by calling queueImageResizing multiple times or by using batchQueueImageResizing",
"max_score": 20
},
{
"name": "Extracts result metadata",
"description": "Correctly extracts and returns the width, height, src, and aspectRatio fields from the ImageResult objects returned by queueImageResizing",
"max_score": 15
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10