Babel's modular runtime helpers that provide transpilation support for modern JavaScript features
94
Pending
Does it follow best practices?
Impact
94%
1.18xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This evaluation assesses the engineer's ability to use @babel/core's createConfigItem API (or its sync/async variants) to programmatically create and manage plugin and preset configuration wrappers. The focus is on proper usage of the createConfigItem functions and correct handling of plugin vs preset types.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses createConfigItem API",
"description": "Solution uses createConfigItem, createConfigItemSync, or createConfigItemAsync functions from @babel/core to create configuration wrappers for plugins",
"max_score": 25
},
{
"name": "Plugin type specification",
"description": "When creating plugin configuration items, the solution correctly specifies type: 'plugin' in the options passed to createConfigItem",
"max_score": 15
},
{
"name": "Preset type specification",
"description": "When creating preset configuration items, the solution correctly specifies type: 'preset' in the options passed to createConfigItem",
"max_score": 15
},
{
"name": "Passes plugin/preset value",
"description": "Solution correctly passes the plugin or preset name/function as the first argument to createConfigItem",
"max_score": 15
},
{
"name": "Passes options correctly",
"description": "Solution correctly passes user-provided options in the options object to createConfigItem, maintaining the structure with the value and options fields",
"max_score": 15
},
{
"name": "Stores ConfigItem objects",
"description": "Solution stores and returns the actual ConfigItem objects created by createConfigItem (not recreated objects or plain data)",
"max_score": 10
},
{
"name": "Separates plugins and presets",
"description": "Solution correctly maintains separate collections or filtering for plugins vs presets when implementing getPlugins() and getPresets() methods",
"max_score": 5
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10