Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

microsoft-365-agents-toolkit

БесплатноБез исполняемых скриптовНе проверен

Builds, tests, and deploys Microsoft 365 apps and agents for Teams and Copilot. Delegates all Declarative Agent workflows to the WIQD plugin except TypeSpec…

OfficeDevот OfficeDev★ 795 звёзд на GitHub

Об этом скилле

Microsoft 365 Agents Toolkit Skill

Delegate every Declarative Agent workflow to the wiqd plugin except TypeSpec DA projects. Use ATK for TypeSpec DAs, non-DA Teams apps, code-based agents, and runtime testing.

Declarative Agent Routing

Treat a request or project as a DA when the user explicitly says Declarative Agent, appPackage/declarativeAgent.json exists, or appPackage/manifest.json contains copilotAgents.declarativeAgents. The presence of m365agents.yml does not override these markers.

Existing DA pre-delegation gate: Before invoking any skill for an existing DA lifecycle request, inspect m365agents.yml, m365agents.local.yml, tspconfig.yaml, and .tsp sources for the TypeSpec markers below. If any marker is present, use ATK and never invoke WIQD. Invoke WIQD only after this inspection rules out a TypeSpec DA.

Route a DA to ATK only when the request explicitly identifies the declarative-agent-typespec capability or the project contains a TypeSpec DA marker: a typeSpec/compile lifecycle action, a tspconfig.yaml entry for @microsoft/typespec-m365-copilot, or a .tsp source importing @microsoft/typespec-m365-copilot. Invoke the wiqd plugin for every other DA, including DAs that need a new Azure-hosted API backend, contain backend source or deployment actions, attach existing OpenAPI or remote MCP services, or use Copilot Connector capabilities. The presence of src/functions, package.json, m365agents.yml, infrastructure files, a DA action, or an API plugin does not select ATK.

Once a DA is routed to WIQD, confirm that the wiqd skill is available in the current Copilot session. If it is missing, follow the installation preflight in toolkit/declarative-agent-lifecycle.md; do not assume that the plugin is already installed or fall back to ATK.

When the skill is available, invoke it and let that plugin own the complete workflow, including coordination with Azure and Entra skills for new backends, discovery, prerequisites, authentication, EULA handling, command selection, file-based fallback, validation, and error recovery. Do not run wiqd commands directly or duplicate WIQD operational guidance in this skill.

Answer read-only DA schema, manifest, capability, example, and project-structure questions from local references without invoking the WIQD plugin.

AI Behavior Guidelines

  1. Testing Strategy: Test Declarative Agents in Microsoft 365 Copilot. For code-based agents and Teams apps, recommend Agents Playground first (faster, no M365 needed) and use the Teams workflow only if the 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

Option Meaning Recommendation
Полный SKILL.md на GitHub

Установить microsoft-365-agents-toolkit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

create-project/create-project.mddocs/README.mddocs/advanced-features.mddocs/feature-gaps.mddocs/files-and-links.mddocs/identity-and-auth.mddocs/infrastructure.mddocs/interactive-responses.mddocs/messaging-and-commands.mddocs/middleware-and-handlers.mddocs/ui-components.mddocs/workflows.mdexperts/README.mdexperts/_expert-ts.mdexperts/analyzer.mdexperts/bridge/app-distribution-packaging-ts.mdexperts/bridge/channel-ops-graph-ts.mdexperts/bridge/commands-slash-text-ts.mdexperts/bridge/cross-platform-advisor-ts.mdexperts/bridge/cross-platform-architecture-ts.mdexperts/bridge/events-activities-ts.mdexperts/bridge/files-upload-download-ts.mdexperts/bridge/identity-oauth-bridge-ts.mdexperts/bridge/index.mdexperts/bridge/infra-compute-ts.mdexperts/bridge/infra-observability-ts.mdexperts/bridge/infra-secrets-config-ts.mdexperts/bridge/infra-storage-ts.mdexperts/bridge/interactive-responses-ts.mdexperts/bridge/link-unfurl-preview-ts.mdexperts/bridge/middleware-handlers-ts.mdexperts/bridge/python-cross-platform.mdexperts/bridge/rate-limiting-resilience-ts.mdexperts/bridge/rest-only-integration-ts.mdexperts/bridge/scheduling-deferred-send-ts.mdexperts/bridge/shortcuts-extensions-ts.mdexperts/bridge/transport-socketmode-https-ts.mdexperts/bridge/ui-app-home-personal-tab-ts.mdexperts/bridge/ui-block-kit-adaptive-cards-ts.mdexperts/bridge/ui-legacy-attachments-cards-ts.md

FAQ

Что делает скилл microsoft-365-agents-toolkit?

Builds, tests, and deploys Microsoft 365 apps and agents for Teams and Copilot. Delegates all Declarative Agent workflows to the WIQD plugin except TypeSpec DA projects, which use ATK. Uses ATK for Custom Engine Agents, Teams bots, tabs, message extensions, Agents Playground, and Teams runtime testing. USE FOR: Declarative Agents, Custom Engine Agents, Teams apps, local testing, deployment, troubleshooting, and Slack-to-Teams migration. DO NOT USE FOR: general web development or non-Microsoft-365 projects.

Как установить скилл microsoft-365-agents-toolkit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл microsoft-365-agents-toolkit запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить microsoft-365-agents-toolkit с