| name | root-cause-solution |
|---|---|
| description | Use when implementing features or fixing bugs to define the intended behavior from first principles, trace where the current code diverges from it, generate and score several candidate solutions, and propose the most correct one. |
Treat any proposed solution as one candidate, whether it comes from an issue, a review, the user or your own first idea. Being proposed proves nothing about whether it is right. Preserve the user's intended outcome and any explicit constraints.
Never propose the first solution you think of. First ideas tend to accept the existing structure and adjust it locally. Work through the steps below before you choose.