
Description
microsoft-code-reference is an agent skill from Microsoft's docs MCP collection, listed on skills.sh. It helps an AI agent write, debug and review code that uses Microsoft SDKs, by looking up official, working code samples and checking API signatures against the documentation. It is meant to be used whenever a user is writing, debugging or reviewing code that calls a Microsoft library. The skill names three tools. The microsoft_docs_search tool finds API methods and classes, such as a Blob client's upload method in the Azure Storage package. The microsoft_code_sample_search tool returns a working code sample for a task in a chosen language, for example uploading a file to blob storage in C#, authenticating with managed identity in Python, or sending a message to Service Bus in JavaScript. The microsoft_docs_fetch tool retrieves the full API reference for a URL that search returned, which is useful for overloads and complete signatures. The skill suits developers using Azure and other Microsoft SDKs who want code that matches the current documentation rather than older examples from memory.…
Highlights
- Official working code samples
- API signature lookup
- Full reference page fetch
- Covers Azure and Microsoft SDK languages
Ratings & Reviews
No ratings yet
Be the first to rate microsoft-code-reference.
People also visit

microsoft-docs
Search official Microsoft documentation across Azure, .NET, Agent Framework

dotnet-best-practices
Validate .NET/C# code against comprehensive best practices for your solution

understand-chat
Ask questions about a codebase or understand code using a knowledge graph
microsoft-code-reference FAQ
What does microsoft-code-reference do?
It helps an AI agent find official code samples and verify API signatures for Microsoft SDKs.
How do I install it?
Run: npx skills add https://github.com/microsoftdocs/mcp --skill microsoft-code-reference.
Is it free?
Yes. The skill is free to add.
Which tools does it use?
microsoft_docs_search, microsoft_code_sample_search and microsoft_docs_fetch.
Which languages are covered?
The examples use C#, Python and JavaScript, and the sample search takes a language setting.
Why check signatures?
The skill says to verify API signatures and fix SDK errors against the official docs.
What are the best microsoft-code-reference alternatives?
Popular alternatives to microsoft-code-reference include microsoft-docs, microsoft-code-reference and dotnet-best-practices. See all microsoft-code-reference alternatives














