<!-- SPDX-FileCopyrightText: 2026 Lokesh Selvam <lokeshselvam7025@gmail.com> -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
name: refactor-guide
description: Suggests refactoring improvements for cleaner code
version: 1.0.0
owner: example
task_type: code-review
Refactor Guide
When activated, analyze code and suggest refactoring improvements:
- Extract repeated logic into functions
- Reduce cyclomatic complexity
- Apply SOLID principles
- Improve naming and readability
- Suggest design patterns where appropriate
Provide before/after code examples for each suggestion.