by microsoft
开发者在使用 GitHub Copilot SDK 构建和托管 AI 应用时面临挑战。此技能可帮助您搭建项目结构、将 Copilot SDK 集成到现有代码库、配置 Azure 模型,以及部署到 Azure 容器应用。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 azure-hosted-copilot-sdk 技能" 开始使用
=== azure-hosted-copilot-sdk 技能 === 作者: microsoft 描述: 开发者在使用 GitHub Copilot SDK 构建和托管 AI 应用时面临挑战。此技能可帮助您搭建项目结构、将 Copilot SDK 集成到现有代码库、配置 Azure 模型,以及部署到 Azure 容器应用。 使用方法: 1. 调用技能: "使用 azure-hosted-copilot-sdk 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 azure-hosted-copilot-sdk 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
devops
safe
| 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)View Count
0
Download Count
0
Favorite Count
0
Quality Score
72