Refactor Advisor is a specialized developer tool designed to bridge the gap between “working code” and “clean code.” It acts as a deep-scanning auditor that identifies technical debt, structural flaws, and security risks using industry-standard patterns like SOLID principles and Martin Fowler’s refactoring catalog. Unlike generic AI prompts, this skill applies a strict heuristic framework to your codebase. It categorizes issues from “Poor Naming” to “God Classes,” calculates a quantitative Technical Debt Score, and identifies “Quick Wins” that provide immediate value with minimal risk. Detailed Auditing: Scans for 10+ specific code smells including Feature Envy, Deep Nesting, and Magic Numbers. Prioritized Reporting: Ranks issues by severity (Critical/Medium/Low) so you know exactly where to start. Risk Management: Explicitly flags when a refactor requires “Tests First” to prevent silent regressions. Framework Agnostic: Works across any language or environment, from legacy Node.js monoliths to modern Python microservices. Prompting a standard AI to “make my code better” often results in subjective style changes or dangerous rewrites. Refactor Advisor provides a structured report with exact line ranges and concrete transformation steps, ensuring that code quality is improved without breaking existing contracts or introducing security vulnerabilities like SQL injection.
0 Refactor Advisor
Transform technical debt into a prioritized roadmap with professional-grade refactoring reports.
Install
cmdop skills install agensi-0-refactor-advisor