refactor-safety
95 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
当用户要求重构代码(提取组件、合并重复逻辑、重命名变量、优化结构)时触发。提供重构安全检查清单,防止丢失原始上下文。
What this skill can do
Runs commands on your computer
Other copies in this repository
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'refactor-safety' ] || [ -L ~/.agents/skills/'refactor-safety' ]; then echo 'A skill folder named refactor-safety already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/doccker/cc-use-exp' "$d" && git -C "$d" checkout --quiet '64470cb5c2b0c86163147d832706f340cf9b1eef' -- 'skills/refactor-safety' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/refactor-safety' ~/.agents/skills/'refactor-safety' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'refactor-safety' ~/.claude/skills/'refactor-safety' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/doccker/cc-use-exp/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 64470cb | 95 |
| 2026-11-07 | 64470cb | 95 |