Back to Skills

typespec-api-operations

Add GET, POST, PATCH, and DELETE operations to a TypeSpec API plugin with proper routing, parameters, and adaptive cards

30,799stars3,682forksUpdated 4/22/2026

Security Assessment

Safe(100/100)
Security Score100/100

About typespec-api-operations

The typespec-api-operations skill enhances TypeSpec API plugins by adding RESTful operations, specifically GET, POST, PATCH, and DELETE methods. This skill addresses the need for developers to implement standard API functionalities efficiently, allowing them to manage resources such as items within their applications. By providing a structured approach to defining routes and operations, it simplifies the process of creating robust APIs that can interact seamlessly with Microsoft 365 Copilot and other services.

FAQ

What operations can I add using this skill?

You can add GET, POST, PATCH, and DELETE operations to your TypeSpec API plugin.

Is this skill compatible with Microsoft 365 Copilot?

Yes, this skill is designed to work with Microsoft 365 Copilot.

Are there any limitations on the types of items I can manage?

The skill allows you to manage items defined by the CreateItemRequest and UpdateItemRequest models, but specific item attributes depend on your implementation.

Do I need to create adaptive cards for each operation?

Adaptive cards are optional but recommended for operations that require user confirmation.

Can I customize the confirmation messages in adaptive cards?

Yes, you can customize the confirmation messages by modifying the body content of the adaptive card definitions.

Install typespec-api-operations

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill