[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BTCDAHX2C335XR9CVKSMWG":3,"skill-same:01M6BTCDAHX2C335XR9CVKSMWG":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":17,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6BTCDAHX2C335XR9CVKSMWG","mgmt-review-comment-resolution","Azure SDK 审查意见修复","Resolve review comments on Azure management-plane .NET SDK PRs. Handles renaming types\u002Fproperties, changing property types, and other API surface adjustments by updating TypeSpec client.tsp and regenerating.","处理 Azure 管理平面 .NET SDK PR 中的审查意见。通过更新 TypeSpec client.tsp 并重新生成代码，完成类型\u002F属性重命名、属性类型更改及其他 API 表面调整。","Azure\u002Fazure-sdk-for-net","Azure","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6844498?v=4","01M6BT15ZBDTV4D9RM7HCC4D8A","Microsoft Azure","01M6BT163EEHB7Y52MKZJ322Q8",6072,"MIT",null,"https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmgmt-review-comment-resolution\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"review","mgmt review comment resolution","resolution","sdk","azure","typespec","api","resolve review","management","properties","client","types","comments","plane","prs","2026-11-10 10:12:30",false,"---\nname: mgmt-review-comment-resolution\ndescription: Resolve review comments on Azure management-plane .NET SDK PRs. Handles renaming types\u002Fproperties, changing property types, and other API surface adjustments by updating TypeSpec client.tsp and regenerating.\n---\n\n# Skill: mgmt-review-comment-resolution\n\nResolve review comments on Azure management-plane SDK PRs by making changes in the TypeSpec spec repo (`client.tsp`) and regenerating the SDK.\n\n## When Invoked\n\nTrigger phrases: \"resolve review comments\", \"fix review comments\", \"resolve PR comments\", \"rename types\", \"fix naming\", \"resolve naming comments\", \"fix API surface\".\n\n## Overview\n\nManagement-plane SDK code is generated from TypeSpec definitions in `azure-rest-api-specs`. Review comments on SDK PRs often request changes to the generated API surface — renaming types, renaming properties, or changing property types to be more user-friendly. These changes are made in the spec repo's `client.tsp` using TypeSpec decorators (primarily `@@clientName`), then the SDK is regenerated.\n\n### Key Concepts\n\n- **`@@clientName(TypeSpecName, \"CSharpName\", \"csharp\")`** — renames a TypeSpec model\u002Funion\u002Fenum\u002Fproperty to a different name in the generated C# SDK. This is the primary tool for resolving naming comments.\n- **`@@clientName` only works on types defined in the service's TypeSpec** — you can only target models, unions, enums, and interfaces that are explicitly declared in the service's `.tsp` files. If a type is not defined there (e.g., it comes from ARM common types or TypeSpec templates), `@@clientName` cannot target it. See \"Renaming via SDK Custom Code\" below.\n- **`@@clientName` cannot target aliases** — if a type is defined as an `alias`, `@@clientName` cannot target it. See \"Handling Unsupported Cases\" below.\n- **Only `client.tsp` may be changed** in the spec repo — do not modify any other `.tsp` files or config files. If resolving a comment would require changes to other files, skip that change and inform the user with the reason after processing all other comments. Since only `client.tsp` is modified, swagger regeneration is never needed.\n\n## Types of Review Comments\n\n### 1. Type Names Too Generic\n\nReview comments may flag type names that are too generic and could collide with types from other SDKs or lack sufficient context.\n\n**Goal:** Make the name more descriptive by adding context — this could be the RP name, the resource name, or other domain-specific context. The right prefix depends on what makes the name unambiguous and meaningful.\n\n**Examples:**\n| Original | Renamed | Context Added |\n|---|---|---|\n| `ProvisioningState` | `ManagedOpsProvisioningState` | RP name |\n| `ServiceInformation` | `ManagedOpsServiceInformation` | RP name |\n| `EncryptionProperties` | `VaultEncryptionProperties` | Resource name |\n| `ConnectionState` | `PrivateEndpointConnectionState` | Feature name |\n\n**How to decide the prefix:** Read the review comment carefully — it may suggest a specific prefix. If not, choose the most natural context that makes the name unambiguous within the SDK's namespace. When uncertain, **ask the user** what prefix or name they prefer.\n\n### 2. Property Renames\n\nProperties can also be renamed using `@@clientName` on the model's property:\n\n```typespec\n@@clientName(MyModel.oldPropertyName, \"NewPropertyName\", \"csharp\");\n```\n\n### 3. Property Type Changes\n\nSome review comments ask for property types to be changed (e.g., `string` → `ResourceIdentifier`, `string` → `TimeSpan`). Use the `@@alternateType` decorator in `client.tsp` to change the generated C# type:\n\n```typespec\n@@alternateType(MyModel.myProperty, armResourceIdentifier, \"csharp\");\n@@alternateType(MyModel.durationProperty, duration, \"csharp\");\n```\n\nThis changes the property's type in the generated C# SDK without modifying other `.tsp` files. If `@@alternateType` cannot handle the requested type change, skip the change and inform the user with the reason after processing all other comments.\n\n## Workflow\n\n### Step 1: Read and Understand Review Comments\n\nFetch the PR's review comments using GitHub MCP tools. For each unresolved comment:\n1. Identify what change is requested (rename type, rename property, change type, etc.)\n2. Find the corresponding TypeSpec type\u002Fproperty in the spec\n3. Determine the appropriate new name or change\n4. **Determine if the 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.\n   - If defined → the rename will use `@@clientName` in `client.tsp` (Step 3)\n   - If NOT defined → the rename must use SDK-side custom code (Step 3b)\n\nIf a comment is ambiguous about what the new name should be, **ask the user** before proceeding.\n\n### Step 2: Locate the Spec Files\n\n1. Find `tsp-location.yaml` in the SDK package directory:\n   ```\n   sdk\u002F\u003Cservice>\u002FAzure.ResourceManager.\u003CService>\u002Ftsp-location.yaml\n   ```\n2. This file contains:\n   - `directory`: path to the TypeSpec spec (e.g., `specification\u002Fmanagedoperations\u002FManagedOps.Management`)\n   - `commit`: the spec repo commit SHA\n   - `repo`: the spec repo (e.g., `Azure\u002Fazure-rest-api-specs`)\n\n3. Key spec files:\n   - `client.tsp` — where `@@clientName` and `@@alternateType` decorators go (this is the only `.tsp` file you should modify)\n   - Other `.tsp` files — read-only reference for understanding models, unions, and aliases\n\n### Step 3: Apply Changes in the Spec Repo (for types defined in TypeSpec)\n\nThis step applies only to types that are defined in the service's TypeSpec files. For types NOT defined in the service's TypeSpec, skip to **Step 3b**.\n\nLocate the spec repo. It may be:\n- A local clone (typically at `..\u002Fazure-rest-api-specs` relative to the SDK repo)\n- If not available locally, clone it or ask the user for the path\n\nIf there is an existing spec PR branch, check it out. If there is no spec PR or branch yet, create a new branch from the commit referenced in `tsp-location.yaml`.\n\nAdd `@@clientName` decorators to `client.tsp`. Read the existing `client.tsp` to find the correct `using` statement for the service namespace (e.g., `using Microsoft.ManagedOps;`, `using Azure.ResourceManager.Compute;`, etc.), then add decorators targeting the types to rename:\n\n```typespec\n@@clientName(GenericTypeName, \"MoreDescriptiveTypeName\", \"csharp\");\n@@clientName(MyModel.genericProperty, \"moreDescriptiveProperty\", \"csharp\");\n```\n\nMake sure the `using` statement for the service namespace is present so that type names resolve correctly. Check the `namespace` declaration in `main.tsp` or other `.tsp` files to find the correct namespace.\n\n### Step 3b: Apply Changes via SDK Custom Code (for types NOT defined in TypeSpec)\n\nTypes that are not defined in the service's TypeSpec (e.g., from ARM common types or TypeSpec templates) cannot be renamed via `@@clientName`. Instead, create SDK-side customization files to rename them.\n\n1. Create a customization file in the SDK package's `src\u002FCustomize\u002FModels\u002F` directory (create the directory if it doesn't exist).\n2. Define a `partial class` (or `partial struct` for value types) with the **desired name**, and apply the `[CodeGenType(\"OriginalGeneratedName\")]` attribute to map it to the generated type.\n\n**Example:** To rename `OptionalPropertiesUpdateableProperties` to `DurableTaskPrivateEndpointConnectionPatchProperties`:\n\n```csharp\n\u002F\u002F src\u002FCustomize\u002FModels\u002FDurableTaskPrivateEndpointConnectionPatchProperties.cs\nusing Azure.ResourceManager.DurableTask.Models;\n\nnamespace Azure.ResourceManager.DurableTask.Models\n{\n    [CodeGenType(\"OptionalPropertiesUpdateableProperties\")]\n    public partial class DurableTaskPrivateEndpointConnectionPatchProperties\n    {\n    }\n}\n```\n\nAfter creating customization files, proceed to **Step 6** (Regenerate the SDK) — Steps 4 and 5 (commit spec changes and update `tsp-location.yaml`) are only needed if `client.tsp` was also modified.\n\n### Step 4: Commit and Push Spec Changes\n\nCommit `client.tsp` changes and push to the spec PR branch.\n\n### Step 5: Update SDK tsp-location.yaml\n\nUpdate the `commit` field in `tsp-location.yaml` to point to the new spec commit SHA:\n\n```yaml\ndirectory: specification\u002F\u003Cservice>\u002F\u003CServiceName>.Management\ncommit: \u003Cnew-commit-sha>\nrepo: Azure\u002Fazure-rest-api-specs\n```\n\n### Step 6: Regenerate the SDK\n\n```powershell\ncd sdk\u002F\u003Cservice>\u002FAzure.ResourceManager.\u003CService>\u002Fsrc\ndotnet build \u002Ft:GenerateCode\n```\n\n### Step 7: Build and Verify\n\n```powershell\n# Build the library and tests (mgmt libraries always have a solution file)\ncd sdk\u002F\u003Cservice>\u002FAzure.ResourceManager.\u003CService>\ndotnet build\n\n# Export API listing\ncd \u003Crepo-root>\npwsh eng\u002Fscripts\u002FExport-API.ps1 \u003Cservice-directory>\n```\n\nIf tests fail to build due to old type\u002Fproperty names, update the test files to use the new names.\n\n### Step 8: Verify the Changes\n\nCheck the API surface file (`api\u002F*.cs`) to confirm the review comments have been addressed — old names are gone and new names are present.\n\n### Step 9: Commit, Push, and Resolve Comments\n\n1. Commit and push the regenerated SDK to the SDK PR branch\n2. Resolve the corresponding review comments on the SDK PR using GitHub GraphQL API\n\n## Handling Unsupported Cases\n\nSome changes cannot be done purely through `@@clientName` or `@@alternateType` in `client.tsp`. When you encounter any of the following, **skip the change** and continue processing other comments. After all processable changes are done, inform the user about the skipped changes with the reason, and let them choose how to proceed:\n\n- **Aliases** — `@@clientName` cannot target TypeSpec aliases (e.g., `alias foo = \"A\" | \"B\" | string;`). Explain to the user that the alias needs to be converted to a named type (e.g., `union`) in the spec `.tsp` file first.\n- **Changes requiring spec file modifications beyond `client.tsp`** — any change that cannot be expressed via `client.tsp` decorators or SDK custom code alone (e.g., structural changes, flattening\u002Funflattening models, adding\u002Fremoving properties, or changing inheritance).\n- **Ambiguous naming** — if a review comment says \"rename this\" but doesn't specify the new name, ask the user what name they prefer.\n\n## Common Pitfalls\n\n1. **Missing `using` statement** in `client.tsp` — the type names won't resolve and `@@clientName` will silently fail. Check the `namespace` declaration in the spec's `.tsp` files to find the correct namespace.\n2. **Modifying files other than `client.tsp`** — only `client.tsp` should be modified in the spec repo. If other file changes are needed, skip and inform the user.\n3. **Stale commit SHA** — always update `tsp-location.yaml` to point to the pushed spec commit before regenerating.\n4. **Test files** — after renaming types, test and sample files may still reference old names and need manual updates.\n5. **Not building tests** — always build the solution (which includes tests), not just the library, to catch stale references.\n","# Skill: mgmt-review-comment-resolution\n\nResolve review comments on Azure management-plane SDK PRs by making changes in the TypeSpec spec repo (`client.tsp`) and regenerating the SDK.\n\n## When Invoked\n\nTrigger phrases: \"resolve review comments\", \"fix review comments\", \"resolve PR comments\", \"rename types\", \"fix naming\", \"resolve naming comments\", \"fix API surface\".\n\n## Overview\n\nManagement-plane SDK code is generated from TypeSpec definitions in `azure-rest-api-specs`. Review comments on SDK PRs often request changes to the generated API surface — renaming types, renaming properties, or changing property types to be more user-friendly. These changes are made in the spec repo's `client.tsp` using TypeSpec decorators (primarily `@@clientName`), then the SDK is regenerated.\n\n### Key Concepts\n\n- **`@@clientName(TypeSpecName, \"CSharpName\", \"csharp\")`** — renames a TypeSpec model\u002Funion\u002Fenum\u002Fproperty to a different name in the generated C# SDK. This is the primary tool for resolving naming comments.\n- **`@@clientName` only works on types defined in the service's TypeSpec** — you can only target models, unions, enums, and interfaces that are explicitly declared in the service's `.tsp` files. If a type is not defined there (e.g., it comes from ARM common types or TypeSpec templates), `@@clientName` cannot target it. See \"Renaming via SDK Custom Code\" below.\n- **`@@clientName` cannot target aliases** — if a type is defined as an `alias`, `@@clientName` cannot target it. See \"Handling Unsupported Cases\" below.\n- **Only `client.tsp` may be changed** in the spec repo — do not modify any other `.tsp` files or config files. If resolving a comment would require changes to other files, skip that change and inform the user with the reason after processing all other comments. Since only `client.tsp` is modified, swagger regeneration is never needed.\n\n## Types of Review Comments\n\n### 1. Type Names Too Generic\n\nReview comments may flag type names that are too generic and could collide with types from other SDKs or lack sufficient context.\n\n**Goal:** Make the name more descriptive by adding context — this could be the RP name, the resource name, or other domain-specific context. The right prefix depends on what makes the name unambiguous and meaningful.\n\n**Examples:**\n| Original | Renamed | Context Added |\n|---|---|---|\n| `ProvisioningState` | `ManagedOpsProvisioningState` | RP name |\n| `ServiceInformation` | `ManagedOpsServiceInformation` | RP name |\n| `EncryptionProperties` | `VaultEncryptionProperties` | Resource name |\n| `ConnectionState` | `PrivateEndpointConnectionState` | Feature name |\n\n**How to decide the prefix:** Read the review comment carefully — it may suggest a specific prefix. If not, choose the most natural context that makes the name unambiguous within the SDK's namespace. When uncertain, **ask the user** what prefix or name they prefer.\n\n### 2. Property Renames\n\nProperties can also be renamed using `@@clientName` on the model's property:\n\n```typespec\n@@clientName(MyModel.oldPropertyName, \"NewPropertyName\", \"csharp\");\n```\n\n### 3. Property Type Changes\n\nSome review comments ask for property types to be changed (e.g., `string` → `ResourceIdentifier`, `string` → `TimeSpan`). Use the `@@alternateType` decorator in `client.tsp` to change the generated C# type:\n\n```typespec\n@@alternateType(MyModel.myProperty, armResourceIdentifier, \"csharp\");\n@@alternateType(MyModel.durationProperty, duration, \"csharp\");\n```\n\nThis changes the property's type in the generated C# SDK without modifying other `.tsp` files. If `@@alternateType` cannot handle the requested type change, skip the change and inform the user with the reason after processing all other comments.\n\n## Workflow\n\n### Step 1: Read and Understand Review Comments\n\nFetch the PR's review comments using GitHub MCP tools. For each unresolved comment:\n1. Identify what change is requested (rename type, rename property, change type, etc.)\n2. Find the corresponding TypeSpec type\u002Fproperty in the spec\n3. Determine the appropriate new name or change\n4. **Determine if the 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.\n   - If defined → the rename will use `@@clientName` in `client.tsp` (Step 3)\n   - If NOT defined → the rename must use SDK-side custom code (Step 3b)\n\nIf a comment is ambiguous about what the new name should be, **ask the user** before proceeding.\n\n### Step 2: Locate the Spec Files\n\n1. Find `tsp-location.yaml` in the SDK package directory:\n   ```\n   sdk\u002F\u003Cservice>\u002FAzure.ResourceManager.\u003CService>\u002Ftsp-location.yaml\n   ```\n2. This file contains:\n   - `directory`: path to the TypeSpec spec (e.g., `specification\u002Fmanagedoperations\u002FManagedOps.Management`)\n   - `commit`: the spec repo commit SHA\n   - `repo`: the spec repo (e.g., `Azure\u002Fazure-rest-api-specs`)\n\n3. Key spec files:\n   - `client.tsp` — where `@@clientName` and `@@alternateType` decorators go (this is the only `.tsp` file you should modify)\n   - Other `.tsp` files — read-only reference for understanding models, unions, and aliases\n\n### Step 3: Apply Changes in the Spec Repo (for types defined in TypeSpec)\n\nThis step applies only to types that are defined in the service's TypeSpec files. For types NOT defined in the service's TypeSpec, skip to **Step 3b**.\n\nLocate the spec repo. It may be:\n- A local clone (typically at `..\u002Fazure-rest-api-specs` relative to the SDK repo)\n- If not available locally, clone it or ask the user for the path\n\nIf there is an existing spec PR branch, check it out. If there is no spec PR or branch yet, create a new branch from the commit referenced in `tsp-location.yaml`.\n\nAdd `@@clientName` decorators to `client.tsp`. Read the existing `client.tsp` to find the correct `using` statement for the service namespace (e.g., `using Microsoft.ManagedOps;`, `using Azure.ResourceManager.Compute;`, etc.), then add decorators targeting the types to rename:\n\n```typespec\n@@clientName(GenericTypeName, \"MoreDescriptiveTypeName\", \"csharp\");\n@@clientName(MyModel.genericProperty, \"moreDescriptiveProperty\", \"csharp\");\n```\n\nMake sure the `using` statement for the service namespace is present so that type names resolve correctly. Check the `namespace` declaration in `main.tsp` or other `.tsp` files to find the correct namespace.\n\n### Step 3b: Apply Changes via SDK Custom Code (for types NOT defined in TypeSpec)\n\nTypes that are not defined in the service's TypeSpec (e.g., from ARM common types or TypeSpec templates) cannot be renamed via `@@clientName`. Instead, create SDK-side customization files to rename them.\n\n1. Create a customization file in the SDK package's `src\u002FCustomize\u002FModels\u002F` directory (create the directory if it doesn't exist).\n2. Define a `partial class` (or `partial struct` for value types) with the **desired name**, and apply the `[CodeGenType(\"OriginalGeneratedName\")]` attribute to map it to the generated type.\n\n**Example:** To rename `OptionalPropertiesUpdateableProperties` to `DurableTaskPrivateEndpointConnectionPatchProperties`:\n\n```csharp\n\u002F\u002F src\u002FCustomize\u002FModels\u002FDurableTaskPrivateEndpointConnectionPatchProperties.cs\nusing Azure.ResourceManager.DurableTask.Models;\n\nnamespace Azure.ResourceManager.DurableTask.Models\n{\n    [CodeGenType(\"OptionalPropertiesUpdateableProperties\")]\n    public partial class DurableTaskPrivateEndpointConnectionPatchProperties\n    {\n    }\n}\n```\n\nAfter creating customization files, proceed to **Step 6** (Regenerate the SDK) — Steps 4 and 5 (commit spec changes and update `tsp-location.yaml`) are only needed if `client.tsp` was also modified.\n\n### Step 4: Commit and Push Spec Changes\n\nCommit `client.tsp` changes and push to the spec PR branch.\n\n### Step 5: Update SDK tsp-location.yaml\n\nUpdate the `commit` field in `tsp-location.yaml` to point to the new spec commit SHA:\n\n```yaml\ndirectory: specification\u002F\u003Cservice>\u002F\u003CServiceName>.Management\ncommit: \u003Cnew-commit-sha>\nrepo: Azure\u002Fazure-rest-api-specs\n```\n\n### Step 6: Regenerate the SDK\n\n```powershell\ncd sdk\u002F\u003Cservice>\u002FAzure.ResourceManager.\u003CService>\u002Fsrc\ndotnet build \u002Ft:GenerateCode\n```\n\n### Step 7: Build and Verify\n\n```powershell\n# Build the library and tests (mgmt libraries always have a solution file)\ncd sdk\u002F\u003Cservice>\u002FAzure.ResourceManager.\u003CService>\ndotnet build\n\n# Export API listing\ncd \u003Crepo-root>\npwsh eng\u002Fscripts\u002FExport-API.ps1 \u003Cservice-directory>\n```\n\nIf tests fail to build due to old type\u002Fproperty names, update the test files to use the new names.\n\n### Step 8: Verify the Changes\n\nCheck the API surface file (`api\u002F*.cs`) to confirm the review comments have been addressed — old names are gone and new names are present.\n\n### Step 9: Commit, Push, and Resolve Comments\n\n1. Commit and push the regenerated SDK to the SDK PR branch\n2. Resolve the corresponding review comments on the SDK PR using GitHub GraphQL API\n\n## Handling Unsupported Cases\n\nSome changes cannot be done purely through `@@clientName` or `@@alternateType` in `client.tsp`. When you encounter any of the following, **skip the change** and continue processing other comments. After all processable changes are done, inform the user about the skipped changes with the reason, and let them choose how to proceed:\n\n- **Aliases** — `@@clientName` cannot target TypeSpec aliases (e.g., `alias foo = \"A\" | \"B\" | string;`). Explain to the user that the alias needs to be converted to a named type (e.g., `union`) in the spec `.tsp` file first.\n- **Changes requiring spec file modifications beyond `client.tsp`** — any change that cannot be expressed via `client.tsp` decorators or SDK custom code alone (e.g., structural changes, flattening\u002Funflattening models, adding\u002Fremoving properties, or changing inheritance).\n- **Ambiguous naming** — if a review comment says \"rename this\" but doesn't specify the new name, ask the user what name they prefer.\n\n## Common Pitfalls\n\n1. **Missing `using` statement** in `client.tsp` — the type names won't resolve and `@@clientName` will silently fail. Check the `namespace` declaration in the spec's `.tsp` files to find the correct namespace.\n2. **Modifying files other than `client.tsp`** — only `client.tsp` should be modified in the spec repo. If other file changes are needed, skip and inform the user.\n3. **Stale commit SHA** — always update `tsp-location.yaml` to point to the pushed spec commit before regenerating.\n4. **Test files** — after renaming types, test and sample files may still reference old names and need manual updates.\n5. **Not building tests** — always build the solution (which includes tests), not just the library, to catch stale references.\n",{"name":5,"description":7},"main","dbc5eb654c3492137a4fbeeb6776c804f0042063",".github\u002Fskills\u002Fmgmt-review-comment-resolution",5228,"https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net","https:\u002F\u002Fgithub.com\u002FAzure","https:\u002F\u002Fdocs.microsoft.com\u002Fen-us\u002Fazure\u002F","APIs, SDKs and open source projects from Microsoft Azure","2026-11-14 22:39:26",{"source":9,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add Azure\u002Fazure-sdk-for-net --skill mgmt-review-comment-resolution",{"tool":66,"command":67},"bunx","bunx skills add Azure\u002Fazure-sdk-for-net --skill mgmt-review-comment-resolution",{"tool":69,"command":70},"pnpm","pnpm dlx skills add Azure\u002Fazure-sdk-for-net --skill mgmt-review-comment-resolution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmgmt-review-comment-resolution\u002FSKILL.md",true,[],[75,99,133,162,188,212],{"skillNo":76,"name":77,"nameZh":78,"description":79,"descriptionZh":80,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":81,"categories":82,"keywords":87,"publishedAt":46},"01M6BTE1QTJPYDAN115GS2EHDQ","update-chat-api","WebPubSub Chat API 基线维护","Use when: updating, exporting, refreshing, or validating the public API baseline for Azure.Messaging.WebPubSub.Chat after a public API change.","使用场景：在公共 API 发生变更后，更新、导出、刷新或验证 Azure.Messaging.WebPubSub.Chat 的公共 API 基线。","https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Fblob\u002Fmain\u002Fsdk\u002Fwebpubsub\u002F.github\u002Fskills\u002Fupdate-chat-api\u002FSKILL.md",[83,84],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":85,"categoryName":86,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[88,37,89,90,91,35,92,93,94,95,96,97,98],"update","update chat api","chat","change","messaging","baseline","public","use","public api","for","when",{"skillNo":100,"name":101,"nameZh":102,"description":103,"descriptionZh":104,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":105,"categories":106,"keywords":111,"publishedAt":46},"01M6BTDYJS2RSGZR2T2BTJJ6YC","search-documents","Azure 搜索文档 SDK 端到端工作流","E2E workflow skill for Azure.Search.Documents SDK (TypeSpec + heavy customization). Handles full release cycles and partial updates: SHA update; code generation; build; customization fixes; ServiceVersion sync; testing; API export; changelog; version; samples; formatting; release metadata. WHEN: create new package version for Azure.Search.Documents; regenerate Azure.Search.Documents; fix Azure.Search.Documents bug; release Azure.Search.Documents; update Azure.Search.Documents spec. Do not use for Azure.ResourceManager.Search or Azure.Provisioning.Search.","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。","https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Fblob\u002Fmain\u002Fsdk\u002Fsearch\u002FAzure.Search.Documents\u002F.github\u002Fskills\u002Fsearch-documents\u002FSKILL.md",[107,108],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":109,"categoryName":110,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C6RHQSB2BGY8CHB7AN49N9","Microsoft 应用生命周期管理",[112,113,114,115,116,34,117,118,35,36,119,88,120,121,122,123,124,125,126,37,127,128,129,130,131,98,132],"documents","search","search documents","testing","spec","workflow","sync","create","code","release","changelog","package","Code Generation","e2e","provisioning","fix","bug","workflow skill","updates","new package","new",{"skillNo":134,"name":135,"nameZh":136,"description":137,"descriptionZh":138,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":139,"categories":140,"keywords":145,"publishedAt":46},"01M6BTDVJGZ0N7F7DXR5Z7E0QH","search-documents-version-diff","Search.Documents 版本差异检测","Diff the current Azure.Search.Documents public API surface against a previous published version and detect preview-to-preview regressions where the SDK customization layer was not bubbled up after a TypeSpec change. Use whenever the user asks to compare Azure.Search.Documents betas, verify no Azure.Search.Documents preview features dropped, regression audit between Azure.Search.Documents versions, sanity-check a release branch for Azure.Search.Documents, or investigate a missing Azure.Search.Documents preview feature — even if they don't say the word \"diff\". Specifically catches dropped wrappers (QueryAnswer\u002FQueryCaption\u002FQueryRewrites style), lost SearchOptions aggregator redirectors, `@@access(\"internal\")` flips, deleted-instead-of-gated `#if AZURE_SEARCH_PREVIEW` blocks, dropped `ServiceVersion` enum values, and convenience-to-protocol downgrades.","将当前 Azure.Search.Documents 公共 API 接口与之前发布的版本进行对比，检测因 TypeSpec 变更后 SDK 自定义层未向上传播而导致的预览版之间的回归。当用户要求比较 Azure.Search.Documents 各 beta 版本、确认 Azure.Search.Documents 预览功能未丢失、审计 Azure.Search.Documents 各版本间的回归、对 Azure.Search.Documents 发布分支进行健全性检查，或排查 Azure.Search.Documents 预览功能缺失时使用——即使用户没有提到“diff”一词。专门捕获丢失的包装器（QueryAnswer\u002FQueryCaption\u002FQueryRewrites 类型）、丢失的 SearchOptions 聚合重定向器、`@@access(\"internal\")` 翻转、被直接删除而非通过条件门控的 `#if AZURE_SEARCH_PREVIEW` 代码块、丢失的 `ServiceVersion` 枚举值，以及便捷方法降级为协议方法等问题。","https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Fblob\u002Fmain\u002Fsdk\u002Fsearch\u002FAzure.Search.Documents\u002F.github\u002Fskills\u002Fsearch-documents-version-diff\u002FSKILL.md",[141,142],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":143,"categoryName":144,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[112,113,146,114,147,148,34,91,35,36,121,149,150,37,151,152,153,154,155,156,157,158,96,159,160,161],"search documents version diff","version","diff","protocol","audit","verify","investigate","access","regression","branch","up","preview","aggregator","sanity","layer","features",{"skillNo":163,"name":164,"nameZh":165,"description":166,"descriptionZh":167,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":168,"categories":169,"keywords":172,"publishedAt":46},"01M6BTDRCG0SXKPKCFWR75FY8T","search-documents-typespec-validation","Search.Documents TypeSpec 一致性验证","TypeSpec validation skill for Azure.Search.Documents SDK. Performs a COMPLETE validation of ALL operations, ALL models, ALL enums, and ALL properties against the TypeSpec definition at any pinned commit. Works for any API version. Generates a full gap report: missing features, extra features, naming mismatches, and recommended fix location. WHEN: \"validate Azure.Search.Documents SDK against TypeSpec\", \"detect Azure.Search.Documents typespec feature gaps\", \"what is missing from the Azure.Search.Documents SDK\", \"compare Azure.Search.Documents SDK to spec\", \"full spec coverage audit for Azure.Search.Documents\". Do NOT use for version-to-version diff or regression detection — use search-documents-version-diff instead.","面向 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。","https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Fblob\u002Fmain\u002Fsdk\u002Fsearch\u002FAzure.Search.Documents\u002F.github\u002Fskills\u002Fsearch-documents-typespec-validation\u002FSKILL.md",[170,171],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":143,"categoryName":144,"taxonomyType":28,"taxonomyTypeDesc":29},[112,36,173,113,174,114,116,34,175,176,177,178,35,179,150,180,37,154,181,182,127,183,184,185,161,186,187,98],"validation","search documents typespec validation","to spec","commit","validate","gap report","report","detection","extra","coverage","do","full","at","api version","definition",{"skillNo":189,"name":190,"nameZh":191,"description":192,"descriptionZh":193,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":194,"categories":195,"keywords":202,"publishedAt":46},"01M6BTDP9JS9KNT1H9ED8AGZF5","test-skill_file","掷骰子技能文件测试","Roll dice using a random number generator.","使用随机数生成器掷骰子。","https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Fblob\u002Fmain\u002Fsdk\u002Fai\u002FAzure.AI.Projects.Agents\u002Ftests\u002FTestData\u002Froll-dice\u002FSKILL.md",[196,199],{"categoryNo":197,"categoryName":198,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",{"categoryNo":200,"categoryName":201,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9521NCBJVNZKB553TX3WK","抽奖活动与随机抽取",[203,204,205,206,207,208,209,210,211],"test","Test Skill","file","test skill file","roll dice","dice","random","generator","number",{"skillNo":213,"name":214,"nameZh":215,"description":216,"descriptionZh":217,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":218,"categories":219,"keywords":222,"publishedAt":46},"01M6BTDMF2VK2CM53SSHZNWX7T","roll-dice","随机数掷骰子","Roll dice using a random number generator. Use when asked to roll a die (d6, d20, etc.), roll dice, or generate a random dice roll.","使用随机数生成器掷骰子。当用户要求掷单个骰子（d6、d20 等）、掷骰子或生成随机掷骰结果时使用。","https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Fblob\u002Fmain\u002Fsdk\u002Fai\u002FAzure.AI.Projects.Agents\u002Ftests\u002FSamples\u002Froll-dice\u002FSKILL.md",[220,221],{"categoryNo":197,"categoryName":198,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":200,"categoryName":201,"taxonomyType":28,"taxonomyTypeDesc":29},[207,208,223,95,209,210,211,98],"generate"]