azure/azure-sdk-tools-azure-typespec-author
Authors and modifies Azure TypeSpec (.tsp) API specifications. USE FOR: any TypeSpec/tsp change — api versions (add, bump, preview, stable, promote), resources, operations, models, properties, decorators, visibility, constraints, breaking changes, LRO, suppressions, operationId, spread model. Covers ARM resource-manager and data-plane services. DO NOT USE FOR: SDK generation, releasing SDK packages, or single MCP tool calls. INVOKES: azure-sdk-mcp:azsdk_typespec_generate_authoring_plan, azure-sdk-mcp:azsdk_run_typespec_validation.
npx skills add https://github.com/Azure/azure-sdk-tools --skill azure-typespec-author
| Tool | Purpose |
| ------------------------------------------------------ | --------------------------------------------------------- |
| azure-sdk-mcp:azsdk_typespec_generate_authoring_plan | Generate grounded authoring plan (General Authoring only) |
| azure-sdk-mcp:azsdk_run_typespec_validation | Validate TypeSpec |
Prerequisite: azure-sdk-mcp server must be running.
.tsp edits — even a single ? change can be breaking.> Classify → Intake → Plan → Apply → Validate
Copy and update as you progress:
tsp compile .Follow analyze project & classify task.
Classify as exactly one:
| Task Type | When | azsdk_typespec_generate_authoring_plan |
| ------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------- |
| API Version Evolution | Adding a new preview or stable API version to an existing ARM service. (ARM only) | MUST NOT call |
| General Authoring | Any other .tsp change (resources, operations, models, properties, etc.) | MUST call |
State your classification explicitly before proceeding.
Collect inputs needed for the change. Branch by task type:
Check your classification from Step 1, then branch:
azsdk_typespec_generate_authoring_plan.azure-sdk-mcp:azsdk_typespec_generate_authoring_plan with:| Parameter | Value |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| request | User request (verbatim) |
| additionalInformation | All content gathered from Steps 1–2 (intake analysis, user answers, relevant .tsp code read from the project), including any case-specific Defaults noted in Step 2.2 |
| typeSpecProjectRootPath | TypeSpec project root path |
Do not proceed without an authoring plan from this tool.
Confirm uncertainties with the user, then make minimal .tsp edits.
See validation guide for sub-steps. You must run TypeSpec validation (5.1), tsp compile . (5.2), and example verification (5.3, API Version Evolution only).
| File | Purpose |
| --------------------------------------------------------------------------------------- | ----------------------------------------- |
| analyze-project-and-classify-task.md | Step 1: project analysis + classification |
| api-version-evolution.md | Steps 2–4 for API Version Evolution tasks |
| general-authoring-intake.md | Step 2 for General Authoring tasks |
| agentic-search.md | Procedure for fetching external docs |
| validation.md | Step 5: validation sub-steps |
Take azure/azure-sdk-tools-azure-typespec-author from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.