typespec-create-api-plugin

Generate TypeSpec API plugin files for Microsoft 365 Copilot.

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/lluppesms/dadabase.demo --skill typespec-create-api-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typespec-create-api-plugin
Source: https://github.com/lluppesms/dadabase.demo/tree/main/.github/skills/typespec-create-api-plugin
Command: npx skills add https://github.com/lluppesms/dadabase.demo --skill typespec-create-api-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of TypeSpec API plugins, streamlining the development of integrations for Microsoft 365 Copilot by generating necessary TypeSpec files and configurations.

Core Features & Use Cases

  • Automated Plugin Generation: Creates main.tsp and actions.tsp files for defining agent behavior and API operations.
  • Authentication Configuration: Supports various authentication methods including API Key, OAuth2, and registered references.
  • Adaptive Card Integration: Enables the use of Adaptive Cards for user confirmations and rich response displays.
  • Use Case: A developer needs to create a new Copilot plugin to interact with an external REST API for managing customer support tickets. This Skill will generate the TypeSpec code, including operations, models, and authentication, to define the plugin's capabilities.

Quick Start

Use the typespec-create-api-plugin skill to generate a TypeSpec API plugin for managing user profiles with GET and POST operations, using API key authentication.

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?

TypeSpec API plugins define agent behavior and REST operations for Microsoft 365 Copilot integrations. This Skill generates the necessary TypeSpec files, including models and authentication mechanisms, to interact with external REST APIs.

How do I configure OAuth2 or API Key authentication in a TypeSpec plugin?

You can configure OAuth2, API Key, or registered authentication references in a TypeSpec plugin by specifying the desired authentication mechanism during generation. The Skill structures these security definitions within the TypeSpec files.

Can I use Adaptive Cards for confirmations and responses in TypeSpec Copilot plugins?

Yes, TypeSpec Copilot plugins support Adaptive Cards for user confirmations and rich response displays. The plugin generation process includes capabilities to define these interactive card elements within your API operations.

What do I need to create a TypeSpec plugin for a REST API managing support tickets?

To create a TypeSpec plugin for managing support tickets, you need your REST API's GET and POST operations defined. This Skill translates those operations into TypeSpec models, actions, and authentication configurations for Copilot.

Does TypeSpec plugin generation support both GET and POST operations for external APIs?

Yes, TypeSpec plugin generation supports defining both GET and POST operations for external REST APIs. The generated actions.tsp file structures these REST operations alongside the necessary models and agent behavior.