讓 AI 當資深工程師審你的 code:依正確性 / 安全 / 效能 / 可讀性四面向給具體問題 + 修法,不是空泛稱讚。
Act as a senior {{language}} engineer reviewing this code. Be direct and specific, no flattery.
CODE:
{{code}}
Review across four axes and report only real issues:
1. CORRECTNESS: bugs, edge cases, wrong logic.
2. SECURITY: injection, auth, data exposure.
3. PERFORMANCE: obvious inefficiencies.
4. READABILITY: naming, structure.
For each issue: quote the line, explain why it matters, give the fix. If something is fine, do not pad the list.把方括號 [ ] 內的變數換成你的內容,丟進 Claude / ChatGPT。
不用離開網站,直接看這組 prompt 跑出來長怎樣(AI 即時生成,扣 1 點)。
寫程式的人 push 前先丟給 AI 過一遍。要它「只報真問題、不要灌水」才有用。Claude / GPT 都行。
一份依四面向、只列真問題、每條附行號+原因+修法的審查報告。
以上為此 Prompt 丟進 Claude / ChatGPT 後可得到的描述性成果,實際畫面會因填入的變數而有差異。
[language]程式語言(如:TypeScript / Python)
[code]貼上要審的程式碼
填下面的欄位,上方 prompt 會即時替換 [方括號] 內容。填好後按「複製組好的 prompt」直接丟進工具。
Act as a senior {{language}} engineer reviewing this code. Be direct and specific, no flattery.
CODE:
{{code}}
Review across four axes and report only real issues:
1. CORRECTNESS: bugs, edge cases, wrong logic.
2. SECURITY: injection, auth, data exposure.
3. PERFORMANCE: obvious inefficiencies.
4. READABILITY: naming, structure.
For each issue: quote the line, explain why it matters, give the fix. If something is fine, do not pad the list.這組 prompt 專為 Claude / ChatGPT 設計。把 prompt 內 2 個方括號 [變數] 換成你自己的內容,貼進 Claude / ChatGPT 執行即可。難度中等,照變數說明填好後即可上手。
完整 prompt 免費開放閱讀,不用註冊;登入後可一鍵複製、收藏與留言。
prompt 文字本身你可自由使用與修改。但 AI 生成物(圖/音樂/影片/文字)的商用授權,取決於你在 Claude / ChatGPT 使用的方案與其官方服務條款,請以該工具的授權規範為準。
Studio engineer 視角拆解 Suno 致命弱點(油炸 vocals、高頻 artifact)+ 4 步驟 DAW workflow + Suno Studio 修音 prompt
提案產生器 / 會議處理器 / 內容再利用 / 週五回顧 / 收工 reset — 試了 40 個只有這 5 個沒被丟掉、各省 30+ 分鐘 / 次。
適合:部落格、Medium、Notion 公開頁、Substack — 任何支援 iframe / HTML 嵌入的地方。對方點「看完整」會回到本站、是 prompt 庫的免費 backlink。
<iframe src="https://prompt.luvai.net/embed/ai-code-review-checklist" width="100%" height="380" frameborder="0" style="border:1px solid #e0dcd0;border-radius:4px;" loading="lazy" title="PromptCraft Embed"></iframe>
六個月在 Claude / GPT-4 / Gemini 上用人工 rater A/B 測 200+ prompt 後寫的。包含 persona+constraint stacking / anti-example / role reversal QA / cognitive scaffold / emotional priming / uncertainty CoT / steelman first。
一年的 role-play system prompt + 14-step framework 後總結:真正改變品質的是 5 個單行 prompt。沒有 role、沒有 markdown、沒有「you are an expert」。