選項
首頁首頁 Skill 文件 microsoft-docs

microsoft-docs

microsoft/skills microsoft/skills

查閱微軟官方文件,以了解 Azure、.NET、M365、Windows、Power Platform 及其他微軟技術的相關概念、尋找教學指南、配置選項、限制、配額及最佳實務。

...展開全部
18
更新時間 2026-09-10

Microsoft Docs

工具

工具 用途
microsoft_docs_search 查找文件——概念、指南、教學、設定
microsoft_docs_fetch 取得完整頁面內容(當搜尋摘要不足以滿足需求時)

何時使用

  • 理解概念 — 「Cosmos DB 的分區機制如何運作?」
  • 學習服務 — 「Azure Functions 概覽」、「容器應用程式架構」
  • 尋找教學 — 「快速入門」、「開始使用」、「逐步指南」
  • 設定選項 — 「App Service 設定」
  • 限制與配額 — 「Azure OpenAI 速率限制」、「Service Bus 配額」
  • 最佳實務 — 「Azure 安全性最佳實務」

查詢效能

優質的查詢應具針對性:

# ❌ Too broad
"Azure Functions"

# ✅ Specific
"Azure Functions Python v2 programming model"
"Cosmos DB partition key design best practices"
"Container Apps scaling rules KEDA"

包含上下文:

  • 若適用,請包含版本資訊 (.NET 8, EF Core 8)
  • 任務意圖quickstart, tutorial, overview, limits)
  • 若為多平台文件,請註明平台 (Linux, Windows)

何時應擷取完整頁面

在以下情況下於搜尋後擷取:

  • 教學指南 — 需要完整的分步說明
  • 設定指南 — 需列出所有選項
  • 深度解析 — 使用者希望獲得全面涵蓋
  • 搜尋摘要被截斷 — 需要完整內容

為何使用此功能

  • 準確性 — 採用即時文件,而非可能已過時的訓練資料
  • 完整性 — 教學指南包含所有步驟,而非零散片段
  • 權威性 — 微軟官方文件

CLI 替代方案

若 Learn MCP 伺服器無法使用,請改用 mslearn 從命令列執行 CLI:

# 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 工具 CLI 指令
microsoft_docs_search(query: "...") mslearn search "..."
microsoft_docs_fetch(url: "...") mslearn fetch "..."

fetch 命令亦支援 --section 來擷取單一區段,並可使用 --max-chars 截斷輸出。

在 GitHub 上查看
---
name: microsoft-docs
description: Query official Microsoft documentation to understand concepts, find tutorials, configuration options, limits, quotas, and best practices for Azure, .NET, M365, Windows, Power Platform, and other Microsoft technologies.
---

# 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.

所有檔案

0 個檔案

安裝 microsoft-docs

請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/microsoft/skills/tree/main/.github/skills/microsoft-docs # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/ Claude 會自動偵測並使用該技能
儲存庫 microsoft/skills

相關技能

golang-dependency-injection
更新時間 2026-06-29
nuxthub
更新時間 2026-08-23
tc-tracker
更新時間 2026-08-27
code-quality
更新時間 2026-08-22
OR