Find the dead code
Shrike starts at your entry points and follows every import and call. Code that no path reaches is dead.
Shrike is an open-source CLI that finds what a PR orphaned, even in files the PR never touched. It deletes that code in verified batches and leaves a receipt. Nothing is committed until your checks pass.
Shrike starts at your entry points and follows every import and call. Code that no path reaches is dead.
Shrike deletes helpers along with the code that used them. Batches stay small and never share a declaration.
Shrike runs your checks before and after each batch. If a batch makes a check fail, Shrike reverts the edit that broke it and retries the rest.
01Measure
One number. No files change.
One command measures the dead weight. Shrike only reads your project.
02Find
Only newly dead code
Shrike compares the merge base with your PR head. It finds code that no longer has a path from any entry, including code outside the diff.
03Clean
No new failures ship
Shrike applies each batch in a worktree and compares your checks against a baseline. If a batch introduces a new failure, Shrike bisects it, reverts the culprit, and retries the rest.
04Prove
Why it stayed or went
Ask why any symbol is live or dead. After a cleanup, the receipt shows what changed and what was checked.
05Protect
Routes, tests, public API
Shrike never deletes entries, tests, public API, generated or unparsed files, or code reached through a reference it cannot resolve. Build evidence can keep code the graph cannot see.