AGENT SKILL

Azure SDK 发布计划管理

azsdk-common-prepare-release-plan

为 Azure SDK 发布创建、获取、更新、放弃 SDK PR,并将其链接到发布计划工作项。**工具技能**。适用场景:"创建发布计划"、"获取发布计划"、"更新发布计划"、"更新发布计划中的 API 规范"、"更新发布计划中的 SDK 详情"、"放弃发布计划"、"将 SDK PR 链接到计划"、"命名空间审批"、"检查发布计划状态"。不适用于:SDK 代码生成、流水线故障排查、API 审查反馈。调用工具:azure-sdk-mcp:azsdk_create_release_plan、azure-sdk-mcp:azsdk_get_release_plan、azure-sdk-mcp:azsdk_update_release_plan、azure-sdk-mcp:azsdk_update_release_plan_target、azure-sdk-mcp:azsdk_update_api_spec_pull_request_in_release_plan、azure-sdk-mcp:azsdk_update_sdk_details_in_release_plan、azure-sdk-mcp:azsdk_abandon_release_plan、azure-sdk-mcp:azsdk_link_sdk_pull_request_to_release_plan、azure-sdk-mcp:azsdk_link_namespace_approval_issue。

适用职业发布经理
License 许可
MIT
最近更新
2026-11-14
Stars
★ 6.1k
Forks
5.2k

01 前言 Front Matter

name
azsdk-common-prepare-release-plan
license
MIT
metadata
{ "version": "1.0.0", "distribution": "shared" }
description
Create, get, update, abandon, and link SDK PRs to release plan work items for Azure SDK releases. **UTILITY SKILL**. USE FOR: "create release plan", "get release plan", "update release plan", "update API spec in release plan", "update SDK details in release plan", "abandon release plan", "link SDK PR to plan", "namespace approval", "check release plan status". DO NOT USE FOR: SDK code generation, pipeline troubleshooting, API review feedback. INVOKES: azure-sdk-mcp:azsdk_create_release_plan, azure-sdk-mcp:azsdk_get_release_plan, azure-sdk-mcp:azsdk_update_release_plan, azure-sdk-mcp:azsdk_update_release_plan_target, azure-sdk-mcp:azsdk_update_api_spec_pull_request_in_release_plan, azure-sdk-mcp:azsdk_update_sdk_details_in_release_plan, azure-sdk-mcp:azsdk_abandon_release_plan, azure-sdk-mcp:azsdk_link_sdk_pull_request_to_release_plan, azure-sdk-mcp:azsdk_link_namespace_approval_issue.
compatibility
azure-sdk-mcp server, API spec PR in Azure/azure-rest-api-specs

02 资源文件 5

03 SKILL.md 正文

Prepare Release Plan

This skill creates, gets, updates, abandons, and links SDK PRs to release plan work items for Azure SDK releases, helping gather required release data, validate spec inputs, and link related approvals or SDK pull requests without exposing internal work item URLs.

Triggers

USE FOR: create release plan, get release plan, update release plan, update API spec in release plan, update SDK details in release plan, abandon release plan, link SDK PR to plan, namespace approval, check release plan status WHEN: "create release plan", "get release plan", "update release plan", "abandon release plan", "link SDK PR to plan", "namespace approval", "check release plan status" DO NOT USE FOR: SDK code generation, pipeline troubleshooting, API review feedback

Rules

  • Do not display Azure DevOps work item URLs; only provide the Release Plan Link and ID.
  • Require an API spec PR link or a TypeSpec project path before creating or updating a plan.
  • Validate that the spec PR repository matches the requested API release type before creation.
  • Release plan tools accept either a Release Plan ID or an Azure DevOps work item ID — pass whichever the user provides. Each tool resolves the value automatically (trying it as a Release Plan ID first, then as a work item ID), so you do not need to call azure-sdk-mcp:azsdk_get_release_plan first just to translate one ID into the other.
  • Always relay schedule-risk warnings and next_steps returned by release plan tools. For each past-due plan, show its Release Plan ID and dashboard link, then present both choices: update its target release month or abandon it and record the reason in the dashboard.

MCP Tools

Tool Purpose
azure-sdk-mcp:azsdk_create_release_plan Create a new release plan
azure-sdk-mcp:azsdk_get_release_plan Get plan by ID, path, or spec PR
azure-sdk-mcp:azsdk_update_release_plan Update release plan metadata
azure-sdk-mcp:azsdk_update_release_plan_target Update the target release month
azure-sdk-mcp:azsdk_update_api_spec_pull_request_in_release_plan Update API spec PR URL in plan
azure-sdk-mcp:azsdk_update_sdk_details_in_release_plan Update SDK/package details in plan
azure-sdk-mcp:azsdk_abandon_release_plan Abandon a release plan
azure-sdk-mcp:azsdk_link_sdk_pull_request_to_release_plan Link SDK PR to release plan
azure-sdk-mcp:azsdk_link_namespace_approval_issue Link namespace approval issue

Use Cases

1. Create Release Plan

When: User wants to create a release plan for a TypeSpec project.

