← ClaudeAtlas

refactorlisted

Use when the user asks to refactor code, review code quality, or fix code smells — orchestrates the full refactoring pipeline from detection through fix, with parallel worktree isolation per independent refactoring group
mickeyyaya/evolve-loop · ★ 1 · Code & Development · score 77
Install: claude install-skill mickeyyaya/evolve-loop
# /refactor — Full Refactoring Pipeline > Orchestrate the complete refactoring workflow: detect smells, prioritize by weighted scoring, partition into independent groups, execute in parallel worktrees via subagents, merge and verify. Enhanced with cognitive complexity scoring, architecture analysis, and speed-optimized parallel scan pipelines. ## Contents | Section | Purpose | |---------|---------| | [Auto Mode Detection](#auto-mode-detection) | Detect bypass/yolo mode for autonomous execution | | [Git Isolation](#git-isolation-mandatory) | Worktree-based isolation for all refactoring work | | [Workflow Summary](#workflow-summary) | 5-phase pipeline overview | | [Quick Modes](#quick-modes) | Scoped invocations for targeted refactoring | | [Cross-Reference Map](#cross-reference-map) | Skill routing by issue type | | [Reference](#reference-read-on-demand) | Detailed phase docs, catalogs, techniques | ## Auto Mode Detection Before starting, check if the user is in **bypass/yolo mode** (auto-accept permissions enabled). Detection signals: - User explicitly said "yolo mode", "bypass permissions", or "auto-accept" - The session is running with `--dangerously-skip-permissions` or equivalent - Tools are being auto-approved without user prompts **When auto mode is detected:** Skip all confirmation prompts. Automatically select all issues, partition, launch parallel subagents, and merge passing branches without pausing. This enables fully autonomous refactoring. **When auto mode