npx skills add ...
npx skills add microsoft/teams-sdk --skill teams-dev
npx skills add microsoft/teams-sdk --skill teams-dev
Use this skill whenever the user mentions Microsoft Teams in a development context — whether they're building, integrating, configuring, debugging, or just asking questions. Covers bots, message extensions, embedded web apps, Adaptive Cards, dialogs, SSO, infrastructure, the Teams Developer CLI/SDK, and general Teams platform queries. If the word "Teams" appears, err on the side of invoking this skill.
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:
teams project new (TypeScript/C#/Python, templates, connecting to infrastructure)Integrating Teams into an existing server:
Setting up bot infrastructure (Teams-managed bot & credentials):
Setting up SSO authentication:
Troubleshooting errors:
For simple queries and updates, handle directly using the commands below:
List all apps:
View app details:
Check authentication status:
Update CLI to latest version:
Use case: Endpoint URL changed (new ngrok/devtunnels session)
Command:
When to use:
Note: If the endpoint domain changed (not just the path), the CLI automatically updates
validDomainsin 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:
When to use:
Expected: CLI downloads and installs the latest version
Command:
Use case: Check current bot configuration, verify settings
Command:
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 for devtunnel setup instructions.