跳到正文
cccskills
免费在 GitHub 公开

teams-app-developer

Builds, tests, and deploys Microsoft 365 apps and agents for Teams and Copilot. Includes sub-skills for project creation, local testing, cloud deployment, troubleshooting, and Slack-to-Teams migration. USE FOR: Teams agent, bot, tab, message extension, Declarative Agents, Custom Engine Agents, local testing, Agents Playground, Azure resource provision, remote deployment, Slack to Teams migration, cross-platform bot development, Block Kit to Adaptive Cards conversion. DO NOT USE FOR: general web development, non-bot/non-Teams projects.

中文简介正在准备中。当前显示原文说明。

集成工具SlackAzure
查看安装方法

包含的文件(148)

  • SKILL.md7.6 KB
  • create-project/create-project.md8.1 KB
  • docs/advanced-features.md7.0 KB
  • docs/feature-gaps.md46.3 KB
  • docs/files-and-links.md4.2 KB
  • docs/identity-and-auth.md4.3 KB
  • docs/infrastructure.md6.7 KB
  • docs/interactive-responses.md4.4 KB
  • docs/messaging-and-commands.md4.5 KB
  • docs/middleware-and-handlers.md4.4 KB
  • docs/README.md2.8 KB
  • docs/ui-components.md6.9 KB
  • docs/workflows.md14.4 KB
  • experts/_expert-ts.md2.2 KB
  • experts/analyzer.md14.0 KB
  • experts/bridge/app-distribution-packaging-ts.md14.2 KB
  • experts/bridge/channel-ops-graph-ts.md15.4 KB
  • experts/bridge/commands-slash-text-ts.md18.5 KB
  • experts/bridge/cross-platform-advisor-ts.md36.4 KB
  • experts/bridge/cross-platform-architecture-ts.md8.3 KB
  • experts/bridge/events-activities-ts.md22.4 KB
  • experts/bridge/files-upload-download-ts.md17.2 KB
  • experts/bridge/identity-oauth-bridge-ts.md19.8 KB
  • experts/bridge/index.md13.0 KB
  • experts/bridge/infra-compute-ts.md14.6 KB
  • experts/bridge/infra-observability-ts.md14.0 KB
  • experts/bridge/infra-secrets-config-ts.md13.2 KB
  • experts/bridge/infra-storage-ts.md14.3 KB
  • experts/bridge/interactive-responses-ts.md19.6 KB
  • experts/bridge/link-unfurl-preview-ts.md17.1 KB
  • experts/bridge/middleware-handlers-ts.md15.4 KB
  • experts/bridge/python-cross-platform.md9.3 KB
  • experts/bridge/rate-limiting-resilience-ts.md17.6 KB
  • experts/bridge/rest-only-integration-ts.md8.4 KB
  • experts/bridge/scheduling-deferred-send-ts.md17.8 KB
  • experts/bridge/shortcuts-extensions-ts.md17.5 KB
  • experts/bridge/transport-socketmode-https-ts.md14.3 KB
  • experts/bridge/ui-app-home-personal-tab-ts.md14.5 KB
  • experts/bridge/ui-block-kit-adaptive-cards-ts.md21.5 KB
  • experts/bridge/ui-legacy-attachments-cards-ts.md11.2 KB
  • experts/bridge/ui-modals-dialogs-ts.md21.4 KB
  • experts/bridge/workflow.composable-platform-ts.md13.7 KB
  • experts/bridge/workflows-automation-ts.md14.3 KB
  • experts/builder.md11.1 KB
  • experts/convert/bulk-conversion-strategy-ts.md12.8 KB
  • experts/convert/dependency-mapping-ts.md8.3 KB
  • experts/convert/index.md3.5 KB
  • experts/convert/java-to-ts-ts.md20.6 KB
  • experts/convert/js-to-ts-ts.md6.2 KB
  • experts/convert/json-serialization-ts.md11.0 KB
  • experts/convert/kotlin-to-ts-ts.md11.2 KB
  • experts/convert/ruby-to-ts-ts.md9.7 KB
  • experts/convert/type-mapping-ts.md10.1 KB
  • experts/deploy/aws-bot-deploy-ts.md14.6 KB
  • experts/deploy/aws-cli-reference-ts.md52.4 KB
  • experts/deploy/azure-bot-deploy-ts.md15.4 KB
  • experts/deploy/azure-cli-reference-ts.md16.9 KB
  • experts/deploy/index.md4.6 KB
  • experts/fallback.md2.1 KB
  • experts/index.md18.9 KB
  • experts/models/anthropic-ts.md7.8 KB
  • experts/models/bedrock-ts.md9.9 KB
  • experts/models/foundry-cloud-ts.md8.1 KB
  • experts/models/foundry-local-ts.md10.6 KB
  • experts/models/index.md5.8 KB
  • experts/models/openai-azure-openai-ts.md8.3 KB
  • experts/models/oss-openai-compatible-ts.md10.7 KB
  • experts/models/transformers-js-ts.md11.6 KB
  • experts/prompt-engineer.md14.7 KB
  • experts/README.md8.6 KB
  • experts/researcher.md2.8 KB
  • experts/security/index.md1.2 KB
  • experts/security/input-validation-ts.md13.8 KB
  • experts/security/secrets-ts.md13.9 KB
  • experts/slack/bolt-assistant-ts.md9.9 KB
  • experts/slack/bolt-events-ts.md9.3 KB
  • experts/slack/bolt-java.md8.9 KB
  • experts/slack/bolt-oauth-distribution-ts.md10.9 KB
  • experts/slack/bolt-python.md9.5 KB
  • experts/slack/cli.app-management.md7.9 KB
  • experts/slack/cli.datastore-env.md8.6 KB
  • experts/slack/cli.getting-started.md8.0 KB
  • experts/slack/cli.local-dev-deploy.md8.4 KB
  • experts/slack/cli.manifest-triggers.md9.9 KB
  • experts/slack/index.md8.9 KB
  • experts/slack/runtime.ack-rules-ts.md9.8 KB
  • experts/slack/runtime.bolt-foundations-ts.md10.7 KB
  • experts/slack/runtime.shortcuts-ts.md11.0 KB
  • experts/slack/runtime.slash-commands-ts.md11.6 KB
  • experts/slack/runtime.socket-mode-ts.md9.5 KB
  • experts/slack/ui.block-kit-ts.md11.5 KB
  • experts/slack/ui.modals-lifecycle-ts.md13.3 KB
  • experts/slack/web-api-proactive-ts.md11.0 KB
  • experts/slack/workflow.slack-automations-ts.md10.2 KB
  • experts/teams/a2a.client-basics-ts.md9.7 KB
  • experts/teams/a2a.orchestrator-patterns-ts.md12.7 KB
  • experts/teams/a2a.server-basics-ts.md11.4 KB
  • experts/teams/ai.chatprompt-basics-ts.md8.1 KB
  • experts/teams/ai.citations-feedback-ts.md6.9 KB
  • experts/teams/ai.conversational-query-ts.md14.2 KB
  • experts/teams/ai.function-calling-design-ts.md9.0 KB
  • experts/teams/ai.function-calling-implementation-ts.md7.7 KB
  • experts/teams/ai.memory-localmemory-ts.md7.3 KB
  • experts/teams/ai.model-setup-ts.md6.6 KB
  • experts/teams/ai.rag-retrieval-ts.md7.4 KB
  • experts/teams/ai.rag-vectorstores-ts.md8.5 KB
  • experts/teams/ai.streaming-ts.md6.9 KB
  • experts/teams/auth.oauth-sso-ts.md10.1 KB
  • experts/teams/compat.botbuilder-interop-ts.md14.6 KB
  • experts/teams/dev.debug-test-ts.md14.1 KB
  • experts/teams/graph.usergraph-appgraph-ts.md9.0 KB
  • experts/teams/index.md9.8 KB
  • experts/teams/mcp.client-basics-ts.md9.5 KB
  • experts/teams/mcp.expose-chatprompt-tools-ts.md9.5 KB
  • experts/teams/mcp.security-ts.md10.4 KB
  • experts/teams/mcp.server-basics-ts.md9.9 KB
  • experts/teams/project.scaffold-files-ts.md12.2 KB
  • experts/teams/runtime.app-init-ts.md10.9 KB
  • experts/teams/runtime.manifest-ts.md12.3 KB
  • experts/teams/runtime.proactive-messaging-ts.md12.6 KB
  • experts/teams/runtime.routing-handlers-ts.md12.3 KB
  • experts/teams/state.storage-patterns-ts.md9.4 KB
  • experts/teams/teams-dotnet.md8.2 KB
  • experts/teams/teams-python.md8.3 KB
  • experts/teams/ui.adaptive-cards-ts.md12.9 KB
  • experts/teams/ui.dialogs-task-modules-ts.md15.1 KB
  • experts/teams/ui.message-extensions-ts.md15.6 KB
  • experts/teams/workflow.approvals-inline-ts.md12.4 KB
  • experts/teams/workflow.message-native-records-ts.md10.6 KB
  • experts/teams/workflow.sharepoint-lists-ts.md9.0 KB
  • experts/teams/workflow.state-driven-events-ts.md12.2 KB
  • experts/teams/workflow.triggers-compose-ts.md10.3 KB
  • experts/update-experts.md10.0 KB
  • provision-deploy/provision-deploy.md4.3 KB
  • slack-to-teams/SKILL.md8.9 KB
  • test-playground/playground-cli.md4.6 KB
  • test-playground/playground.md4.5 KB
  • test-playground/test-playground.md1.1 KB
  • test-teams/test-teams.md4.9 KB
  • toolkit/commands.md2.6 KB
  • toolkit/environments.md12.6 KB
  • toolkit/lifecycle-cli.md17.6 KB
  • toolkit/manifest-and-yaml.md6.0 KB
  • toolkit/playground.md7.6 KB
  • toolkit/publish.md9.3 KB
  • toolkit/README.md4.2 KB
  • toolkit/templates.md6.7 KB
  • troubleshoot/troubleshoot.md20.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Microsoft 365 Agents Toolkit Skill

