skill-dead-code-legacy

Installation
SKILL.md

Overview

This skill performs a systematic dead code and legacy pattern audit of any codebase. When invoked, it scans source files for unused exports, unreachable code, zombie routes, orphaned tests, deprecated API usage, outdated dependencies, legacy idioms, and accumulated technical debt markers. It produces a three-tier severity report (REMOVE NOW / REVIEW & CLEAN / TECHNICAL DEBT) with safe removal guidance.

Trigger phrases: "dead code audit", "find unused code", "legacy cleanup", "deprecated APIs", "zombie routes", "remove dead code", "technical debt scan", "unused dependencies", "TODO cleanup".

Parameters

The agent requires access to the project's source files. Before starting the scan, confirm:

Input Required Description
Project source directory Yes The root path or src/ folder to scan
Language / framework Auto-detected Detected from package.json, file extensions, config files
Scope Optional Limit scan to dead code only, legacy only, or technical debt only

If no project path is provided, ask the user to specify the directory or share the relevant files.

Returns

Installs
6
GitHub Stars
5
First Seen
Jun 25, 2026
skill-dead-code-legacy — leifermendez/skill-pack