Install any skill in seconds. Free to start, no credit card required.
Get Started Free →doccker/refactor-safety
当用户要求重构代码(提取组件、合并重复逻辑、重命名变量、优化结构)时触发。提供重构安全检查清单,防止丢失原始上下文。
Passed 21 of 22 test cases with the skill, and 14 of 22 without it.
and 7 more in the full report
7 fixed14 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
请对这块订单卡片重构代码做安全评估,并在最后附上标准规范的追溯声明标记。
| Checked | Without skill | With skill |
|---|---|---|
| Includes the exact rule provenance tag format referencing refactor-safety. | Missed | Passed |
The instructions your model reads when the skill loads.
不要凭记忆或推测重构,必须完整读取原始代码:
# 读取完整文件
Read: file_path="src/views/Order.vue"
# 如果是条件分支,读取所有分支的代码
Grep: pattern="if.*健康云" -A 50 -B 5
Grep: pattern="else" -A 50 -B 5
常见错误:
原始代码(健康云租户):
test cases passed, vs 14 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.