typespec-create-api-plugin

Generate TypeSpec API plugins for Microsoft 365 Copilot with REST operations and authentication.

1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill typespec-create-api-plugin-gabeujin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typespec-create-api-plugin
Source: https://github.com/Gabeujin/workspace-init-mcp/tree/main/awesome/skills/typespec-create-api-plugin
Command: npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill typespec-create-api-plugin-gabeujin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of TypeSpec API plugins for Microsoft 365 Copilot, streamlining the integration of external REST APIs.

Core Features & Use Cases

  • TypeSpec Generation: Creates main.tsp and actions.tsp files for defining agents and API operations.
  • Authentication Handling: Supports various authentication methods including API Key and OAuth2.
  • Adaptive Cards Integration: Enables the use of Adaptive Cards for enhanced user interaction and response display.
  • Use Case: Quickly scaffold a TypeSpec plugin for a new internal REST API, defining its operations, authentication, and how it should be presented to Copilot users.

Quick Start

Use the typespec-create-api-plugin skill to generate a TypeSpec API plugin for a new REST API.

Frequently Asked Questions about typespec-create-api-plugin

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

FAQPage Schema
How do I generate a TypeSpec API plugin for Microsoft 365 Copilot?

This Skill generates TypeSpec API plugins for Microsoft 365 Copilot by creating `main.tsp` and `actions.tsp` files that define agent behavior, REST operations, and authentication for external service integration.

What is TypeSpec used for in Copilot API integrations?

TypeSpec defines agent behavior, REST operations, and custom models for Copilot API integrations, streamlining how external REST APIs connect and present data through Adaptive Cards.

Can I use OAuth2 and API Key authentication for Copilot TypeSpec plugins?

Yes, TypeSpec Copilot plugins support OAuth2 and API Key authentication flows, allowing secure integration of external REST APIs into Microsoft 365 Copilot.

How do I add Adaptive Cards to a Copilot TypeSpec plugin?

You add Adaptive Cards to a Copilot TypeSpec plugin by defining them within the generated `actions.tsp` file, enabling enhanced user interaction and structured REST API response display.

Does this TypeSpec generator support custom models for REST API operations?

Yes, the TypeSpec generator supports custom models for REST API operations, allowing you to define specific data structures and operations when integrating external services into Copilot.

What is the best way to integrate an external REST API with Copilot?

The best way to integrate an external REST API with Copilot is generating a TypeSpec API plugin that defines REST operations, authentication flows, and Adaptive Cards for seamless interaction.