microsoft-code-reference
oleh tianqizhang
DevOps & CloudRingkasan
Look up Microsoft API references, find working code samples, and verify SDK code is correct.
Deskripsi
Apa yang Dilakukan Skill Ini
Looks up Microsoft API references and code samples by querying official Microsoft Learn docs. Useful when working with Azure SDKs, .NET libraries, or Microsoft APIs to verify method signatures, find working examples, or troubleshoot SDK errors. Catches hallucinated methods, wrong parameter names, and deprecated patterns before they end up in production code.
Queries official Microsoft Learn docs directly instead of relying on LLM memory, which catches version mismatches and hallucinated method names that generic code suggestions miss.
Kapan Menggunakannya
- Checking if BlobServiceClient.UploadAsync exists before writing blob upload code
- Finding a working Python sample for Azure managed identity authentication
- Identifying the correct NuGet package name for an Azure service
- Comparing your code against an official sample when an SDK method throws unexpectedly
- Checking whether an old SDK class like CloudBlobClient has been replaced in a newer version
Contoh Alur Kerja
User asks: Write Python code to upload a file to Azure Blob Storage using managed identity
- 1
Search for BlobServiceClient class in Azure.Storage.Blobs to confirm it exists
- 2
Fetch the full API reference page to check upload method overloads and required parameters
- 3
Search for an official Python code sample for uploading with managed identity
- 4
Generate code using verified method signatures and the working sample as a pattern
Python code using BlobServiceClient and DefaultAzureCredential with correct method signatures matching the official SDK
Instalasi
clawhub install tianqizhang/microsoft-code-referenceJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.