Command Palette

Search for a command to run...

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

m365-agent-developer

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

Designs, implements, and deploys Microsoft 365 Copilot agents using TypeSpec and ATK CLI. Provides architectural guidance, capability configuration, security…

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

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

M365 Agent Developer

This comprehensive skill provides expert guidance on the Microsoft 365 Copilot agent development lifecycle: from architectural design through TypeSpec implementation to deployment and publishing using the Agents Toolkit (ATK) CLI.

⚠️ For creating new projects, use the m365-agent-scaffolder skill first ⚠️

🚨 CRITICAL DEPLOYMENT RULE 🚨 When using this skill to make edits to an agent, you MUST ALWAYS deploy the agent using atk provision before returning to the user. This ensures changes are immediately reflected in M365 Copilot. Never return to the user with undeployed changes.


When to Use This Skill

Use this skill when:

  • Designing the architecture for a new M365 Copilot agent
  • Implementing TypeSpec code for agent capabilities and API plugins
  • Configuring agent instructions and conversation starters
  • Provisioning and deploying agents using ATK CLI
  • Managing agent lifecycle across environments (dev, staging, production)
  • Reviewing existing agent architectures for best practices
  • Troubleshooting TypeSpec compilation or deployment issues
  • Adding new capabilities or API plugins to existing agents
  • Implementing security patterns and compliance requirements
  • Packaging and publishing agents for sharing

Do NOT use this skill for creating new empty projects - use the m365-agent-scaffolder skill instead.

Key References


Instructions

Follow these step-by-step instructions when working with M365 Copilot agents:

Step 1: Understand the Requirements

Action: Gather and analyze the agent requirements:

  • Identify the agent's primary purpose and target users
  • Determine required data sources (M365 services, external APIs)
  • List necessary actions the agent must perform
  • Identify security and compliance requirements

Why it's important: Clear requirements drive architectural decisions and ensure the agent meets user needs.

Step 2: Design the Agent Architecture

Action: Create a comprehensive architectural design:

  • Select deployment model (personal or shared)
  • Choose appropriate M365 capabilities with scoping
  • Design API plugin integrations if needed
  • Plan authentication and authorization strategy
  • Design conversation flow and instructions

Reference: Follow the Architectural Design section and patterns-and-frameworks.md

Step 3: Implement TypeSpec Code

Action: Write type-safe agent code using TypeSpec:

  • Define agent with @agent decorator
  • Configure capabilities with appropriate scoping
  • Implement API plugin actions with authentication
  • Write clear instructions and conversation starters
  • Document all models and operations with @doc

Reference: Follow TypeSpec Best Practices and official typespec-decorators.md

⚠️ IMPORTANT: After making any edits to TypeSpec code, you MUST compile and deploy the agent (Steps 4-5) before returning to the user.

Step 4: Compile and Validate

Action: Compile TypeSpec to validate the implementation:

npm run compile

Why it's important: Compilation catches syntax errors and validates decorator usage before deployment.

Step 5: Provision Azure Resources

Action: Provision required Azure resources and register the agent:

npx -p @microsoft/m365agentstoolkit-cli@latest atk provision --env local

Result: Returns a test URL like https://m365.cloud.microsoft/chat/?titleId=U_abc123xyz

Step 6: Test and Iterate

Action: Test the agent in Microsoft 365 Copilot:

  • Use the provisioned test URL
  • Test all conversation starters
  • Verify capability access and scoping
  • Test error handling and edge cases
  • Validate security controls

Step 7: Deploy to En

Полный SKILL.md на GitHub

Установить m365-agent-developer в Claude Code и Claude Desktop

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

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

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

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

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

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

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

metadata.json

FAQ

Что делает скилл m365-agent-developer?

Designs, implements, and deploys Microsoft 365 Copilot agents using TypeSpec and ATK CLI. Provides architectural guidance, capability configuration, security patterns, and lifecycle management. Use when developing M365 Copilot agents, working with TypeSpec, or managing agent deployments. For creating new projects, use the m365-agent-scaffolder skill.

Как установить скилл m365-agent-developer?

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

Скилл m365-agent-developer запускает скрипты?

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

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

Сравнить m365-agent-developer с