ACTION

/refactor - Arquitetura & Clean Code

Reconstrução seletiva e segura: divide o refactoring complexo em planos de ação de prioridade alta, média e baixa. Execução em blocos testáveis.

Clean ArchitectureSOLID
|
# Workflow: /refactor <meta> <trigger>/refactor</trigger> <description>Analyzes scope, builds a prioritized plan, and suggests changes block-by-block.</description> </meta> ## Step 1 — Dimensional Analysis Evaluation of code through 6 dimensions: Logic Simplification, Duplicate Code, Naming, Separation of Responsibilities, Coupling Reduction, and SOLID Patterns. ## Step 2 — Prioritized Plan Improvements are grouped into High, Medium, and Low priority blocks. The plan is presented for approval before any changes are suggested. ## Step 3 — Assisted Execution Block-by-block refactoring suggestions, with explanations on the "why" behind the change and impact analysis on other parts of the system.