microsoft-code-reference

Verify SDK code against Microsoft documentation and find code samples.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/Avihai-H/infraops --skill microsoft-code-reference-avihai-h
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: microsoft-code-reference
Source: https://github.com/Avihai-H/infraops/tree/main/.github/skills/microsoft-code-reference
Command: npx skills add https://github.com/Avihai-H/infraops --skill microsoft-code-reference-avihai-h

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires microsoft-learn-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps verify SDK code against official Microsoft documentation, catching hallucinated methods, wrong signatures, and deprecated patterns.

Core Features & Use Cases

  • API Verification: Confirms the existence of methods and classes, and retrieves full API references.
  • Code Sample Discovery: Finds official, working examples for various tasks and languages.
  • Error Troubleshooting: Helps diagnose issues by comparing your code with known good samples.
  • Use Case: Before writing code using Microsoft SDKs, verify it's correct by confirming method or package existence, fetching full details, and finding working samples.

Quick Start

Use the microsoft-code-reference skill to verify the BlobClient UploadAsync method from the Azure.Storage.Blobs namespace.

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 SDK code against official documentation?

To verify Microsoft SDK code, use the skill to check method and class existence against official documentation, retrieving full API references to catch hallucinated methods and wrong signatures before you write your code.

What is the best way to find working code samples for .NET and Python SDKs?

Finding working code samples for .NET and Python SDKs involves querying the skill to discover official, working examples for various tasks and languages, ensuring your development workflow uses correct patterns.

Why does my Azure SDK code fail with deprecated patterns?

Your Azure SDK code fails with deprecated patterns because methods or signatures may be hallucinated or outdated; troubleshoot errors by comparing your code with known good samples from the Microsoft documentation.

Do I need the Microsoft Learn MCP Server to look up API methods?

You need the Microsoft Learn MCP Server or the Microsoft Learn CLI as a fallback to look up API methods, as the skill requires these dependencies to verify SDK code and fetch references.

Can I use this skill to confirm if a specific BlobClient method exists before coding?

You can use this skill to confirm if a specific BlobClient method exists before coding by verifying the API method against Microsoft documentation, retrieving full class and method details for your workflow.