Legacy Code Reviewer

Community

Modernize legacy code with AI-guided refactoring.

Authorradfares
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Legacy code bases accumulate debt over time, making maintenance costly and risky. This Skill provides an AI-powered review and refactoring plan that identifies deprecated patterns, suggests modern replacements (Python 3.12+), assesses test coverage, and outlines incremental steps to improve reliability and maintainability without breaking behavior.

Core Features & Use Cases

  • Automated Discovery: Detect deprecated APIs, anti-patterns, duplicated logic, and high McCabe complexity to surface modernization targets.
  • Refactoring Guidance: Propose a phased modernization plan (formatting, typing, modularization) with concrete before/after code examples.
  • Test & Coverage Awareness: Recommend characterization tests when coverage is low and outline test strategies to preserve behavior.
  • Use Case: A monolithic Python project with legacy constructs can be transformed incrementally, reducing risk and technical debt while enabling safer upgrades.

Quick Start

Invoke the Legacy Code Reviewer on a target codebase, for example analyze src/legacy to receive a modernization plan with concrete steps and example refactors.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Legacy Code Reviewer
Download link: https://github.com/radfares/nurseRN/archive/main.zip#legacy-code-reviewer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.