Routine Dead Code Removal

Autonomous maintenance routine that deletes provably unreachable code from one monorepo package using the repo's own detectors (yarn lint:deadcode / make deadcode / scripts/lint-deadcode.sh), verifies every hit against dynamic references before deleting, and ships each removal via /ship. Use only when the user explicitly invokes /routine-dead-code-removal or asks to find and delete dead or unused code. SKIP for dead branches behind a feature flag (routine-shipped-feature-inliner), live duplicates whose callers need repointing (routine-dup-unifier), tests that pass but assert nothing (routine-useless-test-pruner), or live single-implementation indirection (routine-abstraction-improver). The core trigger is "find and delete code nothing can reach".

bex-co Updated 578 repo stars
Beancount.io income statement showing monthly net profit and detailed income and expense account trees

File contents

bex-co/beancount-io commit ba9d224884

Frequently asked questions

npx get-skill add bex-co/routine-dead-code-removal