Skip to main content
Detail detects unused symbols, functions, and files in your codebase and automatically opens pull requests to remove them. You get a steady stream of focused PRs that keep your codebase lean. If your CI pipeline catches an issue with a removal, Detail will update the PR automatically.

How it works

1

Agent analyzes the repository

Detail scans your repository looking for dead code. It only flags code it can verify is truly unreferenced and has been dead for a minimum amount of time.
2

Detail opens pull requests

For each batch of dead code found, the agent opens a pull request containing the removal patch. The PR description explains what was removed, when it was introduced, when it became unused, and why Detail is sure it’s safe to remove. Detail will automatically assign the PR to an engineer who has context on the dead code.
3

Review and merge

Treat the PR like any other: review the diff, leave comments, request changes, or merge. You stay in full control of what lands in your main branch.

Enabling dead code scanning

1

Open Dead Code settings

In the Detail dashboard, go to Dead Code and select the repository you want to configure.
2

Enable Dead Code

Toggle Dead Code to on. You can schedule scans nightly, weekly, or on weekdays only. Optionally, you can specify a single reviewer to whom Detail will assign all Dead Code PRs.