Find working code samples, verify API signatures, and fix Microsoft SDK errors using official docs.
Use whenever the user is writing, debugging, or reviewing code that touches any Microsoft SDK, .NET library, Azure client library, or Microsoft API—even if they don't ask for a "reference." Catches hallucinated methods, wrong signatures, and deprecated patterns.
If the task involves producing or fixing Microsoft-related code, this is the right skill.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars1.9K
LicenseLICENSE
Default branchmain
Open issues10
Status
Active
Skill metadata
Parsed from SKILL.md frontmatter.
CompatibilityPrimarily uses the Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp); if that is unavailable, fall back to the mslearn CLI (`npx @microsoft/learn-cli`).
Package contents
Files included with this skill beyond the listing page.
Fetch full page when method has multiple overloads or you need complete parameter details.
Error Troubleshooting
Use microsoftcodesamplesearch to find working code samples and compare with your implementation. For specific errors, use microsoftdocssearch and microsoftdocs_fetch:
Error Type
Query
Method not found
"[ClassName] methods [Namespace]"
Type not found
"[TypeName] NuGet package namespace"
Wrong signature
"[ClassName] [MethodName] overloads" → fetch full page
Deprecated warning
"[OldType] migration v12"
Auth failure
"DefaultAzureCredential troubleshooting"
403 Forbidden
"[ServiceName] RBAC permissions"
When to Verify
Always verify when:
Method name seems "too convenient" (UploadFile vs actual Upload)
Mixing SDK versions (v11 CloudBlobClient vs v12 BlobServiceClient)
Package name doesn't follow conventions (Azure. for .NET, azure- for Python)
Using an API for the first time
Validation Workflow
Before generating code using Microsoft SDKs, verify it's correct:
Confirm method or package exists — microsoftdocssearch(query: "[ClassName] [MethodName] [Namespace]")
Fetch full details (for overloads/complex params) — microsoftdocsfetch(url: "...")
Find working sample — microsoftcodesample_search(query: "[task]", language: "[lang]")
For simple lookups, step 1 alone may suffice. For complex API usage, complete all three steps.
CLI Alternative
If the Learn MCP server is not available, use the mslearn CLI from the command line instead:
# Run directly (no install needed)
npx @microsoft/learn-cli search "BlobClient UploadAsync Azure.Storage.Blobs"
# Or install globally, then run
npm install -g @microsoft/learn-cli
mslearn search "BlobClient UploadAsync Azure.Storage.Blobs"