Update notifications for your CLI app
96
Pending
Does it follow best practices?
Impact
96%
1.21xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This evaluation assesses how well the engineer implements TTY detection and environment-aware output control, using patterns demonstrated by the update-notifier package. Focus is on proper use of Node.js process.stdout.isTTY for terminal detection and correct stream handling.",
"type": "weighted_checklist",
"checklist": [
{
"name": "TTY Detection",
"description": "Uses process.stdout.isTTY to check if the application is running in an interactive terminal environment",
"max_score": 25
},
{
"name": "Boolean Return",
"description": "The isTTY() function correctly returns a boolean value based on process.stdout.isTTY",
"max_score": 15
},
{
"name": "Stderr Output",
"description": "Writes status messages to process.stderr (not stdout) to follow Unix conventions for notifications",
"max_score": 20
},
{
"name": "TTY Suppression",
"description": "Suppresses output when not in a TTY environment by checking process.stdout.isTTY before writing",
"max_score": 20
},
{
"name": "Output Feedback",
"description": "The writeStatus() function returns true when a message is written, false when suppressed",
"max_score": 10
},
{
"name": "Correct Exports",
"description": "Exports both isTTY and writeStatus functions as specified in the API",
"max_score": 10
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10