本頁給能讀寫本機資料夾、可執行終端機命令的 agentic AI 使用。用戶不用先理解 npm 或選擇指令;AI 讀完本頁後,應在目前資料夾安全判斷要安裝、升級或停止。
請讀取 https://adamchanadam.github.io/agent-handoff-kit/agent-handoff-kit-ai-install.html,並在這個資料夾安裝或升級 Agent Handoff Kit。
執行任何 `npx` 命令前,先記住本段。安裝或升級完成後,AI 不可只說「完成」或只貼終端機輸出;必須用以下格式向用戶交代結果和下一步。
完成報告範本:✅ 安裝完成。📁 目前資料夾:<絕對路徑>。🩺 `doctor` 已通過。⚠️ 下一步不是終端機指令;請在能讀寫此資料夾的 AI 對話輸入 `Start Agent Handoff` 或「開工」。若 AI 還未指向此資料夾,才使用:`Work in <絕對路徑>. Read AGENTS.md first, then Start Agent Handoff. Before changing anything, tell me the current state and your recommended next step.`
如果沒有 `AGENTS.md`、`CLAUDE.md`、`GEMINI.md`、`START_NEXT_SESSION_PROMPT.txt`、`dev/`,使用 fresh install。
npx --yes @adamchanadam/agent-handoff-kit@latest init --yes --root .
如果已有任何 Kit 檔案或既有 AI 記憶檔,先預演升級,不直接覆寫。
npx --yes @adamchanadam/agent-handoff-kit@latest upgrade --dry-run --root .
npx --yes @adamchanadam/agent-handoff-kit@latest upgrade --yes --root .
npx --yes @adamchanadam/agent-handoff-kit@latest doctor --root .
本段是頁頂完成報告契約的檢查清單。執行完後,AI 不可只說「完成」或只貼終端機輸出。必須用簡短中文向用戶交代結果和下一步。
✅ 安裝完成。📁 目前資料夾:<絕對路徑>。🩺 `doctor` 已通過。下一步不要留在終端機;請在能讀寫此資料夾的 AI 對話輸入 `Start Agent Handoff` 或「開工」。若 AI 還未指向此資料夾,才使用:`Work in <絕對路徑>. Read AGENTS.md first, then Start Agent Handoff. Before changing anything, tell me the current state and your recommended next step.`