
Description
microsoft-code-reference is an agent skill from the github/awesome-copilot collection for checking Microsoft SDK code against the official documentation. It uses three tools. The first, microsoft_docs_search, looks up an API method or class, such as the upload method on a blob client in an Azure storage library, to confirm that it exists and how it is named. The second, microsoft_code_sample_search, finds official working examples in C#, Python or JavaScript for a task such as uploading a file to blob storage, authenticating with a managed identity, or sending a message on a service bus. The third, microsoft_docs_fetch, retrieves a full reference page once a search has found it, which gives the complete signatures and the overloads. The skill's purpose is to catch hallucinated APIs, which are method names that look plausible but do not exist, and to replace them with the real ones. It applies when working with Azure SDKs, .NET libraries and other Microsoft developer tools. It is useful for any developer who uses AI assistance with Microsoft libraries, because a plausible but wrong method name costs time at build time. The documentation lookup is only as current as the official pages, and the code samples should still be compiled and tested in the project. The skill is installed with the skills CLI from the github/awesome-copilot repository. Its skills.sh page showed about 14.2K installs and passing results from three security audits at the time of the scan.…
Highlights
- Verifies Microsoft SDK methods against official docs
- Finds official working code samples in C#, Python and JavaScript
- Fetches full reference pages with overloads and signatures
- Catches hallucinated API names
- Installs with the skills CLI
Ratings & Reviews
No ratings yet
Be the first to rate microsoft-code-reference.
People also visit

creating-oracle-to-postgres-master-migration-plan
Discovers all projects in a .NET solution

creating-oracle-to-postgres-migration-integration-tests
Creates integration test cases targeting Oracle for .NET data access artifacts

csharp-nunit
NUnit best practices for standard and data-driven unit testing in .NET projects
microsoft-code-reference FAQ
What problem does it prevent?
Invented API names that look plausible but do not exist in the Microsoft SDK.
Which languages do the samples cover?
C#, Python and JavaScript.
Should I still compile the samples?
Yes. Compile and test the code in your project, since the documentation lookup only confirms the API.
How do I install it?
Run npx skills add https://github.com/github/awesome-copilot --skill microsoft-code-reference.
What security audits does it have?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best microsoft-code-reference alternatives?
Popular alternatives to microsoft-code-reference include aspire, creating-oracle-to-postgres-master-migration-plan and creating-oracle-to-postgres-migration-integration-tests. See all microsoft-code-reference alternatives







