azure-attestation — скилл для Claude Code: аттестация в Azure
Справочник по Azure Attestation для агента: разбор ошибок, политики claim rules, baseline для SGX и TPM, приватные эндпоинты.
CC-BY-4.0 169 установок ★ 818 обновлён 2026-10-25
npx skills add MicrosoftDocs/Agent-Skills --skill azure-attestation -a claude-codeЧто делает azure-attestation
Скилл даёт агенту справочник по Azure Attestation: разделы про отладку ошибок, лучшие практики, безопасность, конфигурацию политик и развёртывание приватного эндпоинта, каждый со ссылками на Microsoft Learn. Внутри таблица категорий с диапазонами строк и отдельными файлами вроде security.md.
Работает так: агент открывает нужный кусок SKILL.md по номеру строк через read_file, а за подробностями идёт в сеть — через mcp_microsoftdocs:microsoft_docs_fetch с меткой from=learn-agent-skill, в запасе есть fetch_webpage. Сетевой доступ обязателен. Без MCP-сервера Microsoft Docs скилл посоветует его поставить, и дальше локального индекса дело не пойдёт.
Границы заданы жёстко: аттестация токенов, политики claim rules, baseline для SGX и TPM, приватные эндпоинты. Задачи по Confidential Computing, Virtual Enclaves, Dedicated HSM и Key Vault он отдаёт соседним скиллам. Если копия скилла старше трёх месяцев, он предложит подтянуть свежую из репозитория.
Какие задачи решает
- разобрать код ошибки при аттестации и найти причину сбоя
- проверить attestation token по документированным примерам
- написать политику с claim rules и подписать её сертификатом
- включить диагностические логи и прочитать схему записей
- поднять приватный эндпоинт для провайдера аттестации через PowerShell
Примеры запросов агенту
- Провайдер отклоняет квоту SGX. Пройди по разделу Troubleshooting и объясни, в чём дело.
- Проверь токен из
token.jsonи скажи, какие claim прошли проверку. - Настрой приватный эндпоинт для провайдера аттестации по разделу Deployment.
Как установить azure-attestation
1Через Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-attestation -a claude-code2Вручную: положить файлы
~/.claude/skills/azure-attestation/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/azure-attestation/
1Через Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-attestation -a codex2Вручную: положить файлы
.agents/skills/azure-attestation/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-attestation -a cursor2Вручную: положить файлы
.cursor/skills/azure-attestation/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install MicrosoftDocs/Agent-Skills skills/azure-attestation2Вручную: положить файлы
.github/skills/azure-attestation/SKILL.md1Через Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-attestation -a gemini-cli2Командой платформы
gemini skills install https://github.com/MicrosoftDocs/Agent-Skills --path skills/azure-attestationВручную: положить файлы
.devin/skills/azure-attestation/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-attestation -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об azure-attestation
Как установить azure-attestation в Claude Code?
Выполните npx skills add MicrosoftDocs/Agent-Skills --skill azure-attestation -a claude-code. Файл скилла окажется по пути ~/.claude/skills/azure-attestation/SKILL.md.
Что делает azure-attestation?
Даёт агенту индекс по Azure Attestation со ссылками на Microsoft Learn и подгружает нужные страницы документации, когда требуется подробность.
Что нужно, чтобы скилл заработал?
Сетевой доступ и инструменты mcp_microsoftdocs. Без них останется только локальный индекс с ссылками.
Исходный текст
SKILL.md · CC-BY-4.0
--- name: azure-attestation description: Expert knowledge for Azure Attestation development including troubleshooting, best practices, security, configuration, and deployment. Use when validating attestation tokens, authoring policies, enforcing SGX/TPM baselines, or configuring private endpoints, and other Azure Attestation related development tasks. Not for Azure Confidential Computing (use azure-confidential-computing), Azure Virtual Enclaves (use azure-virtual-enclaves), Azure Dedicated HSM (use azure-dedicated-hsm), Azure Key Vault (use azure-key-vault). compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation. metadata: generated_at: "2026-09-27" generator: "docs2skills/1.0.0" --- # Azure Attestation Skill This skill provides expert guidance for Azure Attestation. Covers troubleshooting, best practices, security, configuration, and deployment. It combines local quick-reference content with remote documentation fetching capabilities. ## How to Use This Skill > **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file > **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md) This skill requires **network access** to fetch documentation content: - **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown. - **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown. ## Category Index | Category | Lines | Description | |----------|-------|-------------| | Troubleshooting | L33-L37 | Diagnosing and fixing common Azure Attestation failures, error codes, policy/quote validation issues, configuration mistakes, and connectivity or runtime problems. | | Best Practices | L38-L46 | Guidance on validating attestation tokens, writing secure attestation policies, and configuring/enforcing SGX and TPM attestation baselines using sample policies. | | Security | L47-L52 | Using Azure Policy with Attestation, enforcing compliance, and best practices to harden, secure, and protect Azure Attestation deployments and configurations. | | Configuration | L53-L69 | Configuring Azure Attestation policies (grammar, versions, claim rules), policy signer certs, and monitoring/logging via Azure Monitor, CLI, PowerShell, and log schema. | | Deployment | L70-L73 | How to create and configure a private endpoint for Azure Attestation using PowerShell, including network setup and secure access to attestation resources. | ### Troubleshooting | Topic | URL | |-------|-----| | Troubleshoot common Azure Attestation errors and issues | https://learn.microsoft.com/en-us/azure/attestation/troubleshoot-guide | ### Best Practices | Topic | URL | |-------|-----| | Interpret and validate Azure Attestation tokens with examples | https://learn.microsoft.com/en-us/azure/attestation/attestation-token-examples | | Author secure and correct Azure Attestation policies | https://learn.microsoft.com/en-us/azure/attestation/author-sign-policy | | Configure custom TCB baseline enforcement for SGX attestation | https://learn.microsoft.com/en-us/azure/attestation/custom-tcb-baseline-enforcement | | Use sample SGX attestation policies in Azure | https://learn.microsoft.com/en-us/azure/attestation/policy-examples | | Use sample TPM attestation policies in Azure | https://learn.microsoft.com/en-us/azure/attestation/tpm-attestation-sample-policies | ### Security | Topic | URL | |-------|-----| | Apply built-in Azure Policy definitions for Attestation | https://learn.microsoft.com/en-us/azure/attestation/policy-reference | | Harden and secure Azure Attestation deployments | https://learn.microsoft.com/en-us/azure/attestation/secure-attestation | ### Configuration | Topic | URL | |-------|-----| | Use Azure Attestation claim rule functions and operators | https://learn.microsoft.com/en-us/azure/attestation/claim-rule-functions | | Use Azure Attestation claim rule grammar in policies | https://learn.microsoft.com/en-us/azure/attestation/claim-rule-grammar | | Understand Azure Attestation claim sets and categories | https://learn.microsoft.com/en-us/azure/attestation/claim-sets | | Enable diagnostic logging for Azure Attestation | https://learn.microsoft.com/en-us/azure/attestation/enable-logging | | Reference for Azure Attestation monitoring and log schema | https://learn.microsoft.com/en-us/azure/attestation/logs-data-reference | | Monitor Azure Attestation with Azure Monitor | https://learn.microsoft.com/en-us/azure/attestation/monitor-logs | | Configure Azure Attestation policy signer certificates | https://learn.microsoft.com/en-us/azure/attestation/policy-signer-examples | | Configure Azure Attestation policy language version 1.0 | https://learn.microsoft.com/en-us/azure/attestation/policy-version-1-0 | | Configure Azure Attestation policy language version 1.1 | https://learn.microsoft.com/en-us/azure/attestation/policy-version-1-1 | | Configure Azure Attestation policy language version 1.2 | https://learn.microsoft.com/en-us/azure/attestation/policy-version-1-2 | | Set up Azure Attestation using Azure CLI | https://learn.microsoft.com/en-us/azure/attestation/quickstart-azure-cli | | Configure Azure Attestation provider with PowerShell | https://learn.microsoft.com/en-us/azure/attestation/quickstart-powershell | | Understand and use Azure Attestation log data | https://learn.microsoft.com/en-us/azure/attestation/view-logs | ### Deployment | Topic | URL | |-------|-----| | Create Azure Attestation private endpoint with PowerShell | https://learn.microsoft.com/en-us/azure/attestation/private-endpoint-powershell |
© MicrosoftDocs · CC-BY-4.0 · MicrosoftDocs/Agent-Skills