microsoft-code-reference

Locates official Microsoft API references, method signatures, and code samples.

37.6k|4.7k|Updated Jun 11, 2025
One-click install
npx skills add https://github.com/github/awesome-copilot --skill microsoft-code-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: microsoft-code-reference
Source: https://github.com/github/awesome-copilot/tree/main/skills/microsoft-code-reference
Command: npx skills add https://github.com/github/awesome-copilot --skill microsoft-code-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers locate official Microsoft API references, verify method signatures, and find working code samples for Azure SDKs and Microsoft APIs, reducing hallucinations and deprecated patterns.

Core Features & Use Cases

  • API Lookups: Locate methods, classes, and namespaces using microsoft_docs_search.
  • Working code samples: Retrieve practical examples with microsoft_code_sample_search.
  • Full API references: Fetch complete details via microsoft_docs_fetch to confirm parameter names and overloads.

Quick Start

Use the microsoft_docs_search tool to locate the API reference, then fetch the full details with microsoft_docs_fetch, and finally retrieve a working sample with microsoft_code_sample_search. Use the following example commands: microsoft_docs_search(query: "BlobClient UploadAsync Azure.Storage.Blobs") microsoft_docs_fetch(url: "<URL from microsoft_docs_search>") microsoft_code_sample_search(query: "upload file to blob storage", language: "csharp")

Frequently Asked Questions about microsoft-code-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the correct method signature for an Azure SDK API?

Use microsoft_docs_search to locate the API reference, then fetch complete details with microsoft_docs_fetch to confirm parameter names, overloads, and exact signatures for Azure SDKs and Microsoft APIs.

Where can I get working code samples for Azure storage operations?

Retrieve practical examples with microsoft_code_sample_search by specifying your task and language. Results surface working samples that match real-world usage patterns for Azure SDKs.

How do I verify I'm using the correct API before implementing it?

Search for the API with microsoft_docs_search, fetch the official reference page via microsoft_docs_fetch, and compare against working code samples using microsoft_code_sample_search to confirm correct usage.

Can I find deprecated API patterns and their replacements?

Yes. Fetch complete API references with microsoft_docs_fetch to identify deprecated methods, then search for current code samples with microsoft_code_sample_search to find recommended replacements.

What's the fastest way to look up multiple Azure SDK methods at once?

Use microsoft_docs_search with specific class and namespace names to locate multiple related methods, then fetch individual reference pages with microsoft_docs_fetch for full details.