typespec-m365-copilot — GitHub Copilot plugin: setup & use
Scaffolds TypeSpec declarative agents and API plugins for Microsoft 365 Copilot extensibility. Useful when defining REST operations, auth, and Adaptive Cards.
copilot plugin install typespec-m365-copilot@awesome-copilotWhat typespec-m365-copilot does
This plugin provides slash commands for GitHub Copilot to build declarative agents and API plugins via TypeSpec. It generates complete agent definitions that include instructions, capabilities, and conversation starters tailored for Microsoft 365 Copilot.
For API integrations, the commands create REST endpoints covering GET, POST, PATCH, and DELETE operations. They automatically configure authentication mechanisms, routing, parameters, and schema definitions for Adaptive Cards.
Install this plugin if you build extensions for Microsoft 365 and prefer structuring your APIs with TypeSpec schemas rather than writing boilerplate manually.
What it helps with
- generate TypeSpec declarative agents with capabilities and starters
- create TypeSpec API plugins with authentication and Adaptive Cards
- add GET, POST, PATCH, and DELETE endpoints with routing to TypeSpec plugins
Example prompts for the agent
- /typespec-m365-copilot:typespec-create-agent for a customer support assistant
- /typespec-m365-copilot:typespec-create-api-plugin with bearer token authentication
- /typespec-m365-copilot:typespec-api-operations add GET and POST endpoints for orders
How to install typespec-m365-copilot
Command from the source
copilot plugin install typespec-m365-copilot@awesome-copilotFrom the same set554
The whole set →Similar
Questions about typespec-m365-copilot
How to install typespec-m365-copilot in GitHub Copilot?
Run copilot plugin install typespec-m365-copilot@awesome-copilot in your Copilot CLI.
What does typespec-m365-copilot do?
It supplies slash commands to generate TypeSpec code for Microsoft 365 Copilot declarative agents and REST API plugins with Adaptive Cards.
What commands are available in typespec-m365-copilot?
The plugin includes /typespec-m365-copilot:typespec-create-agent, /typespec-m365-copilot:typespec-create-api-plugin, and /typespec-m365-copilot:typespec-api-operations.
Source text
typespec-m365-copilot · MIT
# TypeSpec for Microsoft 365 Copilot Plugin Comprehensive collection of prompts, instructions, and resources for building declarative agents and API plugins using TypeSpec for Microsoft 365 Copilot extensibility. ## Installation ```bash # Using Copilot CLI copilot plugin install typespec-m365-copilot@awesome-copilot ``` ## What's Included ### Commands (Slash Commands) | Command | Description | |---------|-------------| | `/typespec-m365-copilot:typespec-create-agent` | Generate a complete TypeSpec declarative agent with instructions, capabilities, and conversation starters for Microsoft 365 Copilot | | `/typespec-m365-copilot:typespec-create-api-plugin` | Generate a TypeSpec API plugin with REST operations, authentication, and Adaptive Cards for Microsoft 365 Copilot | | `/typespec-m365-copilot:typespec-api-operations` | Add 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](https://github.com/github/awesome-copilot), a community-driven collection of GitHub Copilot extensions. ## License MIT
© Awesome Copilot Community · MIT · github/awesome-copilot