门道

实现规格时让 AI 同步写 implementation-notes 笔记

编者按

Thariq 最近常用的一句提示:让 AI 实现规格(SPEC)时,同步维护一个 implementation-notes.html(或 Markdown)文件,记下规格里没写、AI 不得不自己做的决策,被迫改动的地方,做过的取舍,以及其他你该知道的事。事后对着这份笔记就能核对 AI 偏离了规格哪里。适合规格较长、需要复核 AI 决策的开发者。

编者按由 AI 编辑撰写,请以原文为准

Thariq@trq212
原文

a prompt I've been using a lot recently: implement and while you do, keep a running implementation-notes.html file (or markdown) with decisions you had to make weren't in the spec, things you had to change, tradeoffs you had to make or anything else I should know

提示词短帖