
Microsoft Docs
Pull accurate concepts, tutorials, and Microsoft Learn code samples into agent answers while building on Azure, .NET, Aspire, VS Code, or GitHub.
Overview
Microsoft Docs is a journey-wide agent skill that queries official Microsoft documentation and related repos—usable whenever a solo builder needs grounded Learn content before committing to Azure, .NET, or GitHub stack c
Install
npx skills add https://github.com/github/awesome-copilot --skill microsoft-docsWhat is this skill?
- Default path: Microsoft Learn MCP (`microsoft_docs_search`, `microsoft_code_sample_search`, `microsoft_docs_fetch`)
- Covers learn.microsoft.com plus off-Learn sources via Context7 and Aspire MCP when needed
- Language-filtered code sample search (e.g. python, csharp)
- CLI fallback `mslearn` when Learn MCP is unavailable
- Fetch full pages when search excerpts are truncated
- Three primary Learn MCP tools: search, code_sample_search, fetch
- Documented CLI fallback: `mslearn` when Learn MCP is unavailable
Adoption & trust: 11.7k installs on skills.sh; 34.6k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
Your agent guesses at Azure or .NET APIs because it cannot reach current learn.microsoft.com pages and vetted code samples.
Who is it for?
Builders on Copilot-style stacks who want MCP-first Microsoft research during any phase of shipping a cloud or .NET product.
Skip if: Teams that only need non-Microsoft docs, or workflows where MCP and network access to Learn are permanently blocked with no `mslearn` CLI fallback.
When should I use this skill?
You need concepts, tutorials, or code examples from official Microsoft documentation across Azure, .NET, Agent Framework, Aspire, VS Code, or GitHub.
What do I get? / Deliverables
You get search-ranked Learn excerpts, language-specific samples, or full fetched pages (plus off-Learn MCP paths when required) to paste into plans, configs, or implementation steps.
- Search result summaries with Learn URLs
- Language-targeted code snippets from Learn
- Full-page documentation text from `microsoft_docs_fetch`
Recommended Skills
Journey fit
Useful at every journey phase - explore requirements and options before committing to a direction.
Where it fits
Compare Azure hosting options using Learn search before locking the architecture doc.
Pull a current .NET SDK code sample for an API your agent is implementing.
Fetch a full Learn security configuration page when excerpts from search are truncated.
Look up Azure Monitor or diagnostics guidance while fixing a production incident.
Confirm official deployment or marketplace guidance for a VS Code–related release story.
How it compares
Official Learn-grounded research skill with MCP tools—not a generic web scrape skill or a deployment automation workflow.
Common Questions / FAQ
Who is microsoft-docs for?
Solo and indie developers using coding agents to build on Microsoft cloud, .NET, Aspire, VS Code extensions, or GitHub-adjacent docs who need citation-friendly official sources.
When should I use microsoft-docs?
At Idea/Validate when comparing Azure services; during Build for integration and Agent Framework patterns; at Ship for security and config guides; at Operate when looking up monitoring or update docs; and at Launch when documenting Microsoft-hosted deployment paths.
Is microsoft-docs safe to install?
It primarily reads public documentation via MCP or CLI over the network. Review the Security Audits panel on this Prism page and restrict MCP servers to trusted endpoints in your environment.
SKILL.md
READMESKILL.md - Microsoft Docs
# Microsoft Docs Research skill for the Microsoft technology ecosystem. Covers learn.microsoft.com and documentation that lives outside it (VS Code, GitHub, Aspire, Agent Framework repos). --- ## Default: Microsoft Learn MCP 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. ### CLI Alternative If the Learn MCP server is not available, use the `mslearn` CLI from your terminal or shell (for example, Bash, PowerShell, or cmd) instead: ```bash # 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. --- ## Exceptions: When to Use Other Tools The following categories live **outside** learn.microsoft.com. Use the specified tool instead. ### .NET Aspire — Use Aspire MCP Server (preferred) or Context7 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](https://github.com/dotnet/aspire/pull/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 — Use Context7 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 — Use Context7 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