microsoft-code-reference

Lookup Microsoft API references and verify SDK usage with official code samples.

Updated Mar 18, 2022
One-click install
npx skills add https://github.com/mpaulosky/dotfiles --skill microsoft-code-reference-mpaulosky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: microsoft-code-reference
Source: https://github.com/mpaulosky/dotfiles/tree/main/BaseNewProjectFiles/.squad/skills/microsoft-code-reference
Command: npx skills add https://github.com/mpaulosky/dotfiles --skill microsoft-code-reference-mpaulosky

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers locate authoritative Microsoft API documentation, find official working code samples, and verify method signatures and SDK usage to avoid hallucinated methods, wrong signatures, and deprecated patterns.

Core Features & Use Cases

  • API lookup: Find classes, methods, overloads, and package names in Microsoft Learn and SDK documentation to confirm correct usage.
  • Working samples: Retrieve tested code examples in languages like C#, Python, and JavaScript for tasks such as uploading blobs, authenticating with managed identity, or sending Service Bus messages.
  • Troubleshooting & validation: Detect mismatched signatures, missing packages, deprecated APIs, and RBAC/auth issues by cross-referencing official docs and sample snippets.

Quick Start

Ask microsoft-code-reference to locate the BlobClient UploadAsync signature and a C# sample for uploading a blob to Azure Storage.

Frequently Asked Questions about microsoft-code-reference

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

FAQPage Schema
How do I verify Microsoft API method signatures and avoid hallucinated SDK usage?

Verify Microsoft API method signatures by querying official Microsoft Learn documentation to confirm method existence, parameter details, overloads, and authentication patterns, preventing hallucinated or deprecated SDK usage.

Where can I find working code samples for Azure SDKs in C#, Python, and JavaScript?

Find working code samples for Azure SDKs by querying Microsoft Learn documentation, retrieving tested snippets in C#, Python, and JavaScript for tasks like uploading blobs or sending Service Bus messages.

Does this tool support troubleshooting deprecated .NET libraries and RBAC authentication errors?

Yes, it supports troubleshooting deprecated .NET libraries and RBAC authentication errors by cross-referencing official docs and sample snippets to detect mismatched signatures, missing packages, and deprecated APIs.

What is the best way to validate Azure SDK method names and overloads before deploying code?

Validate Azure SDK method names and overloads by querying the Microsoft Learn MCP server to confirm correct method existence, parameter details, and package names before deploying your code.

How do I confirm the correct managed identity authentication pattern for Microsoft APIs?

Confirm managed identity authentication patterns for Microsoft APIs by retrieving official working code samples and cross-referencing documentation to validate correct SDK usage and troubleshoot RBAC issues.

Why does my Azure Storage BlobClient UploadAsync call fail with a signature mismatch?

Your UploadAsync call may fail due to a signature mismatch; query Microsoft Learn to verify the exact BlobClient UploadAsync signature, parameter details, and overloads to resolve the error.