microsoft-docs · microsoft — скилл для Claude Code: что делает и как установить
Скилл отвечает на вопросы о технологиях Microsoft через официальную документацию. Подойдёт для туториалов, настроек, лимитов и разбора концепций.
npx skills add microsoft/skills --skill microsoft-docs -a claude-codeЧто делает microsoft-docs
microsoft-docs помогает агенту искать и читать официальную документацию Microsoft. Он подходит для вопросов об Azure, .NET, M365, Windows и Power Platform: от объяснения концепции до пошагового туториала, параметров конфигурации, квот и практик безопасности.
Основной путь — Microsoft Learn MCP Server с инструментами microsoft_docs_search и microsoft_docs_fetch. Первый ищет страницы и материалы, второй загружает полный текст или нужный раздел. Если MCP-сервер недоступен, скилл предлагает использовать mslearn через npx @microsoft/learn-cli или установленную команду mslearn.
Ставьте скилл, если агенту нужны актуальные сведения из Microsoft Learn перед ответом. Для Claude Code установка выполняется командой npx skills add microsoft/skills --skill microsoft-docs -a claude-code, а для GitHub Copilot — gh skill install microsoft/skills microsoft-docs.
Какие задачи решает
- найти официальный туториал по Azure Functions
- разобраться с настройками App Service
- проверить лимиты и квоты сервисов Microsoft
- получить объяснение концепции Cosmos DB
- уточнить практики безопасности Azure
Примеры запросов агенту
- Объясни, как работает партиционирование Cosmos DB, и найди официальную документацию.
- Найди пошаговый туториал по Azure Functions для Python v2.
- Проверь настройки App Service и лимиты Azure OpenAI.
Как установить microsoft-docs
1Через Skills CLI (Vercel)
npx skills add microsoft/skills --skill microsoft-docs -a claude-code2Вручную: положить файлы
~/.claude/skills/microsoft-docs/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/microsoft-docs/
Вручную: положить файлы
.agents/skills/microsoft-docs/SKILL.mdДля всех проектов — ~/.agents/skills/
Вручную: положить файлы
.cursor/skills/microsoft-docs/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install microsoft/skills microsoft-docs2Вручную: положить файлы
.github/skills/microsoft-docs/SKILL.mdКомандой платформы
gemini skills install https://github.com/microsoft/skills --path .github/skills/microsoft-docsВручную: положить файлы
.devin/skills/microsoft-docs/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора18
Весь набор →Другие версии microsoft-docs
Похожие
Вопросы о microsoft-docs
Как установить microsoft-docs в Claude Code?
Выполните npx skills add microsoft/skills --skill microsoft-docs -a claude-code. Файл скилла появится в ~/.claude/skills/microsoft-docs/SKILL.md.
Что делает microsoft-docs?
Скилл ищет официальную документацию Microsoft и при необходимости загружает полную страницу. Он помогает разбирать технологии, туториалы, настройки, лимиты и практики безопасности.
Что нужно для работы microsoft-docs?
Основной вариант использует Microsoft Learn MCP Server. При его недоступности применяется mslearn, который можно запустить через npx @microsoft/learn-cli или установить командой npm install -g @microsoft/learn-cli.
Исходный текст
SKILL.md · MIT
--- name: microsoft-docs description: Understand Microsoft technologies by querying official documentation. Use whenever the user asks how something works, wants tutorials, needs configuration options, limits, quotas, or best practices for any Microsoft technology (Azure, .NET, M365, Windows, Power Platform, etc.)—even if they don't mention "docs." If the question is about understanding a concept rather than writing code, this is the right skill. context: fork compatibility: Primarily uses the Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp); if that is unavailable, fall back to the mslearn CLI (`npx @microsoft/learn-cli`). --- # Microsoft Docs ## Tools | Tool | Use For | |------|---------| | `microsoft_docs_search` | Find documentation—concepts, guides, tutorials, configuration | | `microsoft_docs_fetch` | Get full page content (when search excerpts aren't enough) | ## When to Use - **Understanding concepts** — "How does Cosmos DB partitioning work?" - **Learning a service** — "Azure Functions overview", "Container Apps architecture" - **Finding tutorials** — "quickstart", "getting started", "step-by-step" - **Configuration options** — "App Service configuration settings" - **Limits & quotas** — "Azure OpenAI rate limits", "Service Bus quotas" - **Best practices** — "Azure security best practices" ## Query Effectiveness Good queries are specific: ``` # ❌ Too broad "Azure Functions" # ✅ Specific "Azure Functions Python v2 programming model" "Cosmos DB partition key design best practices" "Container Apps scaling rules KEDA" ``` Include context: - **Version** when relevant (`.NET 8`, `EF Core 8`) - **Task intent** (`quickstart`, `tutorial`, `overview`, `limits`) - **Platform** for multi-platform docs (`Linux`, `Windows`) ## When to Fetch Full Page Fetch after search when: - **Tutorials** — need complete step-by-step instructions - **Configuration guides** — need all options listed - **Deep dives** — user wants comprehensive coverage - **Search excerpt is cut off** — full context needed ## Why Use This - **Accuracy** — live docs, not training data that may be outdated - **Completeness** — tutorials have all steps, not fragments - **Authority** — official Microsoft documentation ## CLI Alternative If the Learn MCP server is not available, use the `mslearn` CLI from the command line instead: ```sh # Run directly (no install needed) npx @microsoft/learn-cli search "azure functions timeout" # Or install globally, then run npm install -g @microsoft/learn-cli mslearn search "azure functions timeout" ``` | MCP Tool | CLI Command | |----------|-------------| | `microsoft_docs_search(query: "...")` | `mslearn search "..."` | | `microsoft_docs_fetch(url: "...")` | `mslearn fetch "..."` | The `fetch` command also supports `--section <heading>` to extract a single section and `--max-chars <number>` to truncate output.
© microsoft · MIT · microsoft/skills