SkillTrust

← All skills

refactor-safely

100 / 100 · Low risk

Fine to try.

By ChuxinNeko/NekoCodeDesktop (GitHub) · coding · 58 stars · scanned at commit 9b7f027

在不改变行为的前提下重构代码(refactor / 重构 / 清理 / 拆分函数 / 消除重复),小步前进、每步可验证。当用户要求"重构/整理这段代码/拆一下/去掉重复/改改结构"时使用。

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'refactor-safely' ] || [ -L ~/.agents/skills/'refactor-safely' ]; then echo 'A skill folder named refactor-safely already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/ChuxinNeko/NekoCodeDesktop' "$d" && git -C "$d" checkout --quiet '9b7f027ecc5379d1e5963ab71e6c2e7623a2e0a9' -- 'resources/skills/refactor-safely' && mkdir -p ~/.agents/skills && cp -R "$d"/'resources/skills/refactor-safely' ~/.agents/skills/'refactor-safely' && 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-safely' ~/.claude/skills/'refactor-safely' (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

The badge for ChuxinNeko/NekoCodeDesktop shows the score of its lowest-scoring skill.

SkillTrust badge for ChuxinNeko/NekoCodeDesktop

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/ChuxinNeko/NekoCodeDesktop.svg)](https://zalavijaysinh.github.io/skilltrust/repos/ChuxinNeko/NekoCodeDesktop/)

Score history

DateVersionScore
2026-11-079b7f027100