Remove Unused Code Iteratively
dead-code-sweepworkflowsetup L3★75
ray-amjad/claude-code-workflow-creator ↗What it does
Iteratively remove unused code until fixpoint
Best for
Iteratively cleaning unused code until fixpoint without manual symbol tracking.
Inputs
- · codebase root
Outputs
- · removed symbols (exports/functions/variables/imports)
- · rounds completed
Requires
- · LLM agent
- · test suite
Preconditions
Tests runnable; codebase statically analyzable
Failure modes
- · removal breaks tests
- · agent confuses usage context
Trust signals
- · loop-until-dry (dry streak = 2)
- · per-removal test+revert
- · safe parallelization