Cross-platform recursive file copying library that replicates Unix 'cp -R' command functionality
66
Pending
Does it follow best practices?
Impact
66%
1.00xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "Evaluates whether the refreshWorkspace solution relies on the cpr package to clear and repopulate the destination snapshot. Checks emphasize correct use of the package options (especially deleting the destination tree before copying), sourcing results from the cpr callback, and surfacing errors.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Delete-first copy",
"description": "Uses cpr (or cpr.cpr) with deleteFirst: true so the destination tree is removed before copying the source snapshot.",
"max_score": 45
},
{
"name": "Recursive mirror",
"description": "Invokes cpr to copy the entire source directory into the destination (not manual traversal), ensuring the destination argument matches the cleared target path.",
"max_score": 20
},
{
"name": "Sorted results",
"description": "Returns the destination paths derived from the cpr callback (e.g., using confirm: true for verification) and resolves them sorted as the function result.",
"max_score": 15
},
{
"name": "Error handling",
"description": "Rejects when cpr yields an error (including aggregated err.list) rather than ignoring failures.",
"max_score": 10
},
{
"name": "Rely on cpr setup",
"description": "Lets cpr handle destination creation and cleanup instead of manual filesystem deletions or mkdirs, aligning with the package’s intended workflow.",
"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