Repo Exorcist is a Forge app for Bitbucket that hunts the ghosts in a codebase: dead code nobody calls, zombie dependencies nobody uses, TODOs rotting for years, and files nothing imports. Open any repository page and the card scores its hauntedness (0–100) with a plain-language band, lists every ghost with an epitaph explaining what it was and why it is dead, and offers an exorcism patch — a unified diff that removes the safe ghosts.

It is a rebuild of the Kiroween 2026 entry of the same name (a standalone web app) on the Forge platform: the same TypeScript compiler analysis now runs inside a Forge function, reading the repository through the Bitbucket REST API entirely in memory — no disk, no git binary. On its own repository it reports 37/100 ("Haunted") with 108 ghosts across 41 files (74 dead code, 8 zombie dependencies, 20 haunted TODOs, 6 ghost files), and the patch removes the safe ones.

Built With

Share this project:

Updates

Submission history