Remix.run Logo
pgt 3 hours ago

I am getting disproportionately good results with the models by following a process: spec -> plan -> critique -> improve plan -> implement plan.

CharlesW 3 hours ago | parent | next [-]

If I may "yes, and" this: spec → plan → critique → improve plan → implement plan → code review

It may sound absurd to review an implementation with the same model you used to write it, but it works extremely well. You can optionally crank the "effort" knob (if your model has one) to "max" for the code review.

frumiousirc an hour ago | parent [-]

A blanket follow-up "are you sure this is the best way to do it?"

Frequently returns, "Oh, you are absolutely correct, let me redo this part better."

afroisalreadyin 3 hours ago | parent | prev | next [-]

Can you give a little more detail how you execute these steps? Is there a specific tool you use, or is it simply different kinds of prompts?

pgt an hour ago | parent [-]

I wrote it down here: https://x.com/BraaiEngineer/status/2016887552163119225

However, I have since condensed this into 2 prompts:

1. Write plan in Plan Mode

2. (Exit Plan Mode) Critique -> Improve loop -> Implement.

4b11b4 2 hours ago | parent | prev [-]

similar approach