All skills
microsoft avatar

/teams-app-developer

@0bef15b
by microsoftmicrosoft/skills3.1k stars
351

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.

Use this Skill: https://skilld.dev/gh/microsoft/skills/teams-app-developer

This session only. Nothing lands on disk.

toolkitcommands.md

≈674 tokens on demand. Your agent reads this file only when SKILL.md points to it.

ATK CLI Commands Reference

Package and Validate

# Validate app
atk validate --env dev -i false

# Create app package
atk package --env dev -i false

# Sideload app
atk install --file-path ./appPackage.zip -i false

# Uninstall
atk uninstall --mode env --env dev --folder . -i false

Share and Collaborate

# Share with entire tenant
atk share --scope tenant -i false

# Share with specific users
atk share --scope users --email 'user@example.com' -i false

# Grant collaborator access
atk collaborator grant -i false

# Check collaborator status
atk collaborator status

Environment Management

# List environments
atk env list

# Add new environment
atk env add staging

# Reset environment
atk env reset --env dev -i false

Adding Actions to Declarative Agents

atk add action adds an API action to an existing declarative agent project.

Required parameters:

Option Description
--api-plugin-type api-spec Must be set explicitly (CLI bug: default is invalid)
--openapi-spec-type How to specify the API: enter-url-or-open-local-file or search-api
--openapi-spec-location -a OpenAPI spec file path or URL (for enter-url-or-open-local-file)

Optional parameters:

Option Description
--api-operation -o Select specific operation(s) Copilot can interact with
--search-openapi-spec-query Search query (when using search-api)
--select-openapi-spec Select from search results (when using search-api)
--manifest-file -t App manifest path. Default: ./appPackage/manifest.json
--folder -f Project folder. Default: ./
# Add API action from local file
atk add action --api-plugin-type api-spec --openapi-spec-type enter-url-or-open-local-file -a ./openapi.yaml -i false

# Add API action from URL
atk add action --api-plugin-type api-spec --openapi-spec-type enter-url-or-open-local-file -a https://example.com/openapi.yaml -i false

# Add authentication config
atk add auth-config -i false

# Regenerate action after modifying OpenAPI spec
atk regenerate action -i false

Troubleshooting

# Check system prerequisites
atk doctor

# Validate app manifest
atk validate --env dev -i false

# Upgrade project to latest toolkit version
atk upgrade -i false

Port already in use:

# Windows: Find and kill process using port 3978
Get-NetTCPConnection -LocalPort 3978 | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force }
# macOS/Linux
lsof -ti:3978 | xargs kill -9

Get Help

atk --help
atk new --help
atk add action --help

Source: SKILL.md on GitHub

1 alert3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill provides a comprehensive developer guide for building Microsoft 365 agents and Teams applications. It includes several security considerations such as handling untrusted user input, using dynamic execution in examples, and reading sensitive local files for protocol requirements. These patterns are presented with appropriate security warnings and architectural mitigations. See detailed analysis for more context.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: HIGH · 1 issue

Signed by skilld at 0bef15b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 20 hours ago.

Activeupdated 3 months ago

README badge

README badge for microsoft/skills/teams-app-developer