PluginBench
Skill
Official
Review
Audit score 70

microsoft-docs

github/awesome-copilot

Query official Microsoft documentation across Azure, .NET, Agent Framework, Aspire, VS Code, and GitHub.

What is microsoft-docs?

Research skill for the Microsoft technology ecosystem covering learn.microsoft.com and external docs (VS Code, GitHub, Aspire, Agent Framework). Use Microsoft Learn MCP for most queries, with specialized tools for Aspire, VS Code, GitHub, and Agent Framework content that lives outside Learn.

  • Search learn.microsoft.com for concepts, guides, tutorials, and configuration across Azure, .NET, M365, Power Platform, and more
  • Find working code snippets from Learn docs with language-specific filtering (Python, C#, etc.)
  • Fetch full page content from specific URLs when search excerpts are insufficient
  • Query Aspire documentation on aspire.dev using weighted lexical search and integration lookup
  • Access VS Code user docs and extension API reference from code.visualstudio.com
  • Search GitHub documentation for Actions, API, repos, security, and CLI commands

How to install microsoft-docs

npx skills add https://github.com/github/awesome-copilot --skill microsoft-docs
Prerequisites
  • Microsoft Learn MCP server (default; npx @microsoft/learn-cli available as fallback)
  • Aspire MCP server (CLI 13.2+) or Context7 for Aspire documentation
  • Context7 for VS Code, GitHub, and Agent Framework repository content
Claude Code
Cursor
Windsurf
Cline

How to use microsoft-docs

  1. 1.Install the skill: npx skills add https://github.com/github/awesome-copilot --skill microsoft-docs
  2. 2.For learn.microsoft.com queries, use microsoft_docs_search with specific terms including version, intent, and language
  3. 3.Use microsoft_code_sample_search with language parameter to find code snippets
  4. 4.Call microsoft_docs_fetch with a URL when you need complete tutorials or all configuration options
  5. 5.For Aspire docs, use Aspire MCP tools (list_docs, search_docs, get_doc) if CLI 13.2+, otherwise use Context7
  6. 6.For VS Code, GitHub, or Agent Framework repo details, resolve the Context7 library ID first, then query with specific questions

Use cases

Good for
  • Look up Azure Functions Python v2 programming model with code examples
  • Find Cosmos DB partition key design best practices and configuration options
  • Search GitHub Actions workflow_dispatch inputs and matrix strategy patterns
  • Query Aspire AddUvicornApp Python FastAPI integration guides
  • Retrieve DevUI REST API endpoints, CLI flags, and OpenTelemetry tracing setup
Who it's for
  • Backend developers working with Azure, .NET, and Python
  • DevOps engineers configuring GitHub Actions and Azure infrastructure
  • Full-stack developers building with .NET Aspire and microservices
  • VS Code extension developers
  • Teams using GitHub for source control and CI/CD

microsoft-docs FAQ

When should I use microsoft_docs_fetch instead of search?

Use fetch when search excerpts are truncated, you need complete tutorials, all configuration options, or the full page content. Search is best for quick lookups; fetch is for comprehensive reference.

What's the difference between Learn MCP and Context7?

Learn MCP covers learn.microsoft.com (Azure, .NET, M365, Power Platform). Context7 is used for documentation outside Learn: Aspire (aspire.dev), VS Code (code.visualstudio.com), GitHub (docs.github.com), and Agent Framework GitHub repo.

How do I search Aspire documentation?

If you have Aspire CLI 13.2+, use the built-in Aspire MCP tools (search_docs, list_docs, get_doc). For CLI 13.1 or earlier, use Context7 with library ID /microsoft/aspire.dev for guides and integrations.

What makes a good documentation query?

Be specific: include version (e.g., .NET 8, Aspire 13), task intent (quickstart, tutorial, API reference), and language (Python, C#, TypeScript). Avoid broad queries like 'Azure Functions'—use 'Azure Functions Python v2 programming model' instead.

Can I use the CLI instead of MCP?

Yes. If the Learn MCP server is unavailable, use npx @microsoft/learn-cli or install globally with npm install -g @microsoft/learn-cli, then run mslearn search or mslearn code-search commands.

Full instructions (SKILL.md)

Source of truth, from github/awesome-copilot.


name: microsoft-docs description: 'Query official Microsoft documentation to find concepts, tutorials, and code examples across Azure, .NET, Agent Framework, Aspire, VS Code, GitHub, and more. Uses Microsoft Learn MCP as the default, with Context7 and Aspire MCP for content that lives outside learn.microsoft.com.'

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.

ToolPurpose
microsoft_docs_searchSearch learn.microsoft.com — concepts, guides, tutorials, configuration
microsoft_code_sample_searchFind working code snippets from Learn docs. Pass language (python, csharp, etc.) for best results
microsoft_docs_fetchGet 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:

# 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 ToolCLI 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 ToolDescription
list_docsLists all available documentation from aspire.dev
search_docsWeighted lexical search across aspire.dev content
get_docRetrieves 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 IDUse for
/microsoft/aspire.devPrimary — guides, integrations, CLI reference, deployment
/dotnet/aspireRuntime source — API internals, implementation details
/communitytoolkit/aspireCommunity integrations — Go, Java, Node.js, Ollama

VS Code — Use Context7

VS Code docs live on code.visualstudio.com, not Learn.

Library IDUse for
/websites/code_visualstudioUser docs — settings, features, debugging, remote dev
/websites/code_visualstudio_apiExtension API — webviews, TreeViews, commands, contribution points

GitHub — Use Context7

GitHub docs live on docs.github.com and cli.github.com.

Library IDUse for
/websites/github_enActions, API, repos, security, admin, Copilot
/websites/cli_githubGitHub CLI (gh) commands and flags

Agent Framework — Use Learn MCP + Context7

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 IDUse for
/websites/learn_microsoft_en-us_agent-frameworkTutorials — DevUI guides, tracing, workflow orchestration
/microsoft/agent-frameworkAPI 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).


Context7 Setup

For any Context7 query, resolve the library ID first (one-time per session):

  1. Call mcp_context7_resolve-library-id with the technology name
  2. Call mcp_context7_query-docs with the returned library ID and a specific query

Writing Effective Queries

Be 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:

  • Version when relevant (.NET 8, Aspire 13, VS Code 1.96)
  • Task intent (quickstart, tutorial, overview, limits, API reference)
  • Language for polyglot docs (Python, TypeScript, C#)