Refactors code to improve structure without changing behavior. Confirms tests are green before and after each step, then gates the commit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/everything-claude-code:orch-refine-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Actor · action · target:**orch · refine · code**。这是共享引擎 [`orch-pipeline`](../orch-pipeline/SKILL.md) 上的一层薄包装。
Actor · action · target:orch · refine · code。这是共享引擎 orch-pipeline 上的一层薄包装。
orch-change-feature / orch-fix-defect)。orch-pipeline 引擎。refactor-cleaner 智能体(它会运行 knip / depcheck / ts-prune 并安全删除)。refactor: 提交——diff 必须保持行为中性。orch-refine-code: extract the NWS HTTP client out of poller.py
→ confirm tests green → plan extraction [GATE 1: approve]
→ move in small steps, tests green throughout → code-review
→ commit refactor: [GATE 2: confirm]
npx claudepluginhub aaione/everything-claude-code-zhOrchestrates behavior-preserving refactors: confirm tests green, restructure in small steps, keep tests green, review, and gated commit. Use when structure should improve but behavior must not change.
Safely refactors code test-first: verifies/writes tests, one structural change at a time, preserves behavior. Use for 'refactor this', 'clean this up', reorganization.
Executes safe, test-gated refactoring with behavior-preserving transformations (extract, inline, rename, move, simplify). Runs tests before and after each change, requires JiT tests for untargeted code, and measures complexity reduction.