Adds useful debug features to your Electron app
86
Pending
Does it follow best practices?
Impact
86%
1.19xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This evaluation criteria assesses how well the engineer uses the electron-debug package to implement DevTools control functionality. The focus is on proper utilization of the package's toggle and open APIs, understanding of window parameter handling, and appropriate DevTools state checking.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses devTools function",
"description": "Implementation correctly imports and uses the `devTools()` function from electron-debug to toggle DevTools open/closed state in the toggleDevTools function",
"max_score": 30
},
{
"name": "Uses openDevTools function",
"description": "Implementation correctly imports and uses the `openDevTools()` function from electron-debug to explicitly open DevTools in the openDevTools function",
"max_score": 25
},
{
"name": "Correct window parameter passing",
"description": "Implementation properly passes the window parameter to electron-debug functions (devTools and openDevTools), allowing the functions to default to focused window when no window is provided",
"max_score": 20
},
{
"name": "DevTools state checking",
"description": "Implementation correctly checks DevTools state using Electron's BrowserWindow webContents.isDevToolsOpened() method or equivalent to determine if DevTools are currently open",
"max_score": 25
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10