brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Use this skill whenever the user mentions Microsoft Teams in a development context — whether they're building, integrating, configuring, debugging, porting a Slack bot to Teams, or just asking questions. Covers bots, message extensions, embedded web apps, Adaptive Cards,
Claude Code
$ npx -y skills add microsoft/teams-sdk --skill teams-dev --agent claude-code
Codex
$ npx skills add microsoft/teams-sdk --skill teams-dev -a codex -y
Cursor
$ npx skills add microsoft/teams-sdk --skill teams-dev -a cursor -y
Gemini CLI
$ npx skills add microsoft/teams-sdk --skill teams-dev -a gemini-cli -y
GitHub Copilot
$ npx skills add microsoft/teams-sdk --skill teams-dev -a github-copilot -y
OpenCode
$ npx skills add microsoft/teams-sdk --skill teams-dev -a opencode -y
Windsurf
$ npx skills add microsoft/teams-sdk --skill teams-dev -a windsurf -y
name: teams-dev description: Use this skill whenever the user mentions Microsoft Teams in a development context — whether they're building, integrating, configuring, debugging, porting a Slack bot to Teams, or just asking questions. Covers bots, message extensions, embedded web apps, Adaptive Cards, dialogs, SSO, infrastructure, the Teams Developer CLI/SDK, Slack Bolt migration, and general Teams platform queries. If the word "Teams" appears, err on the side of invoking this skill. teams_cli_version: 3.*
This skill helps you create and manage Microsoft Teams bots using the Teams Developer CLI. Covers both bot application development (creating bot code) and infrastructure management (bot registration, SSO, credentials).
**IMPORTANT:** Use information and guidance provided within this skill and its reference guides. You may also use external public documentation only when it is explicitly linked from this skill or those guides. Do NOT perform arbitrary web searches or rely on unlisted external sources.
Based on the user's request, route to the appropriate guide or handle directly:
**Creating bot application code:**
**Integrating Teams into an existing server:**
**Setting up bot infrastructure (Teams-managed bot & credentials):**
**Setting up SSO authentication:**
**Troubleshooting errors:**
**Porting a Slack Bolt bot to the Teams SDK:**
For simple queries and updates, handle directly using the commands below:
**List all apps:**
teams app list
**View app details:**
teams app get <teamsAppId> --json
**Check authentication status:**
teams status
If the output reports that the CLI is not the latest version (`updateAvailable: true` with `--json`), suggest running `teams self-update`.
**Update CLI to latest version:**
teams self-update
---
**Use case:** Endpoint URL changed (new ngrok/devtunnels session)
**Command:**
teams app update <teamsAppId> --endpoint "https://new-endpoint-url/api/messages"
**When to use:**
> **Note:** If the endpoint domain changed (not just the path), the CLI automatically updates `validDomains` in the manifest. This requires the user to reinstall the app in Teams for the change to take effect.
**Use case:** Update the Teams Developer CLI to the latest version (recommended to stay current with new features and bug fixes)
**Command:**
teams self-update
**When to use:**
**Expected:** CLI downloads and installs the latest version
**Command:**
teams app get <teamsAppId> --json
**Use case:** Check current bot configuration, verify settings
**Command:**
teams app list
**Use case:** See all Teams apps you've created
**Teams SDK Documentation (llms.txt — optimized for LLM consumption):**
**Development Tunnels:** See the [Bot Infrastructure Setup guide](references/guide-create-bot-infra.md) for devtunnel setup instructions.
Teams SDK represents a fundamental reimagining of how Teams apps and AI agents are built, while maintaining compatibility with existing botframework-based agents.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.