prune-dead-code

Installation
SKILL.md

Prune Dead Code

Treat every declaration as live until you have proven it safe to remove. Find candidates in four categories, verify each one across the whole repository, and report them all for approval before editing.

Categories

  1. Confirmed dead: symbols, constants, tokens, or barrel re-exports with zero references.
  2. Dedupe: the same constant, string, or type literal declared verbatim in two or more places.
  3. Drift: a magic literal that duplicates an existing named constant.
  4. Arbitrary limits: caps, thresholds, or timeouts guarding against situations users cannot reach. Quantify the real limit before recommending removal.

Workflow

Installs
67
GitHub Stars
22
First Seen
Jun 22, 2026
prune-dead-code — lukeberrypi/skills