Steps:

  1. Get TypeSpec Project Path — Ask the user for the relative TypeSpec project path (directory containing tspconfig.yaml, e.g. specification/contosowidgetmanager/Contoso.WidgetManager). Always use the relative path from the repo root, not an absolute path.
  2. Check Existing — Run azure-sdk-mcp:azsdk_get_release_plan with the relative typeSpecProjectPath to check if a release plan already exists.
    • If a release plan exists with the same API release type the user requested: inform the user that a release plan already exists, show the Release Plan ID, status, and API release type. Suggest the user use the existing release plan. Do NOT create a new one.
    • If a release plan exists but for a different API release type: inform the user about the existing plan and its API release type, then proceed to create a new release plan using forceCreateReleasePlan: true for the user's requested API release type. Do NOT attempt to update the existing release plan's API release type.
    • If no release plan exists, proceed to step 3.
  3. Gather Info — Collect required details from the user. See details:
    • Target release month/year (format: "Month YYYY", e.g. "June 2026"). Do NOT use formats like "2026-06" or "06/2026" — these are invalid.
    • API release type: Value must be one of the following: "Private Preview", "Public Preview", or "GA"
    • SDK release type: Value must be "beta" or "stable" — always ask the user explicitly
    • Spec PR URL (optional)
    • Service Tree ID (GUID) — optional if previously created
    • Product Tree ID (GUID) — optional if previously created
  4. Create — Run azure-sdk-mcp:azsdk_create_release_plan with the collected parameters including sdkReleaseType. Use forceCreateReleasePlan: true only if an existing release plan was found for a different API release type.
  5. Namespace — For first management plane releases, link namespace approval issue using azure-sdk-mcp:azsdk_link_namespace_approval_issue.

IMPORTANT: Do NOT default the API release type value as the SDK release type. These are separate fields — always ask the user explicitly for the SDK release type.

IMPORTANT: Do NOT update an existing release plan to change its API release type. If a release plan exists for a different API release type, force-create a new one instead.

Tool: azure-sdk-mcp:azsdk_create_release_plan


2. Get Release Plan

When: User wants to check the status or details of an existing release plan.

Steps:

  1. Identify Plan — Ask user for one of:
    • Release plan ID or work item ID
    • Relative TypeSpec project path (e.g. specification/contosowidgetmanager/Contoso.WidgetManager)
    • Spec PR URL
  2. Query — Run azure-sdk-mcp:azsdk_get_release_plan with the provided identifier. Always use a relative path for typeSpecProjectPath; use specPullRequestUrl when the user provides only a spec PR URL.
  3. Display — Show the release plan ID, status, linked PRs, and SDK details. Always relay schedule-risk warnings and recommended actions from the response.

Tool: azure-sdk-mcp:azsdk_get_release_plan


3. Update Release Plan / Update API Spec in Release Plan

When: User needs to update release plan metadata (spec PR URL, TypeSpec project path, SDK release type, service/product IDs) or update the API spec PR link.

Steps:

  1. Identify Plan — Get the work item ID or TypeSpec project path from the user.
  2. Update Metadata — Run azure-sdk-mcp:azsdk_update_release_plan with:
    • typeSpecProjectPath (required)
    • workItemId (optional — resolved from TypeSpec path or spec PR if not provided)
    • specPullRequestUrl (optional)
    • sdkReleaseType (required — do NOT default this from API release type; always ask user explicitly)
    • serviceTreeId (optional)
    • productTreeId (optional)
  3. Update API Spec PR — If only the spec PR URL needs updating, run azure-sdk-mcp:azsdk_update_api_spec_pull_request_in_release_plan with:
    • specPullRequestUrl (required)
    • workItemId or releasePlanId

Tools: azure-sdk-mcp:azsdk_update_release_plan, azure-sdk-mcp:azsdk_update_api_spec_pull_request_in_release_plan


4. Update SDK/Package Details in Release Plan

When: User needs to update SDK language and package name details in the release plan after code generation or configuration changes.

Steps:

  1. Identify Plan — Get the Release Plan ID or work item ID from the user (either is accepted).
  2. Identify TypeSpec Project — Get or confirm the TypeSpec project path.
  3. Update — Run azure-sdk-mcp:azsdk_update_sdk_details_in_release_plan with:
    • workItemId (required — accepts either the Release Plan ID or the work item ID)
    • typeSpecProjectPath (required)

Tool: azure-sdk-mcp:azsdk_update_sdk_details_in_release_plan


5. Abandon a Release Plan

When: User decides to cancel or discard a release plan that is no longer needed.

Steps:

  1. Identify Plan — Get the work item ID or release plan ID from the user.
  2. Confirm — Ask user to confirm abandonment: "Are you sure you want to abandon this release plan? This action updates the status to Abandoned."
  3. Abandon — Run azure-sdk-mcp:azsdk_abandon_release_plan with:
    • workItemId or releasePlanId

Tool: azure-sdk-mcp:azsdk_abandon_release_plan


6. Link SDK Pull Request to Release Plan

When: SDK pull requests have been created and need to be associated with the release plan.

