Remove Dead Code Defensively

Require proof of zero callers before anything is deleted, and approval before it happens.

Intermediate1 min read

Customize

Fill these in and the prompt below updates as you type. Anything you leave blank stays as a placeholder.

Your prompt

1 placeholder left
Find unused exports in {{directory}}.

For each one, show me where you confirmed it has no callers (grep results or import graph) before proposing deletion.

Do not delete anything until I approve the list.

Similar prompts

Map the Blast Radius of a Change

Find every caller a signature change would break, and the safe order to migrate them.

Add Types Incrementally

Type one file with runtime behavior frozen, and make the type-checker output the proof.

Break a God Function Apart

Split an oversized function into well-named pieces without changing external behavior.

Convert Code Between Languages

An idiomatic port, not a transliteration — with anything that doesn't translate flagged rather than faked.