This does exactly what Salesforce developers dread: takes your legacy triggers with DML in loops and other anti-patterns, then refactors them into bulk-safe code with proper separation of concerns. It's from Salesforce's official forcedotcom org, so it follows their architecture patterns. You'll need the Salesforce CLI and Python 3.9+ to run it. The workflow deploys a baseline anti-pattern trigger, analyzes it, then generates refactored code with test coverage. If you've inherited a org with triggers from 2012 that make you wince, this automates the cleanup work you'd otherwise spend days doing manually.
npx skills add https://github.com/forcedotcom/afv-library --skill trigger-refactor-pipeline