Safe Code Refactoring
Context
!git status --short 2>/dev/null
!git stash list 2>/dev/null
Refactoring Process
Step 1: Analyze — Identify Code Smells
Read the target code and identify issues from this list:
- Long Method/Function (>40 lines): Extract smaller, focused functions
- Deep Nesting (>3 levels): Use early returns, guard clauses, or extract methods
- Code Duplication: Extract shared logic into reusable functions
- God Class/Module: Split into focus
[Description truncada. Veja o README completo no GitHub.]