Token导航 LogoToken导航

Agent Skill · 云服务

azure-sdk-mgmt-pr-review(Azure SDK mgmt PR 审查)

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

azure-sdk-mgmt-pr-review 是云服务类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在云服务类的 479 个 Skill 里排第 348。

总安装 823周安装 35GitHub Stars 6,021下载 288核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:azure-sdk-mgmt-pr-review(Azure SDK mgmt PR 审查)
来源仓库:https://github.com/azure/azure-sdk-for-net
仓库路径:skills/azure-sdk-mgmt-pr-review
安装命令:
npx skills add https://github.com/azure/azure-sdk-for-net --skill azure-sdk-mgmt-pr-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/azure/azure-sdk-for-net --skill azure-sdk-mgmt-pr-review

这个 Skill 是做什么的

云服务类 Skill 对接各家云平台的接口,用来查询资源、估算成本和执行变更。

审查 Azure .NET Management SDK 的拉取请求,确保符合 API 设计规范。适用于 SDK 贡献者或内部团队审核代码变更,保障版本兼容性与接口一致性。分三阶段执行:版本号校验、API 变更审查和破坏性变更检测,逐层过滤问题。必须通过第一阶段才能进入后续审查,发现违规应立即终止并反馈修改意见。

azure-sdk-mgmt-pr-review 属于云服务类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/azure-sdk-mgmt-pr-review

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/azure/azure-sdk-for-net --skill azure-sdk-mgmt…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

azure-sdk-mgmt-pr-review 怎么安装?

在终端执行 npx skills add https://github.com/azure/azure-sdk-for-net --skill azure-sdk-mgmt-pr-review。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

azure-sdk-mgmt-pr-review 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

azure-sdk-mgmt-pr-review 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

azure-sdk-mgmt-pr-review 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

azure-sdk-mgmt-pr-review 用的人多吗?

公开数据是累计安装 823 次,近一周安装 35 次,下载 288 次,GitHub 6,021 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

azure-sdk-mgmt-pr-review 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 6,021 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理云服务类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

云服务类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
azure-deploy

Azure 部署 · Codex、Claude

6,641,856764调用外部服务未明确通过
azure-diagnostics

Azure diagnostics 问题管理 · Codex、Claude

6,575,520764调用外部服务未明确通过
azure-aigateway

Azure aigateway 部署 · Codex、Claude

6,553,272764调用外部服务未明确有提醒
azure-ai

Azure AI 搜索 · Codex、Claude

6,514,128764调用外部服务未明确通过
azure-cloud-migrate

Azure Cloud migrate 部署 · Codex、Claude

6,506,784764调用外部服务未明确有提醒
azure-sdk-mgmt-pr-review

Azure SDK mgmt PR 审查 · 本页

8236,021调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Azure.NET Mgmt SDK PR Review

Review Azure SDK for.NET management library pull requests against the official API review guidelines.

The review is split into three sequential phases: Phase 1: Versioning Review (gate), Phase 2: API Review, and Phase 3: Breaking Change Detection. Each phase must pass before proceeding to the next.

Phase 1: Versioning Review

This phase checks version-related rules that are simple and rule-based. If any violation is found in this phase, stop the review immediately, submit the review with "Request Changes", and do not proceed to Phase 2.

Instructions

  1. Check the .csproj file and CHANGELOG.md for the rules below.
  2. If all versioning rules pass, proceed to Phase 2.
  3. If any rule is violated, record inline review comments on the violations (with file path and line number), submit the review as "Request Changes" with a summary explaining the versioning violations, and stop — do not proceed to Phase 2.

Versioning Rules

  • No major version bump. Management SDK packages follow a unified versioning strategy. No individual package is allowed to bump its major version unless a major version bump decision has been explicitly made by the.NET architects for all mgmt packages. If a PR bumps the major version (e.g., from 1.x to 2.0.0), flag as Critical: "You must not bump the major version without the.NET architects' explicit requirement."
  • Do not remove ApiCompatVersion. If a PR removes the ApiCompatVersion property from the .csproj file, flag as Critical. This property enforces API compatibility checks against the last stable release and must not be deleted. Removing it would allow breaking changes to slip through undetected.
  • No newly added content in ApiCompatBaseline.txt. If the PR adds new entries to the ApiCompatBaseline.txt file (which suppresses ApiCompat errors), flag as Critical. Suppressing API compatibility errors hides breaking changes from customers. The correct approach is to mitigate breaking changes through customization code, not to baseline them away.

Phase 2: API Review

This phase reviews the API surface for naming conventions, type correctness, and adherence to design guidelines. It runs only after Phase 1 passes.

Scope of Review

The review should focus only on new or changed API surface compared to the RP's latest released stable version. Types, properties, and methods that were already shipped in a prior stable release cannot be changed and should not be flagged.

