Skip to content

Conversation

@troystaylor
Copy link
Contributor

@troystaylor troystaylor commented Dec 23, 2025

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • My contribution adds a new instruction, prompt, or chat mode file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, or chat mode with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.

Description

TypeSpec for Microsoft 365 Copilot is a curated collection of prompts and instructions to help you build declarative agents and API plugins using TypeSpec, with a validated manifest and docs. It includes templates for agent creation, plugin scaffolding, and CRUD operations, plus workspace guidelines for consistent development.


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New chat mode file.
  • New collection file.
  • Update to existing instruction, prompt, chat mode, or collection.
  • Other (please specify):

Additional Notes


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

Copilot AI review requested due to automatic review settings December 23, 2025 16:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a comprehensive collection for TypeSpec for Microsoft 365 Copilot, providing developers with prompts, instructions, and documentation for building declarative agents and API plugins using TypeSpec.

  • Introduces three new prompt files for creating agents, API plugins, and CRUD operations with TypeSpec
  • Adds workspace instructions for TypeSpec development best practices
  • Includes a new collection with supporting documentation and manifest files
  • Updates README files to reference the new collection and its components

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
prompts/typespec-create-api-plugin.prompt.md New prompt for generating TypeSpec API plugins with REST operations, authentication, and Adaptive Cards
prompts/typespec-create-agent.prompt.md New prompt for creating TypeSpec declarative agents with instructions, capabilities, and conversation starters
prompts/typespec-api-operations.prompt.md New prompt for adding GET, POST, PATCH, and DELETE operations to TypeSpec API plugins
instructions/typespec-m365-copilot.instructions.md New instruction file providing comprehensive guidelines for TypeSpec-based M365 Copilot development
docs/README.prompts.md Updated to include three new TypeSpec-related prompts in the alphabetically sorted list
docs/README.instructions.md Updated to include the new TypeSpec M365 Copilot instruction file
docs/README.collections.md Updated to include the new TypeSpec for Microsoft 365 Copilot collection
collections/typespec-m365-copilot.md Collection overview file describing the TypeSpec collection and its four items
collections/typespec-m365-copilot.collection.yml YAML manifest defining the collection structure and metadata
collections/typespec-m365-copilot.collection.md Comprehensive documentation file providing TypeSpec overview, concepts, examples, and best practices

agent: 'agent'
tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems']
name: Create TypeSpec API Plugin
description: Generate a TypeSpec API plugin with REST operations, authentication, and Adaptive Cards for Microsoft 365 Copilot
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description field value should be wrapped in single quotes according to the prompt file guide.

Copilot generated this review using guidance from repository custom instructions.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 9 comments.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants