[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"pack-detail-github-copilot-power-zh":3,"seo:pack:github-copilot-power:zh":94},{"code":4,"message":5,"data":6},200,"操作成功",{"pack":7},{"slug":8,"icon":9,"tone":10,"status":11,"status_label":12,"title":13,"description":14,"items":15,"install_cmd":93},"github-copilot-power","🐙","#24292E","new","本周新建","GitHub Copilot 进阶 — 不止补全","你只用过 Copilot 的灰字补全？把自定义 instructions、agent 模式、GitHub MCP 和官方定制集都接上 — 这些 2026 的能力大多数人根本没碰过。",[16,28,38,45,52,60,67,76,85],{"id":17,"uuid":18,"slug":19,"title":20,"description":21,"author_name":22,"view_count":23,"vote_count":24,"lang_type":25,"type":26,"type_label":27},98,"1e571d3c-6269-4037-afde-db332bdab08a","github-copilot-official-customization-collection-1e571d3c","GitHub Copilot — Official Customization Collection","Official GitHub Copilot customization: agents, skills, instructions, plugins, hooks, and agentic workflows. Plus documentation.","GitHub",224,0,"en","skill","Skill",{"id":29,"uuid":30,"slug":31,"title":32,"description":33,"author_name":34,"view_count":35,"vote_count":24,"lang_type":25,"type":36,"type_label":37},3162,"cf2dfc89-8d63-4b7d-8810-9ae8189ce6b4","awesome-copilot-agents-instructions-prompts-mcps","Awesome Copilot Agents — Instructions, Prompts & MCPs","Awesome Copilot Agents is a curated list of Copilot instructions, prompts, skills, MCPs, and agent files to bootstrap stronger repo workflows.","Prompt Lab",58,"prompt","Prompt",{"id":39,"uuid":40,"slug":41,"title":42,"description":43,"author_name":44,"view_count":24,"vote_count":24,"lang_type":25,"type":26,"type_label":27},3161,"1368ef7b-1ee3-42e8-86fb-c31edbb9d7b4","security-investigator-copilot-security-investigation-kit","Security Investigator — Copilot Security Investigation Kit","Security Investigator is an investigation system combining Copilot\u002FAgent Skills with security tooling to triage suspicious changes and threats faster.","Script Depot",{"id":46,"uuid":47,"slug":48,"title":49,"description":50,"author_name":34,"view_count":51,"vote_count":24,"lang_type":25,"type":36,"type_label":37},3639,"70286cc7-edee-5e85-a244-68e8508fa0a1","ai-prompts-prompt-rules-for-cursor-copilot-cline","ai-prompts — Prompt Rules for Cursor\u002FCopilot\u002FCline","ai-prompts is an open-source prompts\u002Frules repo for AI coding tools; verified 1,039★ and documents Cursor `.cursor\u002Frules\u002F` and Copilot instruction files.",89,{"id":53,"uuid":54,"slug":55,"title":56,"description":57,"author_name":58,"view_count":59,"vote_count":24,"lang_type":25,"type":26,"type_label":27},517,"c3338e8d-2ef8-4d72-8d2a-43e7518555fd","lnai-unified-ai-config-claude-cursor-copilot-more-c3338e8d","lnai — Unified AI Config for Claude, Cursor, Copilot & More","Define AI tool configs once in a .ai\u002F directory and auto-sync to Claude Code, Cursor, GitHub Copilot, Gemini CLI, Codex, and Windsurf native formats.","AI Open Source",170,{"id":61,"uuid":62,"slug":63,"title":64,"description":65,"author_name":34,"view_count":66,"vote_count":24,"lang_type":25,"type":26,"type_label":27},3158,"df9b812d-1db1-437b-a9ec-8aed4c8c12a9","ruleforge-generate-ai-assistant-rules-from-repo","RuleForge — Generate AI Assistant Rules from Repo","RuleForge is a CLI that scans a repo and generates rule files (CLAUDE.md, .cursorrules, Copilot instructions) so agents follow consistent boundaries.",12,{"id":68,"uuid":69,"slug":70,"title":71,"description":72,"author_name":44,"view_count":73,"vote_count":24,"lang_type":25,"type":74,"type_label":75},3071,"d2596447-aaf5-4338-98b0-6a1993c62980","caliber-auto-refresh-claude-md-and-rules","Caliber — Auto-Refresh CLAUDE.md and Rules","Caliber keeps CLAUDE.md, Cursor rules, AGENTS.md, and Copilot instructions accurate by regenerating them from your current repo state. Bootstrap via npx.",7,"script","Script",{"id":77,"uuid":78,"slug":79,"title":80,"description":81,"author_name":22,"view_count":82,"vote_count":24,"lang_type":25,"type":83,"type_label":84},393,"679a2650-b97b-4e8e-af6e-b51bafcbf610","github-mcp-server-official-github-ai-integration-679a2650","GitHub MCP Server — Official GitHub AI Integration","GitHub's official MCP server that lets AI assistants manage repos, issues, PRs, Actions, and code search through the Model Context Protocol.",182,"mcp","MCP",{"id":86,"uuid":87,"slug":88,"title":89,"description":90,"author_name":91,"view_count":92,"vote_count":24,"lang_type":25,"type":26,"type_label":27},4400,"05ac37b6-aadf-476f-887f-66a21653f731","claude-code-agent-launchdarkly-flag-cleanup-05ac37b6","Claude Code Agent: Launchdarkly Flag Cleanup","A specialized GitHub Copilot agent that uses the LaunchDarkly MCP server to safely automate feature flag cleanup workflows. This agent determines removal readiness, identifies...","TokRepo精选",22,"tokrepo install pack\u002Fgithub-copilot-power",{"pageType":95,"pageKey":8,"locale":96,"title":97,"metaDescription":98,"h1":99,"tldr":100,"bodyMarkdown":101,"faq":102,"schema":118,"internalLinks":124,"citations":137,"wordCount":150,"generatedAt":151},"pack","zh","GitHub Copilot 进阶 — 不止补全（2026 高阶用户包）","你买了 Copilot 只用灰字补全？2026 的 Copilot 还有 Chat、Edits、agent 模式、自定义 instructions、GitHub MCP、Copilot extensions。九个资产，把 Copilot 从打字助手升级成真正的编程伙伴。","GitHub Copilot 进阶 — 自定义 instructions、agent 模式、MCP","大多数团队为 Copilot 付费却只用了 10% 的能力。这个 pack 覆盖剩下的 90%：官方定制集、awesome-copilot 社区清单、ai-prompts 规则库、lnai 统一配置、RuleForge \u002F Caliber 保持 rules 不过期、官方 GitHub MCP server、一个 agent 模式的安全调查员、一个用 Copilot 驱动的 LaunchDarkly flag 清理 agent。按顺序装完，Copilot 会在 PR 里也开始拉车，而不只是在编辑器里发字。","## 这个 pack 包含什么\n\n2026 年的 GitHub Copilot 不是 2021 年那个产品了。你当年付费买的灰字补全，现在只是更大表面里的一个 tab：**Copilot Chat**（针对当前文件或 repo 提问）、**Copilot Edits**（带 diff 预览的多文件重构）、**Copilot agent 模式**（让 Copilot 规划、跑 shell、不停迭代直到测试通过）、**Copilot Extensions**（你能 `@invoke` 的第三方 skill）、**MCP servers**（通过 Model Context Protocol 调用工具）、**自定义 instructions**（项目级文件，Copilot 每轮都读 — 和 `CLAUDE.md`、`.cursor\u002Frules` 一个思路）。\n\n大多数每月付 $10–39 的开发者只用前两样就停了。这个 pack 给那些已经准备好抛弃「只是补全」心智模型的人：九个资产，把 Copilot 升级成一个**真正的编程伙伴**，用上你会给 Claude Code 或 Cursor 一样的严谨度。\n\n目标读者：手上有 Copilot Pro \u002F Business \u002F Enterprise 席位，在 VS Code 或 JetBrains 上用，从来没打开过 `.github\u002Fcopilot-instructions.md`，也搞不清 agent 模式到底干啥的开发者。\n\n## 推荐安装顺序\n\n1. **GitHub Copilot — 官方定制集** — 从源头开始。官方 `github\u002Fawesome-copilot` 仓库收录了 instructions、prompt 文件、skill、agentic workflow 和 GitHub 自己维护的定制范式。先读 README，扫一遍分类。这是接下来其他所有资产的参考索引。\n2. **Awesome Copilot Agents — Instructions, Prompts & MCPs** — 社区维护的姐妹清单。官方那份保守，这份激进：第三方 agent、小众 instructions、MCP 配对、文档还没收录的玩法。先收藏，每月翻一次。\n3. **ai-prompts — Cursor\u002FCopilot\u002FCline 通用 Prompt Rules** — 一个多工具的规则库。哪怕你只用 Copilot，ai-prompts 里也有按技术栈分类（Next.js \u002F Python \u002F Rust \u002F Go）的高质量 `copilot-instructions.md` 模板。挑一个匹配你 repo 的，改一改，提交到 `.github\u002F`。\n4. **lnai — 一份配置同步 Claude \u002F Cursor \u002F Copilot** — 如果你（或团队）同时用了多个 AI 编码工具，别再维护四份配置文件了。lnai 让你在 `.ai\u002F` 目录写一份 instructions，自动同步到 `.github\u002Fcopilot-instructions.md`、`.cursor\u002Frules\u002F`、`CLAUDE.md`、`AGENTS.md`、Gemini CLI、Codex。单一事实源。\n5. **RuleForge — 从仓库自动生成 AI Assistant 规则** — 别从空白文件开始写 instructions。RuleForge 扫描你的 repo（技术栈、规范、目录结构），生成一份起步版 `copilot-instructions.md` 加上 Cursor \u002F Claude 变体。当成 draft v0，改一改，提交。\n6. **Caliber — CLAUDE.md \u002F Rules 自动刷新** — instructions 在技术栈变动的那一刻就过期了。Caliber 按时（或在 pre-commit hook 里）从当前代码重新生成 Copilot instructions、CLAUDE.md、Cursor rules、AGENTS.md。配一次，再也不会有 Copilot session 跑在半年前的配置上。\n7. **GitHub MCP Server — GitHub 官方 AI 集成** — 官方 `github\u002Fgithub-mcp-server` 让任何支持 MCP 的客户端 — 包括 agent 模式的 Copilot — 都能读 PR、提 issue、在 diff 上评论、触发 Actions、搜代码。这是你能装的杠杆最高的一个 MCP。装上之后，Copilot agent 模式的能力会肉眼可见地起飞。\n8. **Security Investigator — Copilot 安全调查工具包** — 一个真正的 agent 模式工作负载。装上之后，Copilot 能给可疑依赖分流、评估某个 CVE 在你 repo 里的影响半径、产出结构化的事件笔记 — agent 跑几分钟而不是几秒钟，调工具、迭代。这才是付那个席位钱的理由。\n9. **Claude Code Agent: LaunchDarkly Flag Cleanup** — 别被「Claude Code」这个名字误导，这个 agent 明确是按 **GitHub Copilot agent** 写的，驱动 LaunchDarkly MCP server 安全清理过期 feature flag。一个 agent + MCP 组合在真实运维琐事上的完整范例，大多数团队这事做得很差。\n\n## 它们怎么协同\n\n把 2026 的 Copilot 想成四层结构，这个 pack 在每一层都铺好了砖：\n\n```\nCopilot Chat \u002F Edits   ← 你已经在用的（补全 + 问答）\n        │\n自定义 instructions    ← #3 ai-prompts, #5 RuleForge（生成）, #6 Caliber（保鲜）\n        │\n统一配置                ← #4 lnai（跨工具单一事实源）\n        │\nMCP servers            ← #7 GitHub MCP（地基）\n        │\nagent 模式工作负载      ← #8 安全调查员, #9 LaunchDarkly 清理\n        │\n参考 \u002F 发现             ← #1 官方集, #2 awesome-copilot\n```\n\n**Chat \u002F Edits \u002F 自定义 instructions \u002F Agent 模式 \u002F MCP** 是五个有名字的表面。#1 #2 教你这些表面长啥样；#3–#6 占据**自定义 instructions** 那一层；#7 接通 MCP；#8 #9 是你能直接抄的真实 agent 模式工作负载。\n\n承重墙是**自定义 instructions + GitHub MCP**。装好 #3（或者用 #5 生成），接上 #7，你下一次 agent 模式 session 就比裸 baseline 强 10 倍。其他都是叠 buff。\n\n## 你会遇到的取舍\n\n- **Copilot vs Claude Code \u002F Cursor** — Copilot 赢在三件事：和 GitHub.com \u002F PR \u002F Actions 的集成最深（没有其他工具能原生看到你的 PR 讨论）、安全团队已经批过的席位授权、不用装第三方就能在 VS Code \u002F JetBrains 稳定跑。Claude Code 赢在原始能力和终端原生工作流。Cursor 赢在 UX 打磨和 `.cursor\u002Frules` 人体工学。**什么时候选 Copilot**：PR review、GitHub 原生工作流、Anthropic\u002FCursor 没批的合规企业、JetBrains 重度用户。**什么时候转 Claude Code 或 Cursor**：长时间自主编码 session、终端密集型工作、在 GitHub repo 之外的原型开发。\n- **自定义 instructions vs prompt 文件** — Copilot 同时支持 `.github\u002Fcopilot-instructions.md`（每轮都读，项目级）和单独的 `.github\u002Fprompts\u002F*.prompt.md`（显式调用）。**常驻上下文**（技术栈、规范、硬性禁忌）用 instructions；**有名字的工作流**（「写一个 migration」「报一个 bug」）用 prompt 文件。别什么都往 instructions 塞 — token 预算很现实。\n- **官方集（#1）vs awesome-copilot（#2）** — 重叠是真的。官方保守、GitHub 亲自策展；awesome-copilot 全面、社区驱动。#1 当文档，#2 当探索。#1 完整扫一遍；#2 每月翻一次。\n- **lnai（#4）vs 手动维护四份配置** — 只用 Copilot 的话跳过 lnai。一旦你也开始用 Claude Code 或 Cursor，立刻上 — 多工具间的配置漂移是「昨天还能跑今天不行」这类问题的真实来源。\n- **Agent 模式 vs Chat 处理同一个任务** — Chat 对话式、快、单轮。Agent 模式会规划、跑命令、失败了再迭代，可能耗几分钟。「解释这个函数」用 Chat；要跑测试、调 MCP 工具、串联多步的任务用 agent 模式。\n\n## 常见踩坑\n\n- **Copilot instructions 写太长** — 和 CLAUDE.md 一个陷阱。30–100 行是黄金区间。Copilot 每轮都读 instructions，肿胀的文件会烧 context 预算、拖慢延迟。\n- **忘了 `.github\u002Fcopilot-instructions.md` 这层** — 文件在 `.github\u002F` 不在 repo 根目录。很多文件树视图里看不到，特别容易漏。装完后跑 `git ls-files .github\u002F` 检查。\n- **把 prompt 类内容塞进 instructions** — 把一段长的「写个 migration」prompt 放在 instructions 里，意味着它**每一轮都跑**，哪怕你只是问一个函数干啥的。有名字的工作流挪到 `.github\u002Fprompts\u002F`。\n- **跳过 MCP 的 org admin 步骤** — 在 Copilot Enterprise \u002F Business 上，MCP server 可能需要组织级别批准 agent 模式才能调用。如果 GitHub MCP「跑不起来」，先查组织策略再 debug server。\n- **把 agent 模式当成「带步骤的补全」** — Agent 模式适合那种 agent 自己能验证成功条件的任务（测试通过、lint 干净、flag 删掉）。给它开放式的「把这个重构得漂亮点」任务，你只会看着它原地打转。每次 agent 跑都要配一个具体的检查点。\n- **从不刷新 instructions** — Caliber（#6）这个工具存在的理由就是：没人会在第一周之后手动更新 `copilot-instructions.md`。给它配个定时，或者挂在依赖更新 PR 的 hook 里。",[103,106,109,112,115],{"q":104,"a":105},"我就用 Copilot 做补全，真的要再装九个东西？","不一定 — 只用补全是 Copilot 的合法用法。这个 pack 是给你**之后**那一刻准备的：当你发现 Copilot 每隔一行就给一个违反团队规范的建议、或者听说过 agent 模式但从来没试过。如果你对灰字补全很满意，继续用就行。如果你受够了 Copilot 写出和你团队风格完全不沾边的 React 代码，今天就装 #3 或 #5 — 光是自定义 instructions 就能解决大部分这类抱怨。",{"q":107,"a":108},"只有 20 分钟的话，先装哪三个？","ai-prompts（#3）拿一份能立即提交的 `copilot-instructions.md` 模板、GitHub MCP（#7）让 agent 模式真的能和你的 repo 对话、官方定制集（#1）当参考索引。装好这三个，你的 Copilot 配置已经超过 80% 的团队；剩下的 pack 是纵深。",{"q":110,"a":111},"为啥要同时装 RuleForge 和 Caliber？不重复吗？","干的是不同时刻的不同活。RuleForge（#5）是**一次性生成器** — 对着一个新 repo 跑一下，拿到起步版 `copilot-instructions.md`。Caliber（#6）是**长期刷新器** — 在你技术栈漂移（新依赖、新规范、删了的服务）的时候保持那个文件准确。用 RuleForge bootstrap，用 Caliber 维护。如果你愿意手写第一版，跳过 RuleForge 没问题。",{"q":113,"a":114},"Copilot 的 agent 模式真的能和 Claude Code、Cursor 的 agent 较劲吗？","说实话：现在还有能力差距，但在快速缩小。Claude Code 和 Cursor 在长时间自主工作和原始模型 headroom 上仍占优。Copilot agent 模式赢在集成：它就在你 PR 发生的地方、安全团队已经批了席位、JetBrains 支持是一等公民。对一个已经在 Copilot 上的开发者，2026 的正确动作是**让 agent 模式跑好**，而不是去追第二个工具 — 除非你撞上 Copilot 真的搞不定的工作流。",{"q":116,"a":117},"这些东西在 Copilot Individual 上能用，还是必须 Business \u002F Enterprise？","绝大多数在 Copilot Pro \u002F Individual 上都能用：自定义 instructions、prompt 文件、Chat、Edits、agent 模式、VS Code 里的 MCP server。Enterprise 独占的是绑定到 GitHub 组织的 knowledge base、某些策略控制、组织级 MCP 审批。个人开发者或小团队用 Pro 的话，这整个 pack 都能跑。踩坑里那条「组织策略」注脚只在管理员锁死了的情况下才适用。",{"@context":119,"@type":120,"name":13,"description":121,"numberOfItems":122,"inLanguage":123},"https:\u002F\u002Fschema.org","ItemList","九个资产，把 GitHub Copilot 用户从「只用补全」推到自定义 instructions、agent 模式、MCP 和 2026 完整的表面积。",9,"zh-CN",[125,129,133],{"url":126,"anchor":127,"reason":128},"\u002Fzh\u002Ffeatured","TokRepo 精选资产","装完 Copilot 进阶包后，可以浏览更大的精选目录",{"url":130,"anchor":131,"reason":132},"\u002Fzh\u002Ftopics","浏览其他主题 pack","相邻 pack：Claude Code 新手包、AI 代码编辑器横评、MCP Server 全家桶",{"url":134,"anchor":135,"reason":136},"\u002Fzh\u002Fai-tools-for\u002Fcoding","AI 编码工具","看看 GitHub Copilot 和 Claude Code、Cursor、Codex CLI、Cline 的对比",[138,142,146],{"claim":139,"source_name":140,"source_url":141},"GitHub Copilot 在 2026 包含 Chat、Edits、agent 模式、自定义 instructions、prompt 文件、MCP server、Extensions","GitHub Copilot 官方文档","https:\u002F\u002Fdocs.github.com\u002Fen\u002Fcopilot",{"claim":143,"source_name":144,"source_url":145},"Copilot 把 `.github\u002Fcopilot-instructions.md` 当作项目级自定义 instructions 读取","GitHub Docs — About custom instructions for GitHub Copilot","https:\u002F\u002Fdocs.github.com\u002Fen\u002Fcopilot\u002Fcustomizing-copilot\u002Fabout-customizing-github-copilot-chat-responses",{"claim":147,"source_name":148,"source_url":149},"GitHub 官方 MCP server 仓库地址 github\u002Fgithub-mcp-server","github\u002Fgithub-mcp-server","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server",1620,"2026-05-22T00:00:00Z"]