Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

microsoft-code-reference

bởi tianqizhang

DevOps & Cloud
498Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Look up Microsoft API references, find working code samples, and verify SDK code is correct.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Write Python code to upload a file to Azure Blob Storage using managed identity

AGENT
  1. 1

    Search for BlobServiceClient class in Azure.Storage.Blobs to confirm it exists

  2. 2

    Fetch the full API reference page to check upload method overloads and required parameters

  3. 3

    Search for an official Python code sample for uploading with managed identity

  4. 4

    Generate code using verified method signatures and the working sample as a pattern

ĐẦU RA

Python code using BlobServiceClient and DefaultAzureCredential with correct method signatures matching the official SDK

Cài đặt

clawhub install tianqizhang/microsoft-code-reference

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết