Agent 24 installs

Create TypeSpec Declarative Agent

by github/awesome-copilot

Generate a complete TypeSpec declarative agent with instructions, capabilities, and conversation starters for Microsoft 365 Copilot

Skill content

Generate a complete TypeSpec declarative agent for Microsoft 365 Copilot with instructions, capabilities, and conversation starters.

- Produces a main.tsp file with agent declaration, instructions, conversation starters, and capability definitions following Microsoft's TypeSpec M365 Copilot schema

- Supports 10 capability types including WebSearch, OneDriveAndSharePoint, TeamsMessages, Email, People, CodeInterpreter, GraphicArt, GraphConnectors, Dataverse, and Meetings with optional scoping (URLs, folders, sites)

- Enforces constraints: agent names under 100 characters, descriptions under 1,000 characters, instructions under 8,000 characters, and 2-4 diverse conversation starters per agent

- Guides users through discovery questions about agent purpose, required capabilities, knowledge sources, and typical interactions to inform the generated definition

Create TypeSpec Declarative Agent

Create a complete TypeSpec declarative agent for Microsoft 365 Copilot with the following structure:

Requirements

Generate a main.tsp file with:

-

Agent Declaration

- Use @agent decorator with a descriptive name and description

- Name should be 100 characters or less

- Description should be 1,000 characters or less

-

Instructions

- Use @instructions decorator with clear behavioral guidelines

- Define the agent's role, expertise, and personality

- Specify what the agent should and shouldn't do

- Keep under 8,000 characters