To determine the review scope:

  1. Find the RP's latest released stable version. Check the ApiCompatVersion property in the package's .csproj file — since Phase 1 passed, this property is guaranteed to be present if it existed before. If ApiCompatVersion is not present, assume there is no prior stable version — the entire API surface is in scope for review and no breaking changes are possible.
  2. If ApiCompatVersion is present, retrieve that version's API surface file from the corresponding git tag (tag format: <PackageName>_<Version>, e.g., Azure.ResourceManager.Foo_1.0.0). The API file is at sdk/<service>/<PackageName>/api/<PackageName>.net10.0.cs (or earlier TFM variants like netstandard2.0.cs).
  3. Diff the released API surface against the PR's API surface file.
  4. Only review types, properties, methods, and enums that appear in the diff (i.e., newly added or modified). Anything unchanged from the stable release is out of scope.

Instructions

  1. Determine review scope per the "Scope of Review" section above.
  2. Examine API surface files (api/*.cs) for public API, focusing on new/changed surface.
  3. Check Generated models and resources in src/Generated/.
  4. Review TypeSpec customizations (e.g., client.tsp, tspconfig.yaml).
  5. For each issue found, record the exact file path, line number, and comment body to include as an inline review comment.

API Review Checklist

Naming - Avoid These Suffixes
SuffixReplace WithException
Parameter(s)Content/Patch-
RequestContent-
OptionsConfigUnless ClientOptions
ResponseResult-
Data-Unless derives from ResourceData/TrackedResourceData
Definition-Unless removing it creates conflict with another resource
OperationData or InfoUnless derives from Operation
CollectionGroup/ListUnless domain-specific (e.g., MongoDBCollection)
Resource Naming
  • Remove "Resource" suffix if remaining noun is still descriptive (e.g., VirtualMachine not VirtualMachineResource)
  • Keep "Resource" if removing makes it non-descriptive (e.g., GenericResource stays)
  • For models: append "Data" suffix if inherits ResourceData/TrackedResourceData, otherwise "Info"
Operation Body Parameters
  • PATCH operation body: Must be named [Model]Patch
  • PUT/POST operation body: Must be named [Model]Content or [Model]Data
Property Naming
  • Boolean properties: Must start with verb prefix: Is, Can, Has
  • DateTimeOffset properties: Should end with On (e.g., CreatedOn, StartOn, EndOn)
  • Interval/Duration (integer): Include units in name (e.g., MonitoringIntervalInSeconds)
  • TTL properties: Rename to TimeToLiveIn<Unit>
Acronyms
  • Use PascalCase (capitalize first letter only): Aes, Tcp, Http
  • 2-letter acronyms: uppercase if standalone (IO), except Id, Vm
  • Expand acronyms if not clearly explained in first page of search results with context
Contextual Naming for Types
  • All types must have a name that includes sufficient context about what the type represents.
  • Avoid generic or ambiguous names that could apply to many different services. The type name should make it clear which service or resource it belongs to.
  • Bad examples: PublicNetworkAccess, EncryptionStatus, PrivateEndpointConnection — these names lack context; a reader cannot tell which service they belong to without looking at the namespace.
  • Good examples: StorageAccountPublicNetworkAccess, CosmosDBEncryptionStatus, KeyVaultPrivateEndpointConnection — these names include the service or resource context.
  • Exception: If the type is scoped within a clearly named parent model or the namespace already provides unambiguous context (e.g., a property type used exclusively by one resource), a shorter name may be acceptable.
Naming Fix Recommendations

When flagging a naming issue, the recommended fix depends on whether the type is explicitly defined in the service's TypeSpec.

  1. Type is defined in the service's TypeSpec: Recommend adding a @@clientName decorator in client.tsp.

- Example: @@clientName(PublicNetworkAccess, "DurableTaskPublicNetworkAccess", "csharp");

  1. Type is NOT defined in the service's TypeSpec: @@clientName cannot be used. Instead, recommend SDK-side custom code — create a customization file (e.g., src/Customize/Models/<NewName>.cs) using [CodeGenType("OriginalGeneratedName")] to rename the type.

- Example: [CodeGenType("OptionalPropertiesUpdateableProperties")] on a class named DurableTaskPrivateEndpointConnectionPatchProperties.

To determine whether a type is defined in the service's TypeSpec, search all .tsp files under the spec folder for a model, union, or enum declaration with the same name.

Enums
  • Use singular type name (not plural) unless bit flags
  • Numeric version enums should use underscore: Tls1_0, Ver5_6
Type Formatting

The following table applies to the generated C# API surface (public types/properties in api/*.cs).

Property PatternExpected Type
Ends with Id/Guid with UUID valueGuid
Ends with Id with ARM resource IDResourceIdentifier
Named ResourceType or ends with Type for resource typesResourceType
Named etagETag
Contains location/locationsConsider AzureLocation
Contains sizeConsider int/long instead of string

For TypeSpec, UUID-valued properties should use the uuid scalar and map to Guid in the generated.NET SDK.

Duration/Interval Format
  • ISO 8601 duration (P1DT2H59M59S): use duration scalar in TypeSpec
  • ISO 8601 constant (2.2:59:59.5000000): use @encode(DurationConstant) in TypeSpec
CheckNameAvailability Operation
  • Method: Check[Resource/RP name]NameAvailability
  • Parameter/Response model: [Resource/RP name]NameAvailabilityXXX
  • Unavailable reason enum: [Resource/RP name]NameUnavailableReason
Method Renaming in SDK Migration
  • When a previously shipped method name changes during SDK migration, prefer to rename the newly generated API back to the previously shipped name rather than keeping both names.
  • Do not keep both the old and new method names just because generation produced a different name. Carrying both methods forward unnecessarily expands the public API surface and creates confusion.
  • Only replace the old name with a new one when the old name is clearly wrong and the rename is intentional. In that case, treat the old member as a backward compatibility shim and make sure the review explicitly calls out why the old name is a mistake.
  • A common compatibility smell is custom code that adds the old API method name back, but its implementation only forwards to the newly renamed method. That pattern usually means the change is name-only, and the generated method should be renamed back to the previously shipped API name instead of keeping both.
Other API Rules
  • PUT/PATCH optional body parameters should be changed to required
  • Discriminator models should make base model abstract
  • Remove all ListOperations methods (SDK exposes operations via public APIs)

Phase 3: Breaking Change Detection

This phase runs after Phase 2. If ApiCompatVersion is present in the .csproj (i.e., a prior stable version exists), check for breaking changes by building the project. The ApiCompat tooling will report breaking changes as build errors automatically.

Instructions

  1. Build the project using dotnet build (or the appropriate build command for the package).
  2. Inspect the build output for ApiCompat errors — these indicate breaking changes against the last stable version (removals, signature changes, etc.).
  3. If the build succeeds with no ApiCompat errors, this phase passes.
  4. If ApiCompat errors are found:

- For each error, record an inline review comment listing the breaking change (what was removed or changed), targeting the relevant file and line. - Do not attempt to fix or mitigate the breaking changes yourself. Instead, list all detected breaking changes and ask the user to mitigate them. Mitigation options include customization code via partial classes and generator features (e.g., rename-mapping, custom properties, shim methods) to preserve backward compatibility. The mitigate-breaking-changes skill can be invoked to assist with this. - Submit the review as "Request Changes" with the list of breaking changes that need mitigation.

If ApiCompatVersion is not present in the .csproj, skip this phase — there is no prior stable version to compare against.

Output Format

Submit a single pull request review with all findings as inline comments attached to the relevant file and line. Do not post findings as general PR comments.

How to submit the review

  1. Collect all review findings across all phases. For each finding, record:

- file path (relative to repo root) - line number (in the PR diff, use the last line of the relevant range) - comment body (the review feedback)

  1. Submit one pull request review that includes all findings as inline review comments. Use the gh CLI: gh api repos/{owner}/{repo}/pulls/{pull_number}/reviews \ --method POST \ --header "Accept: application/vnd.github+json" \ --input - << 'EOF' {"event": "REQUEST_CHANGES", "body": "<overall summary>", "comments": [{"path": "<file>", "line": <line>, "side": "RIGHT", "body": "<comment>"}]} EOF

- Use event: "REQUEST_CHANGES" if any phase fails or there are blocking issues that must be resolved before merge. - Use event: "APPROVE" if all phases pass and there are no issues requiring changes. - Use event: "COMMENT" if all phases pass and there are only non-blocking/minor suggestions.

Review content

  1. Report Phase 1 (Versioning) result: pass or fail with details.
  2. If Phase 1 fails, submit the review as "Request Changes" and stop.
  3. If Phase 1 passes, include Phase 2 (API Review) results:

- Summarize what passes review in the review body. - Each issue becomes an inline comment on the relevant file and line.

  1. If ApiCompatVersion exists, include Phase 3 (Breaking Change Detection) results:

- Build the project and check for ApiCompat errors. - Each breaking change becomes an inline comment on the relevant file and line.

  1. The review body should contain a final summary of all phases and the total number of inline comments added.

适合场景

01

Azure 资源规划

02

云服务升级

03

基础设施检查

04

企业云环境自动化

能力概览

能力 1

整理 Azure 服务操作流程

能力 2

提示 CLI/MCP 前置条件

能力 3

辅助云资源检查和规划

能力 4

保留官方服务来源线索

平台分布

Codex

34.54%
按下载量换算99

Claude

32.38%
按下载量换算93

Cursor

20.09%
按下载量换算58

Gemini CLI

9.62%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills