適用情境
剛裝好(或還沒裝)ThinkRail,想用最小路徑體驗一次「工作區 → 對話 → diff」的閉環。
核心步驟
- 安裝(2 分鐘)——macOS/Linux:
curl -fsSL https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.sh | bash;Windows:powershell -c "irm https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.ps1 | iex"。驗收:終端機跑thinkrail --version有輸出。 - 開專案——
thinkrail ~/code/my-repo(換成你的 repo;沒有的話 app 內 Start a new project)。瀏覽器自動打開 app。驗收:topbar 顯示你的專案與 repo。 - 切工作區——⌘K → New workspace(或 ⌘N),給分支取個名。驗收:工作區切換器出現新工作區,檔案樹是乾淨的 worktree。
- 第一段對話——在 chat 裡描述一件小事(修 typo、加一個測試)。需求有歧義時代理會丟結構化選項給你選,而不是瞎猜。驗收:計畫出現、代理動工、token/cost 在跳。
- 看 diff、收工——檔案樹的變更標記+Changed view 看改動;滿意就讓它 commit,topbar 走 publish/push。不滿意就在 diff 上釘註解送回對話。驗收:topbar 顯示分支對 origin 的狀態。