github avatar

Microsoft Code Reference

The microsoft-code-reference skill enables developers to verify Microsoft API usage by searching official documentation, retrieving working code samples, and validating SDK method signatures and parameters across Azure, .NET, and Microsoft Graph libraries. It serves developers using Microsoft technologies who need to confirm correct API methods, find language-specific implementation examples, and catch common errors like hallucinated methods, incorrect signatures, and deprecated patterns. The skill solves the problem of unreliable or outdated code generation by grounding responses in official Microsoft Learn documentation and verified sample code.

skills.sh installs
14.4K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill microsoft-code-reference --agent claude-code

Installs into .claude/skills of the current project.

Files

Microsoft Code Reference

Tools

NeedToolExample
API method/class lookupmicrosoft_docs_search"BlobClient UploadAsync Azure.Storage.Blobs"
Working code samplemicrosoft_code_sample_searchquery: "upload blob managed identity", language: "python"
Full API referencemicrosoft_docs_fetchFetch URL from microsoft_docs_search (for overloads, full signatures)

Finding Code Samples

Use microsoft_code_sample_search to get official, working examples:

microsoft_code_sample_search(query: "upload file to blob storage", language: "csharp")
microsoft_code_sample_search(query: "authenticate with managed identity", language: "python")
microsoft_code_sample_search(query: "send message service bus", language: "javascript")

When to use:

  • Before writing code—find a working pattern to follow
  • After errors—compare your code against a known-good sample
  • Unsure of initialization/setup—samples show complete context

API Lookups

# Verify method exists (include namespace for precision)
"BlobClient UploadAsync Azure.Storage.Blobs"
"GraphServiceClient Users Microsoft.Graph"

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Backend & APIs, Git & Pull Requests, Documentation, AI & Agent Building, Debugging, Cloud & Infrastructure, .NET & C#

More from github/awesome-copilot

All 318
1resend avataremail-best-practicesresend/resend-skillsUse when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compli14.2Kskills.sh installs
2resend avatarresend-cliresend/resend-skillsOperate the Resend platform from the terminal — send emails (including React Email .tsx templates via --react-email), manage domains, contacts, broadcasts, temp14Kskills.sh installs
3callstackincubator avatarupgrading-react-nativecallstackincubator/agent-skillsUpgrades React Native apps to newer versions by applying rn-diff-purge template diffs, updating package.json dependencies, migrating native iOS and Android conf13.7Kskills.sh installs
4pilioai avatarnano-banana-2pilioai/skillsCreate or edit images with Pilio Nano Banana 2 through the unified Pilio developer API. Use when the user wants Nano Banana 2 text-to-image generation, referenc13.5Kskills.sh installs
5elevenlabs avatarmusicelevenlabs/skillsGenerate music using ElevenLabs Music API. Use when creating instrumental tracks, songs with lyrics, background music, jingles, or any AI-generated music compos13.3Kskills.sh installs
6deckardger avatartanstack-query-best-practicesdeckardger/tanstack-agent-skillsTanStack Query (React Query) best practices for data fetching, caching, mutations, and server state management. Activate when building data-driven React applica13.2Kskills.sh installs