cleanup-legacy

Official

Automate the removal of deprecated, legacy, and fallback code paths.

Authorraintree-technology
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers find and remove deprecated, legacy, and fallback code paths with zero callers, simplifying and cleaning up the codebase.

Core Features & Use Cases

  • Code Path Identification: Detects deprecated symbols, legacy directories, and unreachable fallback branches.
  • Caller Verification: Confirms code is truly unused before deletion, with fallback to grep if necessary.
  • Automatic Deletion: Safely removes high-confidence code paths with no callers.
  • Reporting: Generates detailed reports for further analysis and migration planning.

Quick Start

Run the cleanup-legacy skill to remove deprecated code from the 'src/' directory.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: cleanup-legacy
Download link: https://github.com/raintree-technology/agent-starter/archive/main.zip#cleanup-legacy

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 620,000+ vetted skills library on demand.