跳到主内容
智客 ZICQ

技能库 智客分类:文档办公 microsoft-docs

Microsoft Docs

通过查询官方文档来了解微软技术. 每当用户询问某些东西如何工作,需要教程,需要配置选项,限制,配额,或任何微软技术的最佳做法(Azure,.NET,M365,Windows,Power Platform等)时使用——即使它们不提及"docs". 如果问题在于理解一个概念,而不是写出代码,这是恰当的技能.

1282 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

通过查询官方文档来了解微软技术

何时用

-**理解的概念**-"宇宙DB分区如何运作"

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Microsoft Docs、Tools、When to Use、Query Effectiveness、❌ Too broad、✅ Specific。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 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.

Microsoft DocsToolsWhen to UseQuery Effectiveness❌ Too broad✅ SpecificWhen to Fetch Full PageWhy Use ThisCLI AlternativeRun directly (no install needed)Or install globally, then run

兼容: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`).

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
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.
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`).
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「microsoft-docs」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-1494ae3f7a1805da-%E5%BE%AE%E8%BD%AF%E6%96%87%E6%A1%A3.html
请存为 .cursor/skills/microsoft-docs/SKILL.md 或 .claude/skills/microsoft-docs/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/microsoftdocs/mcp' --list

npx skills add 'https://github.com/microsoftdocs/mcp' --skill 'microsoft-docs'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- 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 ` to extract a single section and `--max-chars ` to truncate output.

相关技能

文档办公

Ontology

为结构化的代理内存和可堆肥技能所打入的知识图. 在创建/征服实体(Person, project, Task, Evention, Document)时使用,链接相关对象,强制约束,规划多步动作作为图变,或技能需要共享状态时使用. 触发到"记住","我知道什么","链接X到Y",…

文档办公

Nano Pdf

使用纳米-pdf CLI编辑带有自然语言指令的PDF.

文档办公

Word / DOCX

创建,检查,并编辑有可靠样式的Microsoft Word文档和DOCX文件,编号,跟踪更改,表格,章节,并进行相容性检查. 当 (1) 任务涉及 Word 或 ".docx " 时使用; (2) 文件包括跟踪的更改,评论,字段,表格,模板,或页面布局限制; (3) 文档必须在不…

文档办公

Api Gateway

通过 Maton 网关调用第三方 API, 它为用户已经连接的应用程序注入证书 。 当用户命名一个连接的应用程序和其中的具体行动时使用此技能——读取一个邮箱,查询一个CMM,归档一个问题,更新一个电子表格,通过一个连接的搜索或刮取提供者运行一个查询. 每一次通话都到用户连接的应用…