Agent skill · Backend & API

typespec-api-operations

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

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill typespec-api-operations --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/typespec-api-operations/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Add TypeSpec API Operations Add RESTful operations to an existing TypeSpec API plugin for Microsoft 365 Copilot. ## Adding GET Operations ### Simple GET - List All Items ```typescript /** * List all items. */ @route("/items") @get op listItems(): Item[]; ``` ### GET with Query Parameter - Filter Results ```typescript /** * List items filtered by criteria. * @param userId Optional user ID to filter items */ @route("/items") @get op listItems(@query userId?: integer): Item[]; ``` ### GET with Path Parameter - Get Single Item ```typescript /** * Get a specific item by ID. * @param id The ID of the item to retrieve */ @route("/items/{id}") @get op getItem(@path id: integer): Item; ``` ### GET with Adaptive Card ```typescript /** * List items with adaptive card visualization. */ @route("/items") @card(#{ dataPath: "$", title: "$.title", file: "item-card.json" }) @get op listItems(): Item[]; ``` **Create the Adaptive Card** (`appPackage/item-card.json`): ```json { "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.5", "body": [ { "type": "Container", "$data": "${$root}", "items": [ { "type": "TextBlock", "text": "**${if(title, title,

What's inside
Steps it walks through
  1. Adding GET Operations
  2. Simple GET - List All Items
  3. GET with Query Parameter - Filter Results
  4. GET with Path Parameter - Get Single Item
  5. GET with Adaptive Card
  6. Adding POST Operations
  7. Simple POST - Create Item
  8. POST with Confirmation
  9. Adding PATCH Operations
  10. Simple PATCH - Update Item
  11. PATCH with Confirmation
  12. Adding DELETE Operations
  13. Simple DELETE
  14. DELETE with Confirmation
More from awesome-copilot
All skills →
About this skill
What does the typespec-api-operations skill do?

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

How do I install it?

Run `npx skills add github/awesome-copilot --skill typespec-api-operations --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going