Cleanup
Remove dead code, unused imports, commented-out blocks, and resolved TODOs. Behavior-preserving: no logic changes, only deletion of unreachable or inert code.
/cleanup
code cleanupdead-coderefactor
Inputs
| Name | Type | Description |
|---|---|---|
target | string | File path or directory to clean up. |
Outputs
| Name | Type | Description |
|---|---|---|
changes | string | Summary of what was removed. |
Side effects
- modifies source files
- may create git commits
System prompt fragment
Clean up the file or directory: delete dead code (unreachable branches, unused functions), remove unused imports, strip commented-out code blocks, remove resolved TODO/FIXME comments. Do NOT change any logic. Do NOT refactor. Do NOT rename. One commit per file cleaned. If a TODO is unresolved, leave it. Verify tests still pass after cleanup.
Attribution: convergent-systems-key. License: Apache-2.0 or as stated by the originating repository.