TechSummary 2025-08-19
· 閱讀時間約 15 分鐘
Agents panel: Launch Copilot coding agent tasks anywhere on GitHub 🚀
- GitHub Copilot coding agent 是一款非同步、自主的開發者代理,可將 GitHub issue 指派給 Copilot,由其在後台工作並建立草稿拉取請求 (PR) 供審閱。
- 新推出的 Agents panel 允許開發者從 GitHub.com 上的任何頁面快速將任務委託給 Copilot,並追蹤其進度而無需中斷工作流程。
- Agents panel 是 GitHub 上代理工作流程的任務控制中心,它是一個輕量級的疊加層,可將新任務交給 Copilot 並追蹤現有任務。
- 可用的功能包括:無需切換頁面即可分配後台任務、實時監控運行中的任務、以及在準備好審閱時跳轉到拉取請求。
- 支援從 GitHub.com、GitHub Mobile、Copilot Chat、VS Code 或支援 MCP 的工具發起任務。
- Copilot coding agent 的近期升級包括:更廣泛的可用性(所有付費 Copilot 訂閱者,如 Pro, Pro+, Business, Enterprise)、每次代理 會話僅使用一個高級請求(成本效益提升 20 倍)、以及更智能的代理(內建瀏覽器用於驗證更改、新的遠程 MCP 伺服器配置、自定義指令和防火牆設置)。
- 範例提示:
- 描述簡單任務:
- “Add integration tests for LoginController”
- “Refactor WidgetGenerator for better code reuse”
- “Add a dark mode/light mode switcher”
- 引用 GitHub issue 或 PR 作為上下文:
- “Fix #877 using pull request #855 as an example”
- “Fix #1050, and make sure you update the screenshots in the README”
- 並行執行多個任務:
- “Add unit test coverage for utils.go” + “Add unit test coverage for helpers.go”
- 描述簡單任務: