| name | rethink |
| description | Review a bug fix proposal and evaluate whether it is the cleanest solution. Use when you want to critically assess a fix for root cause alignment, simplicity, consistency, technical debt, side effects, and idiomatic alternatives. If improvements exist, propose a better fix and explain why. |
| metadata | {"author":"Yiheng Tao","version":"0.0.1"} |
Rethink
When to Invoke
Use this skill when an AI proposes a fix.
What to Think
Review this bug fix proposal and evaluate whether it is the cleanest solution. Consider the following:
- Does the fix address the root cause rather than a symptom?
- Is the implementation simple and consistent with the existing codebase?
- Could it introduce technical debt, hidden side effects, or future maintenance issues?
- Is there a cleaner or more idiomatic alternative?
- If improvements exist, suggest a better approach and explain why.
- If the original proposal is already the cleanest solution, say so and proceed with it. Rethinking does not require changing the approach — confirming the original fix with clear reasoning is a valid and valuable outcome.