skill-refactor
100 / 100 · Low risk
Fine to try.
技能自动化重构器 - 自动提取代码到code.md、拆分过长内容、优化技能结构。**自动触发**:每次修改.Codex/skills目录下的SKILL.md或code.md后检测并提示用户确认。手动触发:当用户提到"重构技能"、"拆分技能"、"技能代码分离"、"优化技能结构"时使用此skill。
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/'skill-refactor' ] || [ -L ~/.agents/skills/'skill-refactor' ]; then echo 'A skill folder named skill-refactor already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/Treasoni/kaoyan' "$d" && git -C "$d" checkout --quiet '2d1ca8d59f73216f0d827f24c383057ee37940d3' -- '.agents/skills/skill-refactor' && mkdir -p ~/.agents/skills && cp -R "$d"/'.agents/skills/skill-refactor' ~/.agents/skills/'skill-refactor' && 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/'skill-refactor' ~/.claude/skills/'skill-refactor' (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/Treasoni/kaoyan/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-13 | 2d1ca8d | 100 |
| 2026-11-08 | 581285f | 100 |
Also found in
- Treasoni/kaoyan/.claude/skills/skill-refactor
- Treasoni/kaoyan/.codebuddy/skills/skill-refactor