Use when code needs refactoring or cleanup, or its structure judged — god functions, tangled responsibilities, duplication, over-engineering, legacy code without tests, or code that resists the next change. Also when the user invokes Uncle Bob, Fowler, Beck, Feathers, Ousterhout, SOLID, KISS, YAGNI or clean code on existing code. Not for bugs, security or whether a change can merge: team-review.
安装
npx skills add plasminds/team-skills --skill team-refactornpx skills add plasminds/team-skills --skill team-refactor -a claude-code -gnpx skills add plasminds/team-skills --skill team-refactor -a codex -ggemini skills install https://github.com/plasminds/team-skills.git --path skills/team-refactorgh skill install plasminds/team-skills team-refactorgit clone --depth 1 https://github.com/plasminds/team-skills /tmp/plasminds__team-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/plasminds__team-skills/skills/team-refactor ~/.claude/skills/team-refactor # Claude Code
cp -R /tmp/plasminds__team-skills/skills/team-refactor ~/.agents/skills/team-refactor # Codex, Cursor, Gemini CLI, Copilot, OpenCode