typespec-m365-copilot

Develop TypeSpec declarative agents and API plugins for Microsoft 365 Copilot.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/pingqLIN/skill-0 --skill typespec-m365-copilot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typespec-m365-copilot
Source: https://github.com/pingqLIN/skill-0/tree/main/converted-skills/typespec-m365-copilot
Command: npx skills add https://github.com/pingqLIN/skill-0 --skill typespec-m365-copilot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidelines and best practices for developing TypeSpec-based declarative agents and API plugins specifically for Microsoft 365 Copilot, ensuring type safety and efficient development.

Core Features & Use Cases

  • Agent Development: Define agent roles, instructions, and capabilities (web search, file access, etc.).
  • API Plugin Development: Structure service definitions, operations, models, and authentication for M365 Copilot.
  • Use Case: A developer needs to create a new Copilot agent that can access user emails and calendar events. This Skill guides them through defining the agent's persona, its access permissions, and how to expose relevant API endpoints.

Quick Start

Follow the TypeSpec for Microsoft 365 Copilot Development Guidelines to define your agent's capabilities.

Frequently Asked Questions about typespec-m365-copilot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I develop declarative agents for Microsoft 365 Copilot?

Declarative agent development for M365 Copilot involves defining agent roles, writing instructions, and scoping capabilities like web search, OneDrive, Teams, and email access using a structured framework.

What is the best way to define API plugins for M365 Copilot using TypeSpec?

Defining API plugins for M365 Copilot with TypeSpec requires structuring service definitions, operations, models, and authentication patterns to ensure type safety and adhere to extensibility requirements.

Can I scope my M365 Copilot agent capabilities to specific Microsoft 365 services?

Yes, M365 Copilot agent capabilities can be scoped to specific services, allowing developers to configure precise access permissions for web search, file access, emails, and Teams.

How do I model API operations and authentication patterns for M365 Copilot?

Modeling API operations and authentication patterns for M365 Copilot involves defining service structures and models within TypeSpec to expose relevant endpoints securely and efficiently.

Does TypeSpec provide testing strategies for Microsoft 365 Copilot API plugins?

Yes, developing TypeSpec API plugins for M365 Copilot includes testing strategies to validate agent declarations, instruction writing, and capability scoping against M365 Copilot extensibility requirements.

What are the limitations when building TypeSpec agents for Microsoft 365 Copilot?

TypeSpec agents for M365 Copilot must strictly adhere to Microsoft 365 Copilot extensibility requirements, meaning capabilities and API plugin definitions are constrained by the platform's supported authentication and service operation patterns.