界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
部署与运维 · SKILL.md

Azure Advisor建议整改工作流

azure-advisor-actionability

根据Azure Advisor建议生成并核验整改操作;需要真实Azure权限和运行环境,云端写入须由用户授权;本站未运行云操作。

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: azure-advisor-actionability description: "Remediate Azure Advisor recommendations. WHEN: "fix Advisor recommendation"." license: MIT metadata: author: Microsoft version: "1.0.1"

Azure Advisor Actionability

Quick reference

Present remediation for the customer to run; never execute without explicit confirmation. Require the recommendationTypeId GUID and complete affected resourceId; reuse known values, ask for missing values, never guess.

Get resourceId from the user or an exact advisor_recommendation_list affected-resource record. Ask which resource if ambiguous; never use a recommendation instance ID.

Workflow

  1. Call advisor_remediation_get once with only recommendationTypeId, never resourceId, before generating guidance or substituting values.
  2. For RemediationNotFound, empty responses, or no usable remediation, state that Advisor remediation is unavailable. Retrieve relevant public Microsoft Learn documentation; ask for the recommendation description if unknown. If none is available, say so; never invent guidance. Report other tool errors without internals, not as empty results.
  3. Use only returned remediation or retrieved Learn guidance, including warnings and verification.
  4. After retrieval, substitute unambiguous placeholders from the exact affected resourceId or confirmed context: subscription, resource group, resource names, full resource ID. Preserve and describe unresolved placeholders.
  5. Preserve step order; separate Azure CLI and PowerShell.

For Advisor guidance, do not generate commands. For hybrid or executable, include every manual, decision, and command step. Omit raw JSON and internal labels.

Final response

Label the source: "Guidance source: Azure Advisor remediation tool" or "Guidance source: publicly available Microsoft Learn documentation" with retrieved learn.microsoft.com citations. Never attribute fallback guidance to Advisor or claim execution.

我的收藏