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- 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
How to use microsoft-docs
- 1.Install the skill: npx skills add https://github.com/github/awesome-copilot --skill microsoft-docs
- 2.For learn.microsoft.com queries, use microsoft_docs_search with specific terms including version, intent, and language
- 3.Use microsoft_code_sample_search with language parameter to find code snippets
- 4.Call microsoft_docs_fetch with a URL when you need complete tutorials or all configuration options
- 5.For Aspire docs, use Aspire MCP tools (list_docs, search_docs, get_doc) if CLI 13.2+, otherwise use Context7
- 6.For VS Code, GitHub, or Agent Framework repo details, resolve the Context7 library ID first, then query with specific questions
Use cases
- 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
- 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
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.
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.
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.
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.
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.
| 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:
# 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). 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 — 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 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).
Context7 Setup
For any Context7 query, resolve the library ID first (one-time per session):
- Call
mcp_context7_resolve-library-idwith the technology name - Call
mcp_context7_query-docswith 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#)
Related skills
More from github/awesome-copilot and the wider catalog.
git-commit
Execute semantic git commits with conventional message analysis and intelligent staging.
excalidraw-diagram-generator
Generate Excalidraw diagrams from natural language descriptions.
documentation-writer
Create structured technical documentation using the Diátaxis framework for tutorials, how-to guides, references, and explanations.
gh-cli
GitHub CLI comprehensive reference for repositories, issues, PRs, Actions, projects, releases, and all GitHub operations from the command line.
prd
Generate comprehensive Product Requirements Documents with executive summaries, user stories, technical specs, and risk analysis.
refactor
Surgical code refactoring to improve maintainability without changing behavior.