Steps:

  1. Identify Plan — Get the Release Plan ID or work item ID from the user (either is accepted).
  2. Collect PR Info — Get the SDK pull request URL and language from the user.
  3. Link — Run azure-sdk-mcp:azsdk_link_sdk_pull_request_to_release_plan with:
    • pullRequestUrl (required)
    • language (required — e.g., ".NET", "Java", "JavaScript", "Python", "Go")
    • workItemId or releasePlanId (either accepts the Release Plan ID or the work item ID)
  4. Repeat — If multiple SDK PRs exist for different languages, repeat for each.

Tool: azure-sdk-mcp:azsdk_link_sdk_pull_request_to_release_plan


Examples

  • "Create a release plan for my spec PR"
  • "Get the release plan for work item 12345"
  • "What is the status of my release plan?"
  • "Update the API spec PR in my release plan"
  • "Update SDK details in release plan 67890"
  • "Abandon release plan 11111"
  • "Link my SDK PR to release plan"
  • "Link Python SDK PR #100 to release plan 67890"

Troubleshooting

  • Requires azure-sdk-mcp server; no CLI fallback — prompt user to configure MCP if unavailable.
  • If creation fails, verify spec PR URL and Service Tree IDs.
  • If update fails, ensure the Release Plan ID or work item ID is correct and the plan is not already abandoned.
  • If linking fails, verify the SDK PR URL is valid and the language matches a supported value.

04 同仓库更多 Skills

Azure
Azure/azure-sdk-for-net

WebPubSub Chat API 基线维护

update-chat-api

使用场景:在公共 API 发生变更后,更新、导出、刷新或验证 Azure.Messaging.WebPubSub.Chat 的公共 API 基线。

软件开发工程师代码实现
★ 6.1k
Azure
Azure/azure-sdk-for-net

Azure 搜索文档 SDK 端到端工作流

search-documents

Azure.Search.Documents SDK 的端到端(E2E)工作流技能(TypeSpec + 大量定制)。处理完整发布周期和部分更新:SHA 更新;代码生成;构建;定制修复;ServiceVersion 同步;测试;API 导出;变更日志;版本;示例;格式化;发布元数据。使用场景:为 Azure.Search.Documents 创建新包版本;重新生成 Azure.Search.Documents;修复 Azure.Search.Documents 错误;发布 Azure.Search.Documents;更新 Azure.Search.Documents 规范。不适用于 Azure.ResourceManager.Search 或 Azure.Provisioning.Search。

软件开发工程师Microsoft 应用生命周期管理
★ 6.1k
Azure
Azure/azure-sdk-for-net

Search.Documents 版本差异检测

search-documents-version-diff

将当前 Azure.Search.Documents 公共 API 接口与之前发布的版本进行对比,检测因 TypeSpec 变更后 SDK 自定义层未向上传播而导致的预览版之间的回归。当用户要求比较 Azure.Search.Documents 各 beta 版本、确认 Azure.Search.Documents 预览功能未丢失、审计 Azure.Search.Documents 各版本间的回归、对 Azure.Search.Documents 发布分支进行健全性检查,或排查 Azure.Search.Documents 预览功能缺失时使用——即使用户没有提到“diff”一词。专门捕获丢失的包装器(QueryAnswer/QueryCaption/QueryRewrites 类型)、丢失的 SearchOptions 聚合重定向器、`@@access("internal")` 翻转、被直接删除而非通过条件门控的 `#if AZURE_SEARCH_PREVIEW` 代码块、丢失的 `ServiceVersion` 枚举值,以及便捷方法降级为协议方法等问题。

软件开发工程师测试与质量保障
★ 6.1k
Azure
Azure/azure-sdk-for-net

Search.Documents TypeSpec 一致性验证

search-documents-typespec-validation

面向 Azure.Search.Documents SDK 的 TypeSpec 验证技能。针对任意固定 commit 的 TypeSpec 定义,对全部操作、全部模型、全部枚举和全部属性执行完整验证。适用于任何 API 版本。生成完整的差距报告:缺失功能、多余功能、命名不匹配以及建议的修复位置。适用场景:“根据 TypeSpec 验证 Azure.Search.Documents SDK”、“检测 Azure.Search.Documents TypeSpec 功能差距”、“Azure.Search.Documents SDK 缺少哪些功能”、“将 Azure.Search.Documents SDK 与规范对比”、“对 Azure.Search.Documents 进行完整的规范覆盖审计”。请勿用于版本间差异对比或回归检测——此类情况请使用 search-documents-version-diff。

软件开发工程师测试与质量保障
★ 6.1k
Azure
Azure/azure-sdk-for-net

掷骰子技能文件测试

test-skill_file

使用随机数生成器掷骰子。

普通用户抽奖活动与随机抽取
★ 6.1k
Azure
Azure/azure-sdk-for-net

随机数掷骰子

roll-dice

使用随机数生成器掷骰子。当用户要求掷单个骰子(d6、d20 等)、掷骰子或生成随机掷骰结果时使用。

普通用户抽奖活动与随机抽取
★ 6.1k