Build Microsoft 365 agents and Teams apps using the ATK CLI.

AI Behavior Guidelines

  1. Testing Strategy: Recommend Agents Playground first (faster, no M365 needed). Use Teams workflow only if user explicitly requests it.

  2. Environment Variables: NEVER hardcode secrets or make up placeholder values. Always ask users for real values.

  3. Error Handling: Read error messages carefully. Check env/.env.local, .localConfigs, and atk auth list. Common pitfalls:

    • AADSTS7000229 → aadApp/create missing generateServicePrincipal: true in YAML — add it and re-provision
    • Missing TENANT_ID in .localConfigs → SDK uses wrong token authority → 401 from Bot Connector
    • 401 persists after auth fix → devtunnel URL may be blacklisted — create a fresh tunnel
    • See troubleshoot/troubleshoot.md for full diagnostic steps
  4. Long-Running Commands — WAIT for completion:

    • atk new, atk provision, atk deploy can take several minutes
    • Always wait for completion before running the next step (timeout 120000ms+)
  5. Local Service Startup — Hangs terminal (expected):

    • npm run dev, npm start, python app.py, devtunnel host, etc. will hang — the process keeps running indefinitely
    • ALWAYS run as a background process (isBackground=true) — NEVER use isBackground=false for these commands
    • Do NOT wait for it to "finish" — verify startup by checking output for "listening on port" or tunnel URL
    • If errors appear, read logs, diagnose, fix, restart
    • Use a NEW terminal to launch Agents Playground or open Teams sideloading URL
  6. Monitor App Logs: Periodically check background terminal output for runtime errors. If the app crashes, read the error, fix the root cause, and restart.

  7. Telemetry Tagging: Before running any atk CLI commands, set the session environment variable so all CLI invocations are tagged as skill-initiated:

    export ATK_CLI_SKILL=true
    

    Run this once at the start of the session. All subsequent atk commands in the same terminal will inherit it.

