AI use cases

Refactoring code in response to detected code smells

Improve code design instead of merely satisfying a linter metric.

From How to Stop AI from Ruining Your Codebase by Modern Software Engineering