跳到正文
Skillpedia
通用编程48k · #4268

copilot-sdk

它能做什么

这个技能可以帮你开发能够控制 GitHub Copilot 的程序。你可以让 Copilot 执行特定任务、管理对话,还可以把它和其他工具集成在一起。

适用场景

  • ✓当你想用 Copilot 自动化处理任务时。
  • ✓当你想创建调用 Copilot 智能能力的自定义工具时。
  • ✓当你要把 Copilot 集成到正在开发的其他软件中时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/copilot-sdk/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/copilot-sdk/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“创建一个程序,使用 GitHub Copilot 为一个简单的网站生成 Python 代码。”

每周 5 个新技能,1 分钟读完。

工作原理

它的原理是通过一种叫 JSON-RPC 的机制,把你的程序和 Copilot 连接起来。这样,你的程序就能向 Copilot 发送指令,并接收它的回复。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

GitHub Copilot SDK

Build applications that programmatically interact with GitHub Copilot. The SDK wraps the Copilot CLI via JSON-RPC, providing session management, custom tools, hooks, MCP server integration, and streaming across Node.js, Python, Go, and .NET.

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

Prerequisites

  • GitHub Copilot CLI installed and authenticated (copilot --version to verify)
  • GitHub Copilot subscription (Individual, Business, or Enterprise) — not required for BYOK
  • Runtime: Node.js 18+ / Python 3.8+ / Go 1.21+ / .NET 8.0+

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

我需要先安装 GitHub Copilot 吗?

需要。你的电脑上必须安装并配置好 GitHub Copilot CLI。

我需要付费使用 GitHub Copilot 吗?

通常需要。除非你使用的是一种叫 BYOK 的特殊配置,否则需要订阅 GitHub Copilot(个人版、商业版或企业版)。

可以用哪些编程语言?

你可以使用 Node.js、Python、Go 或 .NET 来开发程序。

详情

作者的原始描述

Build applications that programmatically interact with GitHub Copilot. The SDK wraps the Copilot CLI via JSON-RPC, providing session management, custom tools, hooks, MCP server integration, and streaming across Node.js, Python, Go, and .NET.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4268
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能