ATK CLI Setup

atk --version  # Must be > 1.1.5-beta

If ATK is not found or version is too old:

npm i -g @microsoft/m365agentstoolkit-cli@beta

CLI Global Options

OptionMeaningRecommendation
-iInteractive modeAlways use -i false in automation to avoid hanging
-fProject folderDefault to be current directory, used when specifying a custom folder. When scaffolding a new project, this is the parent folder where the project folder will be created under.
-hCommand helpUse atk <command> -h for quick syntax checks

Sub-Skills

Sub-SkillWhen to UseReference
create-projectScaffold new project from template, choose template, atk newcreate-project/create-project.md
test-playgroundTest locally with Agents Playground, agentsplayground, quick testingtest-playground/test-playground.md
test-teamsRun on Teams, devtunnel, sideload, Teams testing, test in Copilottest-teams/test-teams.md
provision-deployProvision Azure resources, deploy to cloud, atk provision, atk deployprovision-deploy/provision-deploy.md
troubleshootFix errors, 401, port conflicts, YAML errors, stale botstroubleshoot/troubleshoot.md
slack-to-teamsMigrate Slack bot to Teams, cross-platform bridging, Block Kit to Adaptive Cardsslack-to-teams/SKILL.md

MANDATORY: Before executing any workflow, read the corresponding sub-skill document.

Shared References

  • manifest-and-yaml.md — Project files, YAML config, env vars, .localConfigs flow
  • commands.md — ATK CLI commands: package, validate, share, collaborate
  • templates.md — Complete template catalog with language support
  • experts/ — 100+ micro-expert files: Teams SDK, Slack SDK, cross-platform bridging, deploy, AI models, security, language conversion
  • docs/ — Platform comparison guides: UI, messaging, identity, infrastructure, feature gaps

Workflow Chains

Match user intent to the smallest valid workflow.

User IntentWorkflow (read in order)
Build new app from scratchcreate-project → test-playground
Test existing project locallytest-playground (recommended) or test-teams
Deploy to Azureprovision-deploy
Fix broken bottroubleshoot → re-test
Migrate Slack bot to Teamsslack-to-teams

