Orchestrate a behavior-preserving refactor — confirm tests are green, restructure without changing behavior, keep tests green, review, and gated commit. Use when the structure should improve but behavior must not change.
68
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No known issues
Actor · action · target: orch · refine · code. Thin wrapper over the shared
engine in orch-pipeline.
orch-change-feature / orch-fix-defect).orch-pipeline engine with the settings above.refactor-cleaner agent
(it runs knip / depcheck / ts-prune and removes safely).refactor: — the diff must be behavior-neutral.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]754b8dd
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.