
Typespec Create Api Plugin
The typespec-create-api-plugin skill generates complete TypeSpec API plugin files configured for Microsoft 365 Copilot, including REST operations, authentication schemes, and Adaptive Card responses. It serves developers who need to integrate external REST APIs with Microsoft 365 Copilot by automating the creation of TypeSpec agent definitions and action files with proper decorators and models. The skill solves the problem of manually structuring complex TypeSpec configurations by providing templated files that support multiple authentication options and response formatting capabilities.
- skills.sh installs
- 8.7K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill typespec-create-api-plugin --agent claude-codeInstalls into .claude/skills of the current project.
Files
Create TypeSpec API Plugin
Create a complete TypeSpec API plugin for Microsoft 365 Copilot that integrates with external REST APIs.
Requirements
Generate TypeSpec files with:
main.tsp - Agent Definition
import "@typespec/http";
import "@typespec/openapi3";
import "@microsoft/typespec-m365-copilot";
import "./actions.tsp";
using TypeSpec.Http;
using TypeSpec.M365.Copilot.Agents;
using TypeSpec.M365.Copilot.Actions;
@agent({
name: "[Agent Name]",
description: "[Description]"
})
@instructions("""
[Instructions for using the API operations]
""")
namespace [AgentName] {
// Reference operations from actions.tsp
op operation1 is [APINamespace].operationName;
}
actions.tsp - API Operations
import "@typespec/http";
import "@microsoft/typespec-m365-copilot";
using TypeSpec.Http;
using TypeSpec.M365.Copilot.Actions;
Sponsors
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Backend & APIs, Security, Git & Pull Requests, AI & Agent Building
More from github/awesome-copilot
All 318- Cosmosdb Datamodeling8.7K
- Power Platform Mcp Connector Suite8.7K
- Sponsor Finder8.7K
- Mcp Copilot Studio Server Generator8.7K
- Kotlin Mcp Server Generator8.7K
- Az Cost Optimize8.7K
- Declarative Agents8.7K
- Shuffle Json Data8.7K
- Azure Resource Health Diagnose8.7K
- Typespec Create Agent8.7K
- Centos Linux Triage8.7K
- Containerize Aspnet Framework8.7K
- Update Avm Modules In Bicep8.6K
- Entra Agent User8.6K
- Ruby Mcp Server Generator8.6K
- Winapp Cli8.4K
- Model Recommendation8.4K
- Polyglot Test Agent8.4K
- Csharp Mcp Server Generator8.4K
- Datanalysis Credit Risk7.3K
- Msstore Cli7K
- Create Oo Component Documentation7K
- Mcp Configure7K
- Update Oo Component Documentation7K