MANDATORY: Before executing any slack-to-teams workflow, read slack-to-teams/SKILL.md first. The sub-skill contains a routed expert system with 100+ micro-expert files for cross-platform bot development.

ATK Project Context Resolution

Resolve config values only when missing. If a value is already known in the session, reuse it.

Step 1: Detect ATK Project

If m365agentstoolkit*.yml exists in the current folder, treat it as an ATK project and parse configuration.

Step 2: Resolve Common Configuration

Resolve variables referenced in m365agentstoolkit*.yml. Common variables: AZURE_OPENAI_API_KEY AZURE_OPENAI_ENDPOINT AZURE_OPENAI_DEPLOYMENT_NAME

Step 3: Collect Missing Values

If required values are missing, ask the user for only the missing ones.

Refer to manifest-and-yaml.md for full config-file details.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code interpreter, file search, web search), integrating MCP servers, managing conversation threads, or implementing streaming responses. Covers function tools, structured outputs, and multi-tool agents.

中文简介正在准备中。当前显示原文说明。

microsoft/skills31362026年10月18日 更新

Set up AI Runway on AKS — from bare cluster to running model. Covers cluster verification, controller install, GPU assessment, provider setup, and first deployment. WHEN: "setup AI Runway", "onboard AKS cluster", "install AI Runway", "airunway setup", "deploy model to AKS", "GPU inference on AKS", "KAITO setup on AKS", "run LLM on AKS", "vLLM on AKS", "set up model serving on AKS", "AI Runway controller".

中文简介正在准备中。当前显示原文说明。

microsoft/skills31362026年10月18日 更新

Diagnose Day-2 AKS GPU and KAITO incidents using profile-aware, read-only evidence. WHEN: 'Insufficient nvidia.com/gpu', GPU pod Pending, model-load OOM, DCGM/VRAM, KAITO Workspace not ready, or GPU autoscaling. DO NOT USE FOR: setup (airunway-aks-setup), non-GPU incidents (aks-troubleshooting), standalone VM quota (azure-quotas), or generic cost (cost-analysis or cost-optimization from the optional azure-cost plugin).

中文简介正在准备中。当前显示原文说明。

microsoft/skills31362026年10月18日 更新

Lookup documented AKS fixes only when the prompt includes an exact catalog signature and all of its qualifiers: VMCannotFitEphemeralOSDisk; NodePoolMcVersionIncompatible; 'NodeImageVersion is not accepted'; AKS SkuNotAvailable with size, location, and zone; ZonalAllocationFailed with insufficient zone capacity; OverconstrainedAllocationRequest with listed constraints; nested AKS vmssCSE/CSE VMExtensionError_OutboundConnFail, VMExtensionError_K8SAPIServerConnFail, or VMExtensionError_K8SAPIServerDNSLookupFail; or AllocationFailed with the full cataloged internal-error or insufficient-regional-capacity message. Never use for quota errors, code-only or bare wrappers, generic symptoms, incomplete signatures, or failures outside AKS; use aks-troubleshooting or azure-diagnostics.

中文简介正在准备中。当前显示原文说明。

microsoft/skills31362026年10月18日 更新

Collects bounded packet captures from AKS nodes and Azure network configuration for wire-level evidence. WHEN: "capture packets on an AKS node", "take a pcap", "run tcpdump on AKS", "prove where packets drop". Use for explicit packet-capture intent after read-only diagnostics, not general AKS connectivity or ingress troubleshooting.

中文简介正在准备中。当前显示原文说明。

microsoft/skills31362026年10月18日 更新

Debug live Azure Kubernetes Service (AKS) incidents with a read-only, evidence-first investigation. WHEN: pod crashes or Pending, CrashLoopBackOff, OOMKilled, ImagePullBackOff, node NotReady, DNS or ingress failure, connectivity timeout, network policy, SNAT exhaustion, node-pool scaling blocked by QuotaExceeded or InsufficientVCPUQuota, upgrade stuck, spot or zone disruption, a bare VMExtensionProvisioningError or AllocationFailed wrapper, an uncataloged capacity symptom, or 'investigate my AKS cluster'. DO NOT USE FOR: packet capture (use aks-network-capture); GPU or model-serving issues (use aks-gpu-inference); cluster creation or provisioning (use azure-kubernetes); cost (use cost-analysis from the optional azure-cost plugin); pod rightsizing (use azure-kubernetes); a fully qualified documented AKS signature with every required nested qualifier (use aks-known-issues); standalone failures on non-AKS Azure resources (use azure-diagnostics). Unqualified errors and open-ended incidents stay here only for AKS.

中文简介正在准备中。当前显示原文说明。

microsoft/skills31362026年10月18日 更新

查看 microsoft 的全部技能

报告此技能的问题