Chat mode = 你的 AI 副驾驶。它可以帮助你调试、头脑风暴和规划实现方案——在你真正准备好之前,都不会直接修改你的代码。什么时候切换到 Chat Mode:
连续 2–3 次 “Try to Fix” 都失败之后
在调试复杂逻辑或数据库问题时
在规划新功能时
Suggest 3 ways to implement X
工作流小技巧:有些用户会有 60–70% 的时间都在用 Chat Mode。只有在你完全满意之后,再点击 “Implement the plan”。
如果你经常忘记使用 Chat mode,可以用下面这种格式来提高输出的一致性,并避免产生连带修改:
On page /settings, implement [feature]. The expected behavior is [XYZ]. Please don’t touch component A, layout B, or shared logic unless necessary. Follow best practices from Tailwind / Supabase / X.
为了避免不必要的代码执行:
Investigate but don’t write code yet.
Suggest 3 ways to solve this without changing anything.
这样可以让控制权始终掌握在你手中。
当 AI 进入「循环」时,使用下面的步骤来避免无休止地修补损坏的代码:
切换到 Chat mode
粘贴错误截图
这样说:
Please investigate this without breaking other features. If needed, revert to the last working version and fix from there.