Claude Code 規劃優先:先逼出一份可審查計畫,批准了才准動程式碼
用 Plan Mode 的精神,讓 Claude Code 在改任何檔案前先交出一份結構化計畫(影響檔案、步驟、風險、驗收標準),你審查、修正、批准後才執行。避免 AI 一頭熱寫一堆你不要的東西。
AI 編程最大的坑:它直接開寫,三個檔案改完才發現方向錯了。
這個提示詞逼 Claude Code 先給你一份可審查的計畫——影響哪些檔案、分幾步、風險在哪、怎麼驗收——你點頭才准它碰程式碼。
[ Log in to see the full prompt ]Sign up free to see the full prompt, copy it, save it, and join the discussion. Free content unlocks on login; Pro content is a separate subscription.
何時用:任何「動到 3 個以上檔案、改 schema、碰安全/金流、或你還不完全信任 AI 方向」的任務。小型單檔修改或純查詢別用,純浪費時間。 為何有效:這直接對應 Claude Code 真實的 Plan Mode(Shift+Tab 兩次 或輸入 /plan 進入,2026/1 加入),核心精神是「Claude 在改任何檔案前先寫出書面計畫,你審查後才執行」。官方與社群都指出這是『擋掉 9 成 AI 編程錯誤』的工作流,因為審查一段文字遠比審查一堆已寫好的 diff 便宜。 技巧:① 在 {{TASK_DESCRIPTION}} 裡直接點名你預期要改的檔案(例如『改 Hero.tsx、新增 WaitlistForm.tsx』),計畫品質會明顯變好。② 即使你不用這個提示詞,也建議直接按 Shift+Tab 兩次進 Plan Mode 配合。③ 『Out of scope』那段是防止 AI 順手 gold-plating 的關鍵,別刪。④ 批准前真的去讀『Risks & blast radius』和『Files to touch』,這兩段最常暴露方向錯誤。
Open questions: - Q: 新表單送出後要寫進現有的 /api/waitlist 還是新端點? ASSUMPTION: 沿用現有 /api/waitlist。 **Goal restated:** 在首頁 Hero 下方加一個 email 候補表單,送出後寫入既有 waitlist API。 **Files to touch:** - `app/page.tsx` — MODIFY — 在 Hero 後掛入 <WaitlistForm/> - `components/WaitlistForm.tsx` — CREATE — 表單 UI + 送出邏輯 **Implementation steps:** 1. 建 WaitlistForm 元件(含 loading/error/success 三態) 2. 接 /api/waitlist,沿用既有回傳格式 3. 掛進 page.tsx Hero 下方 **Risks & blast radius:** 低。只新增元件 + 一處掛載,不動既有 API。若 /api/waitlist 預期欄位不同會 400(uncertain,需確認)。 **Out of scope:** 不做 email 驗證信、不改資料庫 schema。 **Acceptance criteria:** - [ ] `npm run build` exit 0 - [ ] 輸入 email 送出 → 顯示成功態 - [ ] 空白送出 → 顯示 inline 錯誤 Reply APPROVE to execute, or tell me what to change in the plan.
Suno Engineer's Mindset: 4 Steps to a Song That Doesn't Sound Like AI
A studio engineer's breakdown of Suno's fatal weaknesses (fried vocals, high-frequency artifacts), plus a 4-step DAW workflow and a Suno Studio cleanup prompt.
5 Claude Weekly Workflows That Stuck After 6 Months
Proposal generator / meeting processor / content repurposer / Friday review / shutdown reset — out of 40 I tried, only these 5 survived, each saving 30+ minutes per run.