Skip to main content
plugin GitHub Copilot official · GitHub

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.

Install into GitHub Copilot · Command from the source All methods and platforms ↓
copilot plugin install typespec-m365-copilot@awesome-copilot
Open on GitHub

What 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-copilot

From the same set554

The whole set →
git-commit official github This skill reviews Git changes, stages related files, and creates Conventional Commits. Use it when you want an agent to make one commit or split work into separate commits. GitHub Copilot 47,165installs excalidraw-diagram-generator official github Turn a plain-language description into an Excalidraw diagram. Useful for mapping processes, system structure, and relationships between entities. GitHub Copilot 31,639installs multi-stage-dockerfile official github This skill guides GitHub Copilot in writing multi-stage Dockerfiles for different languages and frameworks. Use it when the final runtime image should contain fewer build dependencies. GitHub Copilot 29,688installs documentation-writer official github Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing. GitHub Copilot 27,757installs prd official github Turns a feature idea into a structured PRD with user stories, technical requirements, and risks. Use it when planning a software feature or an AI-powered one. GitHub Copilot 24,035installs refactor official github This skill reshapes existing code without changing its external behavior. Use it for gradual cleanup of large functions, duplication, weak types, and code smells. GitHub Copilot 22,321installs java-springboot official github Gives GitHub Copilot Spring Boot development practices, from project layout to tests and security. Use it when writing or reviewing Java application code. GitHub Copilot 21,272installs create-readme official github This skill reviews a project and creates a structured README.md. Use it when the repository needs clear documentation based on its actual files and code. GitHub Copilot 19,081installs

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

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor