Skip to content
MCP Servers
Skill

/teams-app-developer

Build, test, and deploy code-based Teams apps using the M365 Agents Toolkit CLI. USE FOR: Custom Engine Agents (CEA), Teams bots, tabs, message extensions, Agents Playground local testing, Azure provision/deploy, Slack-to-Teams migration, cross-platform bot development, Block

From plugin
work-iq
1.1k18 skills1 MCP

Claude Code

$ npx -y skills add microsoft/work-iq --skill teams-app-developer --agent claude-code

SKILL.md

teams-app-developer.SKILL.md
name: teams-app-developer
description: >
  Build, test, and deploy code-based Teams apps using the M365 Agents Toolkit CLI.
  USE FOR: Custom Engine Agents (CEA), Teams bots, tabs, message extensions, Agents Playground
  local testing, Azure provision/deploy, Slack-to-Teams migration, cross-platform bot development,
  Block Kit to Adaptive Cards conversion, AI model integration (OpenAI/Azure/Anthropic/Bedrock).
  DO NOT USE FOR: declarative agents — use the `declarative-agent-developer` skill instead.
  Triggers: "build a teams bot", "custom engine agent", "CEA", "teams agent", "tab app",
  "message extension", "test with agents playground", "provision to azure", "deploy to azure",
  "migrate slack bot", "slack to teams", "convert block kit", "add azure openai to my bot"

Teams App Developer Skill

Build code-based Microsoft 365 agents and Teams apps (CEA, bot, tab, message extension) using the ATK CLI.

> **Declarative Agents (DA):** Use the **`declarative-agent-developer`** skill — it owns all DA > workflows including scaffolding, manifest editing, capability config, API/MCP plugins, OAuth, > localization, and deployment. This skill covers code-based project types only.

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](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

Before any ATK commands, verify the CLI is available:

atk --version  # Must be > 1.1.5-beta

If ATK is not found or the version is too old → **use the `install-atk` skill** to install or update it, then return here to continue.

CLI Global Options

| Option | Meaning | Recommendation | | --- | --- | --- | | `-i` | Interactive mode | Always use `-i false` in automation to avoid hanging | | `-f` | Project folder | Default 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. | | `-h` | Command help | Use `atk <command> -h` for quick syntax checks |

Sub-Skills

| Sub-Skill | When to Use | Reference | |-----------|-------------|-----------| | **create-project** | Scaffold new project from template, choose template, `atk new` | [create-project/create-project.md](create-project/create-project.md) | | **test-playground** | Test locally with Agents Playground, `agentsplayground`, quick testing | [test-playground/test-playground.md](test-playground/test-playground.md) | | **test-teams** | Run on Teams, devtunnel, sideload, Teams testing, test in Copilot | [test-teams/test-teams.md](test-teams/test-teams.md) | | **provision-deploy** | Provision Azure resources, deploy to cloud, `atk provision`, `atk deploy` | [provision-deploy/provision-deploy.md](provision-deploy/provision-deploy.md) | | **troubleshoot** | Fix errors, 401, port conflicts, YAML errors, stale bots | [troubleshoot/troubleshoot.md](troubleshoot/troubleshoot.md) | | **slack-to-teams** | Migrate Slack bot to Teams, cross-platform bridging, Block Kit to Adaptive Cards | [slack-to-teams/SKILL.md](slack-to-teams/SKILL.md) |

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

Workflow Chains

Match user intent to the smallest valid workflow.

| User Intent | Workflow (read in order) | |---|---| | Build new CEA/bot/tab/ME from scratch | create-project → test-playground | | Test existing project locally | test-playground (recommended) or test-teams | | Deploy to Azure | provision-deploy | | Fix broken bot | troubleshoot → re-test | | Migrate Slack bot to Teams | slack-to-teams | | Create Declarative Agent | **Use `declarative-agent-developer` skill** |

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

Shared References

  • [manifest-and-yaml.md](toolki
Read more
@microsoft
Ships withwork-iq

The official Microsoft Work IQ plugin collection for GitHub Copilot ✨ Extend the power of GitHub Copilot with Work IQ plugins — MCP servers, skills, and tools that connect AI assistants to your Microsoft 365 data.

1.1k18 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.1k
Star history of microsoft/work-iq on GitHub, a chart by star-history.com

Other skills on work-iq.

install-atk

install-atk

Install or update the M365 Agents Toolkit (ATK) CLI and VS Code extension. Triggers: "install atk", "update atk", "install agents…

@microsoft@microsoftInstall Skill
m365-agent-evaluator

m365-agent-evaluator

Use this skill when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with…

@microsoft@microsoftInstall Skill
setup-sso-ui-widget

setup-sso-ui-widget

Adds Microsoft Entra SSO (single sign-on, no OBO) to a Microsoft 365 Copilot declarative agent whose tools are served by an MCP…

@microsoft@microsoftInstall Skill
slack-to-teams

slack-to-teams

Sub-skill of microsoft-365-agents-toolkit. Routed expert system with 100+ micro-expert files for migrating Slack bots to Teams,…

@microsoft@microsoftInstall Skill
ui-widget-developer

ui-widget-developer

Build MCP servers for Copilot Chat using the OpenAI Apps SDK or MCP Apps SDK widget rendering support (any language). Use this…

@microsoft@microsoftInstall Skill

More skills from other plugins.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

@abhigyanpatwari@abhigyanpatwariInstall Skill
fastmcp-client-cli

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…

fastmcp7d29k
@prefecthq@prefecthqInstall Skill
n8n-agents

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…

n8n-mcp7d23k
@czlonkowski@czlonkowskiInstall Skill
post-to-xhs

post-to-xhs

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…

@xpzouying@xpzouyingInstall Skill

Questions about teams-app-developer.

Which coding agents can use teams-app-developer?
teams-app-developer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.