microsoft-docs by github/awesome-copilot
npx skills add https://github.com/github/awesome-copilot --skill microsoft-docs适用于 Microsoft 技术生态系统的研究技能。涵盖 learn.microsoft.com 以及其外的文档(VS Code、GitHub、Aspire、Agent Framework 仓库等)。
对于 learn.microsoft.com 上的所有内容(Azure、.NET、M365、Power Platform、Agent Framework、Semantic Kernel、Windows 等),请使用这些工具。这是处理绝大多数 Microsoft 文档查询的主要工具。
| 工具 | 用途 |
|---|---|
microsoft_docs_search | 搜索 learn.microsoft.com — 概念、指南、教程、配置 |
microsoft_code_sample_search | 从 Learn 文档中查找可运行的代码片段。传递 language 参数(python、csharp 等)以获得最佳结果 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
microsoft_docs_fetch| 从特定 URL 获取完整页面内容(当搜索摘要不够用时) |
当您需要完整的教程、所有配置选项,或者搜索摘要被截断时,请在搜索后使用 microsoft_docs_fetch。
如果 Learn MCP 服务器不可用,请改用终端或 shell(例如 Bash、PowerShell 或 cmd)中的 mslearn CLI:
# 直接运行(无需安装)
npx @microsoft/learn-cli search "BlobClient UploadAsync Azure.Storage.Blobs"
# 或者全局安装后运行
npm install -g @microsoft/learn-cli
mslearn search "BlobClient UploadAsync Azure.Storage.Blobs"
| MCP 工具 | CLI 命令 |
|---|---|
microsoft_docs_search(query: "...") | mslearn search "..." |
microsoft_code_sample_search(query: "...", language: "...") | mslearn code-search "..." --language ... |
microsoft_docs_fetch(url: "...") | mslearn fetch "..." |
向 search 或 code-search 传递 --json 参数以获取原始 JSON 输出,供进一步处理。
以下类别 不在 learn.microsoft.com 上。请改用指定的工具。
Aspire 文档位于 aspire.dev,而非 Learn。最佳工具取决于您的 Aspire CLI 版本:
CLI 13.2+(推荐)— Aspire MCP 服务器包含内置的文档搜索工具:
| MCP 工具 | 描述 |
|---|---|
list_docs | 列出 aspire.dev 上所有可用的文档 |
search_docs | 对 aspire.dev 内容进行加权词汇搜索 |
get_doc | 通过 slug 检索特定文档 |
这些功能随 Aspire CLI 13.2 提供(PR #14028)。要更新:aspire update --self --channel daily。参考:https://davidpine.dev/posts/aspire-docs-mcp-tools/
CLI 13.1 — MCP 服务器提供集成查找功能(list_integrations、get_integration_docs),但 不提供 文档搜索。请回退到 Context7:
| 库 ID | 用途 |
|---|---|
/microsoft/aspire.dev | 主要 — 指南、集成、CLI 参考、部署 |
/dotnet/aspire | 运行时源码 — API 内部、实现细节 |
/communitytoolkit/aspire | 社区集成 — Go、Java、Node.js、Ollama |
VS Code 文档位于 code.visualstudio.com,而非 Learn。
| 库 ID | 用途 |
|---|---|
/websites/code_visualstudio | 用户文档 — 设置、功能、调试、远程开发 |
/websites/code_visualstudio_api | 扩展 API — webviews、TreeViews、命令、贡献点 |
GitHub 文档位于 docs.github.com 和 cli.github.com。
| 库 ID | 用途 |
|---|---|
/websites/github_en | Actions、API、仓库、安全、管理、Copilot |
/websites/cli_github | GitHub CLI (gh) 命令和标志 |
Agent Framework 教程在 learn.microsoft.com 上(使用 microsoft_docs_search),但 GitHub 仓库 包含 API 级别的详细信息,这些信息通常领先于已发布的文档 — 特别是 DevUI REST API 参考、CLI 选项和 .NET 集成。
| 库 ID | 用途 |
|---|---|
/websites/learn_microsoft_en-us_agent-framework | 教程 — DevUI 指南、跟踪、工作流编排 |
/microsoft/agent-framework | API 详情 — DevUI REST 端点、CLI 标志、身份验证、.NET AddDevUI/MapDevUI |
DevUI 提示: 查询 Learn 网站源以获取操作指南,然后查询仓库源以获取 API 级别的具体信息(端点模式、代理配置、身份验证令牌)。
对于任何 Context7 查询,首先解析库 ID(每个会话一次):
mcp_context7_resolve-library-idmcp_context7_query-docs要具体 — 包含版本、意图和语言:
# ❌ 过于宽泛
"Azure Functions"
"agent framework"
# ✅ 具体
"Azure Functions Python v2 编程模型"
"Cosmos DB 分区键设计最佳实践"
"GitHub Actions workflow_dispatch 输入矩阵策略"
"Aspire AddUvicornApp Python FastAPI 集成"
"DevUI serve agents tracing OpenTelemetry 目录发现"
"Agent Framework workflow conditional edges branching handoff"
包含上下文:
.NET 8、Aspire 13、VS Code 1.96)quickstart、tutorial、overview、limits、API reference)Python、TypeScript、C#)每周安装量
8.0K
仓库
GitHub Stars
26.7K
首次出现
2026 年 1 月 20 日
安全审计
安装于
codex7.9K
claude-code7.7K
gemini-cli7.5K
opencode7.5K
github-copilot7.5K
cursor7.4K
Research skill for the Microsoft technology ecosystem. Covers learn.microsoft.com and documentation that lives outside it (VS Code, GitHub, Aspire, Agent Framework repos).
Use these tools for everything on learn.microsoft.com — Azure, .NET, M365, Power Platform, Agent Framework, Semantic Kernel, Windows, and more. This is the primary tool for the vast majority of Microsoft documentation queries.
| Tool | Purpose |
|---|---|
microsoft_docs_search | Search learn.microsoft.com — concepts, guides, tutorials, configuration |
microsoft_code_sample_search | Find working code snippets from Learn docs. Pass language (python, csharp, etc.) for best results |
microsoft_docs_fetch | Get full page content from a specific URL (when search excerpts aren't enough) |
Use microsoft_docs_fetch after search when you need complete tutorials, all config options, or when search excerpts are truncated.
If the Learn MCP server is not available, use the mslearn CLI from your terminal or shell (for example, Bash, PowerShell, or cmd) instead:
# Run directly (no install needed)
npx @microsoft/learn-cli search "BlobClient UploadAsync Azure.Storage.Blobs"
# Or install globally, then run
npm install -g @microsoft/learn-cli
mslearn search "BlobClient UploadAsync Azure.Storage.Blobs"
| MCP Tool | CLI Command |
|---|---|
microsoft_docs_search(query: "...") | mslearn search "..." |
microsoft_code_sample_search(query: "...", language: "...") | mslearn code-search "..." --language ... |
microsoft_docs_fetch(url: "...") | mslearn fetch "..." |
Pass --json to search or code-search to get raw JSON output for further processing.
The following categories live outside learn.microsoft.com. Use the specified tool instead.
Aspire docs live on aspire.dev , not Learn. The best tool depends on your Aspire CLI version:
CLI 13.2+ (recommended) — The Aspire MCP server includes built-in docs search tools:
| MCP Tool | Description |
|---|---|
list_docs | Lists all available documentation from aspire.dev |
search_docs | Weighted lexical search across aspire.dev content |
get_doc | Retrieves a specific document by slug |
These ship in Aspire CLI 13.2 (PR #14028). To update: aspire update --self --channel daily. Ref: https://davidpine.dev/posts/aspire-docs-mcp-tools/
CLI 13.1 — The MCP server provides integration lookup (list_integrations, get_integration_docs) but not docs search. Fall back to Context7:
| Library ID | Use for |
|---|---|
/microsoft/aspire.dev | Primary — guides, integrations, CLI reference, deployment |
/dotnet/aspire | Runtime source — API internals, implementation details |
/communitytoolkit/aspire | Community integrations — Go, Java, Node.js, Ollama |
VS Code docs live on code.visualstudio.com , not Learn.
| Library ID | Use for |
|---|---|
/websites/code_visualstudio | User docs — settings, features, debugging, remote dev |
/websites/code_visualstudio_api | Extension API — webviews, TreeViews, commands, contribution points |
GitHub docs live on docs.github.com and cli.github.com.
| Library ID | Use for |
|---|---|
/websites/github_en | Actions, API, repos, security, admin, Copilot |
/websites/cli_github | GitHub CLI (gh) commands and flags |
Agent Framework tutorials are on learn.microsoft.com (use microsoft_docs_search), but the GitHub repo has API-level detail that is often ahead of published docs — particularly DevUI REST API reference, CLI options, and .NET integration.
| Library ID | Use for |
|---|---|
/websites/learn_microsoft_en-us_agent-framework | Tutorials — DevUI guides, tracing, workflow orchestration |
/microsoft/agent-framework | API detail — DevUI REST endpoints, CLI flags, auth, .NET AddDevUI/MapDevUI |
DevUI tip: Query the Learn website source for how-to guides, then the repo source for API-level specifics (endpoint schemas, proxy config, auth tokens).
For any Context7 query, resolve the library ID first (one-time per session):
mcp_context7_resolve-library-id with the technology namemcp_context7_query-docs with the returned library ID and a specific queryBe specific — include version, intent, and language:
# ❌ Too broad
"Azure Functions"
"agent framework"
# ✅ Specific
"Azure Functions Python v2 programming model"
"Cosmos DB partition key design best practices"
"GitHub Actions workflow_dispatch inputs matrix strategy"
"Aspire AddUvicornApp Python FastAPI integration"
"DevUI serve agents tracing OpenTelemetry directory discovery"
"Agent Framework workflow conditional edges branching handoff"
Include context:
.NET 8, Aspire 13, VS Code 1.96)quickstart, tutorial, overview, limits, API reference)Python, TypeScript, C#)Weekly Installs
8.0K
Repository
GitHub Stars
26.7K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex7.9K
claude-code7.7K
gemini-cli7.5K
opencode7.5K
github-copilot7.5K
cursor7.4K
97,600 周安装