refactor

Installation
SKILL.md

/refactor — Full Refactoring Pipeline

Overview

Single entry point that orchestrates the complete refactoring workflow: detect smells → prioritize → partition into independent groups → execute in parallel worktrees via subagents → merge & verify.

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 is NOT detected: Pause for user confirmation at each checkpoint as described below.

Git Isolation (MANDATORY)

Installs
10
GitHub Stars
4
First Seen
Apr 8, 2026
refactor — mickeyyaya/refactoring-skills