SkillTrust

← All skills

skill-refactor

100 / 100 · Low risk

Fine to try.

By Treasoni/kaoyan (GitHub) · coding · 13 stars · scanned at commit 2d1ca8d

技能自动化重构器 - 自动提取代码到code.md、拆分过长内容、优化技能结构。**自动触发**:每次修改.Codex/skills目录下的SKILL.md或code.md后检测并提示用户确认。手动触发:当用户提到"重构技能"、"拆分技能"、"技能代码分离"、"优化技能结构"时使用此skill。

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/'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

The badge for Treasoni/kaoyan shows the score of its lowest-scoring skill.

SkillTrust badge for Treasoni/kaoyan

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

Score history

DateVersionScore
2026-11-132d1ca8d100
2026-11-08581285f100

Also found in

Identical copies of this skill exist at: