AGENT SKILL

CODEOWNERS 所有者与标签管理

owners

查询和修改 Azure SDK 仓库中的 CODEOWNERS 所有权、服务标签及包关联。**工具型技能**。适用于单一操作:查看、添加或移除所有者和标签。使用场景:"code owners"、"view codeowners"、"add package owner"、"remove package owner"、"add label"、"remove label"、"codeowners blocked PR"、"who owns this package"、"create service label"、"update codeowners cache"、"unblock release"。调用工具:azsdk_engsys_codeowner_view、azsdk_engsys_codeowner_add_package_owner、azsdk_engsys_codeowner_add_label_owner、azsdk_check_service_label、azsdk_create_service_label、azsdk_engsys_codeowner_update_cache、azsdk_engsys_codeowner_check_package。

License 许可
MIT
最近更新
2026-11-14
Stars
★ 6.1k
Forks
5.2k

01 前言 Front Matter

name
owners
license
MIT
metadata
{ "version": "1.0.0", "distribution": "shared" }
description
Query and modify CODEOWNERS ownership, service labels, and package associations in Azure SDK repositories. **UTILITY SKILL**. FOR SINGLE OPERATIONS: view, add, or remove owners and labels. WHEN: "code owners", "view codeowners", "add package owner", "remove package owner", "add label", "remove label", "codeowners blocked PR", "who owns this package", "create service label", "update codeowners cache", "unblock release". INVOKES: azsdk_engsys_codeowner_view, azsdk_engsys_codeowner_add_package_owner, azsdk_engsys_codeowner_add_label_owner, azsdk_check_service_label, azsdk_create_service_label, azsdk_engsys_codeowner_update_cache, azsdk_engsys_codeowner_check_package.
compatibility
{ "requires": "azure-sdk-mcp server" }

02 资源文件 15

03 SKILL.md 正文

Owners

Requires: azure-sdk-mcp server

Tools

Tool Purpose
azsdk_engsys_codeowner_view Query by user, label, package, path
azsdk_engsys_codeowner_add_* Add owners/labels (details)
azsdk_engsys_codeowner_remove_* Remove owners/labels
azsdk_check_service_label Check if service label exists
azsdk_create_service_label Create service label
azsdk_engsys_codeowner_check_package Check if a package has sufficient owners, labels, and service owners
azsdk_engsys_codeowner_update_cache Run the CODEOWNERS cache update pipeline to propagate changes

CLI fallback: azsdk config codeowners CLI when MCP is unavailable.

Repository Resolution

Infer repo from workspace in Azure/azure-sdk-for-* repos. Otherwise, ask.

Workflow

  1. Query — azsdk_engsys_codeowner_view to inspect current state.
  2. Modify — Add/remove owners or labels.
  3. Verify — Re-query to confirm.
  4. Update cache — After all ownership changes are complete, ask the user if they want to run azsdk_engsys_codeowner_update_cache to propagate changes immediately. This is especially important when changes are needed to unblock PRs or releases.

New labels: azsdk_check_service_label → azsdk_create_service_label → PR merged → azsdk_engsys_codeowner_add_package_label. See data model.

Checking Package Readiness

Use azsdk_engsys_codeowner_check_package with a package directoryPath to verify a package has sufficient owners, PR labels, and service owners. This is useful to diagnose why a PR or release is blocked due to missing ownership.

Examples

  • "Add @user to azure-core in azure-sdk-for-python"
  • "Who owns azure-storage-blob?"

Troubleshooting

See troubleshooting for common issues.

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