TypeSpec for Microsoft 365 Copilot Plugin

February 5, 2026 ยท View on GitHub

Comprehensive collection of prompts, instructions, and resources for building declarative agents and API plugins using TypeSpec for Microsoft 365 Copilot extensibility.

Installation

# Using Copilot CLI
copilot plugin install typespec-m365-copilot@awesome-copilot

What's Included

Commands (Slash Commands)

CommandDescription
/typespec-m365-copilot:typespec-create-agentGenerate a complete TypeSpec declarative agent with instructions, capabilities, and conversation starters for Microsoft 365 Copilot
/typespec-m365-copilot:typespec-create-api-pluginGenerate a TypeSpec API plugin with REST operations, authentication, and Adaptive Cards for Microsoft 365 Copilot
/typespec-m365-copilot:typespec-api-operationsAdd GET, POST, PATCH, and DELETE operations to a TypeSpec API plugin with proper routing, parameters, and adaptive cards

Source

This plugin is part of Awesome Copilot, a community-driven collection of GitHub Copilot extensions.

License

MIT