Hacker News new | ask | show | jobs
by fishtoaster 17 days ago
This looks pretty much like my standard adversarial review prompt:

"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.

1 comments

Do you find that 'opportunities to simplify or reduce' are often taken, or is that third review often ineffective?
I find it often comes up with a few things. Rarely (though not never) does it come up with wider-scale reductions like "If we just adjust the parent system slightly, this new subsystem can be replaced with a single line change."

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