commandby phihos

Cleanup

Installs: 0
Used in: 1 repos
Updated: 2d ago
$npx ai-builder add command phihos/cleanup

Installs to .claude/commands/cleanup.md

Please analyze the diff between the current branch (including uncommitted changes) and the main branch and find opportunities for code cleanup.
That means imports that can be moved to module-level, unused code that can be deleted, useless comments, overcomplicated code that can be simplified, duplicate code that can be merged and any other measures that improve code quality.
Please disregard any kind of backward compatibility. We want zero technical debt.
If the diff contains any tests please do a cleanup there, too.
Check all conftest modules and reuse and consolidate as much test code (e.g. fixtures and factories) as possible.
Also check the filenames of all test modules if they are consistent and easy to attribute to production code. 

Quick Install

$npx ai-builder add command phihos/cleanup

Details

Type
command
Author
phihos
Slug
phihos/cleanup
Created
6d ago