@@ -78,34 +78,6 @@ <h3 style="font-size: 1.25rem; font-weight: 600; color: #1d1d1f; margin-bottom:
7878 從場景 1 開始,循序漸進掌握每個功能</ li >
7979 </ ol >
8080
81- < details style ="margin-top: 28px; background: #f5f5f7; padding: 24px; border-radius: 16px; border: none; ">
82- < summary style ="cursor: pointer; font-weight: 600; color: #007aff; font-size: 1rem; "> Agent 快速設置指令(點擊展開)</ summary >
83- < div style ="position: relative; ">
84- < button onclick ="copyAgentPrompt() " style ="position: fixed; top: auto; bottom: 20px; right: 20px; padding: 8px 16px; background: #007aff; color: white; border: none; border-radius: 20px; font-size: 12px; cursor: pointer; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3); display: none; ">
85- 複製
86- </ button >
87- < pre id ="agentPrompt " style ="margin-top: 10px; background: white; padding: 15px; padding-right: 60px; border-radius: 5px; font-size: 0.9rem; overflow-x: auto; "> 請幫我設置 GitHub Copilot 教學專案環境:
88-
89- 1. 首先檢查目前位置並決定克隆位置:
90- - 如果在 VS Code 中已有開啟的專案,請詢問我是否要在當前目錄的父目錄克隆
91- - 如果沒有開啟專案,請詢問我想要克隆到哪個目錄
92- - 建議的位置:~/projects/ 或 ~/Github/
93-
94- 2. 克隆專案(包含 submodule):
95- cd [選定的目錄]
96- git clone --recursive https://github.com/yulin0629/github-copilot-tutorial.git
97- cd github-copilot-tutorial
98-
99- 3. 如果場景 8 的 submodule 沒有正確下載,請執行:
100- git submodule update --init --recursive
101-
102- 4. 檢查專案結構是否完整(應有 8 個場景資料夾)
103-
104- 5. 完成後請使用 VS Code 開啟專案資料夾:
105- - 使用 File > Open Folder 選單
106- - 選擇剛剛克隆的 github-copilot-tutorial 資料夾</ pre >
107- </ div >
108- </ details >
10981
11082 < div style ="text-align: center; margin-top: 20px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; ">
11183 < a href ="# " onclick ="loadMarkdown('./README.md', 'GitHub Copilot 教學專案 - 完整指南'); return false; " class ="btn btn-doc btn-primary ">
@@ -328,6 +300,40 @@ <h3 style="font-size: 1.5rem; font-weight: 600; color: #1d1d1f; margin-bottom: 2
328300 < p style ="font-size: 1rem; color: #6e6e73; max-width: 700px; margin: 0 auto; ">
329301 更重要的是,您將建立起團隊級的 AI 輔助開發流程,讓整個團隊都能受益於這項革命性的技術。
330302 </ p >
303+
304+ < div class ="agent-setup " style ="margin-top: 60px; margin-bottom: 60px; ">
305+ < h3 style ="font-size: 1.25rem; font-weight: 600; color: #1d1d1f; margin-bottom: 20px; "> 進階:Agent 快速設置</ h3 >
306+ < p style ="font-size: 0.9375rem; color: #6e6e73; margin-bottom: 20px; line-height: 1.6; "> 如果您已經熟悉 GitHub Copilot,可以使用以下 Agent 指令快速設置環境:</ p >
307+ < details style ="background: #f5f5f7; padding: 24px; border-radius: 16px; border: none; ">
308+ < summary style ="cursor: pointer; font-weight: 600; color: #007aff; font-size: 1rem; "> Agent 快速設置指令(點擊展開)</ summary >
309+ < div style ="position: relative; ">
310+ < button onclick ="copyAgentPrompt() " style ="position: fixed; top: auto; bottom: 20px; right: 20px; padding: 8px 16px; background: #007aff; color: white; border: none; border-radius: 20px; font-size: 12px; cursor: pointer; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3); display: none; ">
311+ 複製
312+ </ button >
313+ < pre id ="agentPrompt " style ="margin-top: 10px; background: white; padding: 15px; padding-right: 60px; border-radius: 5px; font-size: 0.9rem; overflow-x: auto; "> 請幫我設置 GitHub Copilot 教學專案環境:
314+
315+ 1. 首先檢查目前位置並決定克隆位置:
316+ - 如果在 VS Code 中已有開啟的專案,請詢問我是否要在當前目錄的父目錄克隆
317+ - 如果沒有開啟專案,請詢問我想要克隆到哪個目錄
318+ - 建議的位置:~/projects/ 或 ~/Github/
319+
320+ 2. 克隆專案(包含 submodule):
321+ cd [選定的目錄]
322+ git clone --recursive https://github.com/yulin0629/github-copilot-tutorial.git
323+ cd github-copilot-tutorial
324+
325+ 3. 如果場景 8 的 submodule 沒有正確下載,請執行:
326+ git submodule update --init --recursive
327+
328+ 4. 檢查專案結構是否完整(應有 8 個場景資料夾)
329+
330+ 5. 完成後請使用 VS Code 開啟專案資料夾:
331+ - 使用 File > Open Folder 選單
332+ - 選擇剛剛克隆的 github-copilot-tutorial 資料夾</ pre >
333+ </ div >
334+ </ details >
335+ </ div >
336+
331337 < div style ="margin-top: 40px; padding-top: 32px; border-top: 1px solid #d1d9e0; ">
332338 < p style ="font-size: 0.875rem; color: #86868b; ">
333339 Created by Yulin Wang • Powered by GitHub Copilot
0 commit comments