teams-dev

作成者: microsoft

ユーザーが開発の文脈でMicrosoft Teamsに言及した場合にこのスキルを使用してください。構築、統合、設定、デバッグ、または単に…

npx skills add https://github.com/microsoft/teams-sdk --skill teams-dev

Teams Bot Development & Infrastructure

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.

Workflow Routing

Based on the user's request, route to the appropriate guide or handle directly:

Complex Workflows (Use References)

Creating bot application code:

  • Read and follow the Bot Application Development guide
  • This covers: Scaffolding a new bot project with teams project new (TypeScript/C#/Python, templates, connecting to infrastructure)

Integrating Teams into an existing server:

  • Read and follow the Integrate Existing Server guide
  • This covers: Adding Teams bot functionality to an existing server using built-in adapters (ExpressAdapter for TypeScript, FastAPIAdapter for Python) or a custom adapter for any framework

Setting up bot infrastructure (Teams-managed bot & credentials):

Setting up SSO authentication:

  • Read and follow the SSO Setup guide
  • This covers: Bot migration → AAD app configuration → OAuth connection → Manifest update → Verification
  • Prerequisites: Existing bot (teamsAppId, botId), az CLI authenticated

Troubleshooting errors:

Simple Operations (Handle Directly)

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

Update CLI to latest version:

teams self-update

Common Operations

Update Bot Endpoint

Use case: Endpoint URL changed (new ngrok/devtunnels session)

Command:

teams app update <teamsAppId> --endpoint "https://new-endpoint-url/api/messages"

When to use:

  • Ngrok URL changed (new session)
  • Devtunnels URL changed
  • Switching between different local development tunnels

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.

Update Teams Developer CLI

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:

  • Periodically update to get latest features
  • After bug reports or known issues
  • When new CLI features are announced

Expected: CLI downloads and installs the latest version

View App Details

Command:

teams app get <teamsAppId> --json

Use case: Check current bot configuration, verify settings

List All Apps

Command:

teams app list

Use case: See all Teams apps you've created

Resources

Teams SDK Documentation (llms.txt — optimized for LLM consumption):

Development Tunnels: See the Bot Infrastructure Setup guide for devtunnel setup instructions.

microsoftのその他のスキル

oss-growth
microsoft
OSS成長ハッカーのペルソナ
official
microsoft-foundry
microsoft
Foundryエージェントのエンドツーエンドでのデプロイ、評価、管理:Dockerビルド、ACRプッシュ、ホスト型/プロンプトエージェント作成、コンテナ起動、バッチ評価、継続的評価、プロンプト最適化ワークフロー、agent.yaml、トレースからのデータセットキュレーション。用途:エージェントをFoundryにデプロイ、ホスト型エージェント、エージェント作成、エージェント呼び出し、エージェント評価、バッチ評価実行、継続的評価、継続的モニタリング、継続的評価ステータス、プロンプト最適化、プロンプト改善、プロンプトオプティマイザー、エージェント指示最適化、エージェント改善...
officialdevelopmentdevops
azure-ai
microsoft
Azure AI向けに使用:Search、Speech、OpenAI、Document Intelligence。検索、ベクター/ハイブリッド検索、音声認識、音声合成、文字起こし、OCRを支援。使用時:AI Search、クエリ検索、ベクター検索、ハイブリッド検索、セマンティック検索、音声認識、音声合成、文字起こし、OCR、テキスト読み上げ。
officialdevelopmentapi
azure-deploy
microsoft
既存の.azure/deployment-plan.mdとインフラストラクチャファイルを持つ、すでに準備済みのアプリケーションに対してAzureデプロイを実行します。ユーザーが新しいアプリケーションの作成を依頼した場合はこのスキルを使用せず、代わりにazure-prepareを使用してください。このスキルは、azd up、azd deploy、terraform apply、az deploymentコマンドを組み込みのエラーリカバリ機能付きで実行します。azure-prepareからの.azure/deployment-plan.mdと、azure-validateからの検証済みステータスが必要です。使用タイミング:「azd upを実行」、「azd deployを実行」、「デプロイを実行」...
officialdevopsaws
azure-storage
microsoft
Azure Storage Servicesには、Blob Storage、File Shares、Queue Storage、Table Storage、Data Lakeが含まれます。ストレージアクセス層(ホット、クール、コールド、アーカイブ)について、各層の使用タイミングや比較に関する質問に回答します。オブジェクトストレージ、SMBファイル共有、非同期メッセージング、NoSQLキーバリュー、ビッグデータ分析を提供します。ライフサイクル管理を含みます。使用用途:ブロブストレージ、ファイル共有、キューストレージ、テーブルストレージ、データレイク、ファイルアップロード、ブロブダウンロード、ストレージアカウント、アクセス層、...
officialdevelopmentdatabase
azure-diagnostics
microsoft
Azure上でAppLens、Azure Monitor、リソースヘルス、安全なトリアージを使用して、Azureの本番環境の問題をデバッグします。使用時:本番環境の問題のデバッグ、App Serviceのトラブルシューティング、App Serviceの高CPU、App Serviceのデプロイ障害、コンテナアプリのトラブルシューティング、Functionsのトラブルシューティング、AKSのトラブルシューティング、kubectlが接続できない、kube-system/CoreDNSの障害、PodがPending状態、CrashLoop、ノードがReadyにならない、アップグレード障害、ログの分析、KQL、インサイト、イメージプル障害、コールドスタート問題、ヘルスプローブ障害、...
officialdevopsdevelopment
azure-prepare
microsoft
Azureアプリのデプロイ準備(インフラBicep/Terraform、azure.yaml、Dockerfiles)。新規作成/モダナイズ、または作成+デプロイに使用。クロスクラウド移行には非対応(azure-cloud-migrateを使用)。使用禁止:copilot-sdkアプリ(azure-hosted-copilot-sdkを使用)。対象:「アプリ作成」「Webアプリ構築」「API作成」「サーバーレスHTTP API作成」「フロントエンド作成」「バックエンド作成」「サービス構築」「アプリケーションのモダナイズ」「アプリケーション更新」「認証追加」「キャッシュ追加」「Azureへのホスティング」「作成および...」
officialdevelopmentdevops
azure-validate
microsoft
Azureへの準備が整っているかを確認するためのデプロイ前検証。構成、インフラストラクチャ(BicepまたはTerraform)、RBACロールの割り当て、マネージドIDの権限、前提条件について詳細なチェックを実行します。使用場面:アプリの検証、デプロイ準備状況の確認、事前チェックの実行、構成の確認、デプロイ可能かの確認、azure.yamlの検証、Bicepの検証、デプロイ前のテスト、デプロイエラーのトラブルシューティング、Azure Functionsの検証、関数アプリの検証、サーバーレスの検証...
officialdevopstesting