This runs a three-agent code review on your recent changes, looking for duplication, code smells, and efficiency problems, then fixes what it finds. It defaults to your current branch diff against main, which makes it useful right before opening a PR. The reviewers run in parallel checking for existing utilities you could reuse, hacky patterns like parameter sprawl and nested conditionals, and wasted work like N+1 queries. It preserves behavior by running your test suite after making changes. The quality reviewer has some opinionated rules (it'll flag unnecessary React wrappers and comments that explain what instead of why) but skips fixes that would make code longer or harder to read.
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill ce-simplify-code