Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
79
Pending
Does it follow best practices?
Impact
79%
1.05xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "Assesses whether the solution uses external-editor's callback-based async helper correctly to capture edited text, forward temporary file options, and propagate errors while applying the optional newline trim. It ignores general code quality concerns and looks only at correct library usage.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses editAsync",
"description": "Invokes external-editor's editAsync to launch the editor with the provided initial text (not the synchronous edit or ExternalEditor.runAsync variants), wiring the callback to resolve the Promise when content is returned.",
"max_score": 35
},
{
"name": "Error propagation",
"description": "Maps the error-first callback from editAsync to a rejected result without swallowing or replacing the original error.",
"max_score": 25
},
{
"name": "Forwards file options",
"description": "Passes through any provided fileOptions (prefix, postfix, template, dir, mode) directly to editAsync when initiating the edit.",
"max_score": 20
},
{
"name": "Result handling",
"description": "Uses the string returned via editAsync's callback as the basis for the final result and applies the optional single trailing newline trim behavior when requested.",
"max_score": 20
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10