by fishtoaster · 1w ago · 0 comments
"Spin up 3 subagents, each on different models, with fresh contexts, to review this. Two should perform general reviews; one should focus on opportunities to simplify or reduce. Synthesize the results and make the changes you agree with."
I have it set up as a "skill" in my tool of choice (devin for the last few months, ampcode now), though skill is almost making too much of it - it's a small prompt I use often enough not to want to copy paste. A whole plugin feels like massive overkill.
Often, though, it pushes back against gold-plating and simplifies things at the function level. Looking at the most recent time I ran it, the things it suggested were:
- Reuse an existing module instead of building a new one as planned
- Move a reused check to a function further up the call stack to reduce duplication
- Drop an unnecessary function flag
- Dedup some SQL with a CTE
- Reduce overkill testing
- Drop most of the planned post-rollout verification steps as overkill
- Rude the scope of some large data querying that we'd planned to do to validate the changes down to only the affected tables