跳到正文
TakoAPI
返回技能列表

microsoft-code-reference

由 tianqizhang 提供

DevOps & Cloud
498下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

安装

clawhub install tianqizhang/microsoft-code-reference

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接