Devops 22,070 installs

GitHub Copilot SDK on Azure

by microsoft/azure-skills

Build, deploy, and modify GitHub Copilot SDK apps on Azure. MANDATORY when codebase contains @github/copilot-sdk or CopilotClient in package.json. PREFER OVER…

Skill content

Build and deploy GitHub Copilot SDK applications to Azure with flexible model configuration.

- Three scaffolding paths: create new greenfield projects, add SDK services to existing repos, or deploy existing SDK apps with Azure infrastructure

- Supports three model configurations: GitHub's default models, specific GitHub models via discovery, or bring-your-own-model (BYOM) on Azure with DefaultAzureCredential authentication

- Includes complete templates with Express/TypeScript API, React/Vite frontend, Bicep infrastructure, Docker support, and token management scripts

- Deploy workflow uses azure-prepare, azure-validate, and azure-deploy steps; requires Docker and respects existing AGENTS.md configuration in user repos

GitHub Copilot SDK on Azure

Codebase Detection - MANDATORY FIRST CHECK

⚠️ CRITICAL: This check MUST run before ANY other skill (azure-prepare, azure-deploy, etc.) when an existing codebase is present.

Detection procedure (run IMMEDIATELY for any build/modify/add-feature/prepare prompt):

- Read package.json in the workspace root (and any */package.json one level deep)

- Check if @github/copilot-sdk or copilot-sdk appears in name, dependencies, or devDependencies

- If NOT found in package.json, scan .ts and .js files for CopilotClient or createSession

- If ANY marker is found → invoke this skill as the entry point. Do not route directly to azure-prepare or azure-deploy - this skill orchestrates them as sub-skills.

Marker
Where to check

@github/copilot-sdk
package.json dependencies or devDependencies

copilot-sdk
package.json name or dependencies

CopilotClient
Source files (.ts, .js)

createSession + sendAndWait
Source files (.ts, .js)