What problem does it solve?
This Skill analyzes your codebase to identify areas needing refactoring, improving code quality, maintainability, and architectural alignment, and then plans actionable steps to address these issues.
Core Features & Use Cases
- Codebase Analysis: Performs a comprehensive review of code metrics, module sizes, test coverage, and potential issues like TODOs or HACKS.
- Architectural Review: Assesses adherence to principles like Domain-Driven Design (DDD), error handling consistency, and API surface clarity.
- Prioritized Planning: Ranks refactoring opportunities by impact and generates well-defined issues for agents to address.
- Use Case: When your codebase feels complex and difficult to work with, use this Skill to get a clear, prioritized roadmap for improving its structure and health.
Quick Start
Use the plan-refactor skill to analyze the entire codebase and suggest refactoring improvements.