Microsoft Docs

作者 microsoft354361d83247無授權條款收錄於 2026年10月8日更新於 2026年10月8日

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.

精選僅含說明Research & Analysis
AI 產生的概覽

查詢微軟官方文件,用來解釋概念、教學、設定、限制與最佳做法。

功能
此技能透過 Microsoft Learn MCP 伺服器查詢微軟官方文件,使用搜尋與擷取工具取得概念、指南、教學、設定選項、限制與配額。它會傳回 Azure、.NET、M365、Windows、Power Platform 等微軟技術的文件內容與完整頁面內文。當 MCP 伺服器無法使用時,它也說明改用 mslearn 命令列工具的備援方式。
適用情境
當使用者詢問某項微軟技術的運作方式、需要教學或快速入門,或需要設定值、限制、配額或最佳做法時使用。它適合概念理解類問題,而非撰寫程式的任務。
執行需求
需要存取 learn.microsoft.com/api/mcp 上的 Microsoft Learn MCP 伺服器,或具備網路存取與 Node.js/npx 以執行 mslearn 命令列工具(@microsoft/learn-cli)。此技能不含指令碼,僅為說明文件。

Microsoft Docs

Tools

ToolUse For
microsoft_docs_searchFind documentation—concepts, guides, tutorials, configuration
microsoft_docs_fetchGet 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 runnpm install -g @microsoft/learn-climslearn search "azure functions timeout"
MCP ToolCLI 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/skills位於.github/skills/microsoft-docs提交354361d

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架