azure-hosted-copilot-sdk by microsoft/github-copilot-for-azure
npx skills add https://github.com/microsoft/github-copilot-for-azure --skill azure-hosted-copilot-sdk| 用户需求 | 操作 |
|---|---|
| 构建新项目(空项目) | 步骤 2A(脚手架) |
| 向现有仓库添加新的 SDK 服务 | 步骤 2B(并行脚手架) |
| 将现有的 SDK 应用部署到 Azure | 步骤 2C(为现有 SDK 应用添加基础设施) |
| 将 SDK 集成到现有应用代码中 | 集成 SDK |
| 使用 Azure/自有模型 | 步骤 3(BYOM 配置) |
azd init --template azure-samples/copilot-sdk-service
模板包含 API(Express/TypeScript)+ Web UI(React/Vite)+ 基础设施(Bicep)+ Dockerfiles + 令牌脚本 — 请勿重新创建。请参阅 SDK 参考。
用户已有现有代码,并希望在其基础上新增一个 Copilot SDK 服务。将脚手架模板生成到临时目录,将 API 服务和基础设施复制到用户的仓库中,并调整 以包含现有服务和新服务。请参阅 。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
暂无相关 Skills
azure.yaml用户已有一个可运行的 Copilot SDK 应用,需要 Azure 基础设施。请参阅 部署现有项目参考。
三种模型路径(基于步骤 2A/2B 之上):
| 路径 | 配置 |
|---|---|
| GitHub 默认 | 无 model 参数 — SDK 选择默认模型 |
| GitHub 指定 | model: "<名称>" — 使用 listModels() 来发现可用模型 |
| Azure BYOM | model + provider 并通过 DefaultAzureCredential 提供 bearerToken |
请参阅 模型配置参考。
按顺序调用 azure-prepare(跳过其步骤 0 的路由选择 — 脚手架已完成)→ azure-validate → azure-deploy。
AGENTS.md 文件docker info)每周安装量
75.1K
仓库
GitHub 星标数
143
首次出现
13 天前
安全审计
安装于
github-copilot75.1K
codex177
gemini-cli171
opencode156
cursor149
kimi-cli147
| User wants | Action |
|---|---|
| Build new (empty project) | Step 2A (scaffold) |
| Add new SDK service to existing repo | Step 2B (scaffold alongside) |
| Deploy existing SDK app to Azure | Step 2C (add infra to existing SDK app) |
| Add SDK to existing app code | Integrate SDK |
| Use Azure/own model | Step 3 (BYOM config) |
azd init --template azure-samples/copilot-sdk-service
Template includes API (Express/TS) + Web UI (React/Vite) + infra (Bicep) + Dockerfiles + token scripts — do NOT recreate. See SDK ref.
User has existing code and wants a new Copilot SDK service alongside it. Scaffold template to a temp dir, copy the API service + infra into the user's repo, adapt azure.yaml to include both existing and new services. See deploy existing ref.
User already has a working Copilot SDK app and needs Azure infra. See deploy existing ref.
Three model paths (layers on top of 2A/2B):
| Path | Config |
|---|---|
| GitHub default | No model param — SDK picks default |
| GitHub specific | model: "<name>" — use listModels() to discover |
| Azure BYOM | model + provider with bearerToken via DefaultAzureCredential |
See model config ref.
Invoke azure-prepare (skip its Step 0 routing — scaffolding is done) → azure-validate → azure-deploy in order.
AGENTS.md in user's repo before changesdocker info)Weekly Installs
75.1K
Repository
GitHub Stars
143
First Seen
13 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
github-copilot75.1K
codex177
gemini-cli171
opencode156
cursor149
kimi-cli147