← 返回 Skills 市场
tianqizhang

Microsoft Code Reference

作者 Tianqi Zhang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
814
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install microsoft-code-reference
功能描述
Look up Microsoft API references, find working code samples, and verify SDK code is correct. Use when working with Azure SDKs, .NET libraries, or Microsoft A...
安全使用建议
This skill is instruction-only and appears to do what it says: query Microsoft Learn and return code samples. Before using it, note three practical points: (1) it requires network access to Microsoft Learn and (if you use the fallback) to npm; (2) running npx @microsoft/learn-cli will fetch and execute a package from the npm registry on-demand—verify the package name (@microsoft/learn-cli is the documented package) or avoid global installs if you prefer; and (3) queries you send (including code snippets you paste) will be transmitted to the remote documentation/search service, so avoid sending sensitive secrets. Otherwise, the skill makes no disproportionate demands and requests no credentials.
功能分析
Type: OpenClaw Skill Name: microsoft-code-reference Version: 1.0.1 The skill bundle provides a legitimate set of tools for searching Microsoft API documentation and code samples. It includes instructions for the agent to use the Microsoft Learn MCP server or a fallback CLI tool via 'npx @microsoft/learn-cli'. While the recommendation to execute shell commands (npx/npm) is a high-privilege action, the use of a scoped package name (@microsoft) significantly mitigates supply chain risks like typosquatting. The instructions in SKILL.md are transparent, well-documented, and strictly aligned with the stated purpose of assisting with Microsoft SDK development without any signs of data exfiltration or malicious intent.
能力评估
Purpose & Capability
The name/description (Microsoft API reference, code samples, SDK verification) match the SKILL.md instructions which call the Microsoft Learn MCP endpoints and the mslearn CLI. No unrelated credentials, binaries, or config paths are required.
Instruction Scope
Runtime instructions stay focused on searching docs, fetching pages, and retrieving code samples via microsoft_docs_search / microsoft_code_sample_search / microsoft_docs_fetch or the mslearn CLI. There are no directives to read arbitrary local files, access unrelated env vars, or send data to endpoints outside the documented Microsoft Learn API / npm registry fallback. Note: using the CLI or service implies network requests and that queries (including short code snippets) will be sent to external services for search.
Install Mechanism
There is no install spec (instruction-only). The SKILL.md suggests using npx or optionally installing the official @microsoft/learn-cli from npm as a fallback; this is a reasonable, proportionate fallback but does involve downloading code from the npm registry if used.
Credentials
The skill declares no required environment variables, credentials, or config paths. That matches the described functionality (public documentation lookups). No excessive secrets or unrelated service keys are requested.
Persistence & Privilege
always is false and the skill does not request persistent/privileged presence or modify other skills or system-wide settings. It does not ask to store tokens or change agent config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install microsoft-code-reference
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /microsoft-code-reference 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added support for the mslearn CLI as a fallback when Microsoft Learn MCP Server is unavailable. - Updated compatibility details to clarify best operation with Learn MCP Server and CLI alternative. - Provided CLI usage instructions and examples for searching, fetching, and retrieving code samples. - No changes to core tool usage or workflow instructions.
v1.0.0
- Initial release of the microsoft-code-reference skill. - Enables lookup of Microsoft API references, working code samples, and SDK verification. - Helps catch hallucinated methods, wrong signatures, and deprecated patterns by querying official documentation. - Supports Azure SDKs, .NET libraries, and other Microsoft APIs via the Microsoft Learn MCP Server. - Includes instructions for finding code samples, resolving errors, and validating code/workflows.
元数据
Slug microsoft-code-reference
版本 1.0.1
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 2
常见问题

Microsoft Code Reference 是什么?

Look up Microsoft API references, find working code samples, and verify SDK code is correct. Use when working with Azure SDKs, .NET libraries, or Microsoft A... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 814 次。

如何安装 Microsoft Code Reference?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install microsoft-code-reference」即可一键安装,无需额外配置。

Microsoft Code Reference 是免费的吗?

是的,Microsoft Code Reference 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Microsoft Code Reference 支持哪些平台?

Microsoft Code Reference 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Microsoft Code Reference?

由 Tianqi Zhang(@tianqizhang)开发并维护,当前版本 v1.0.1。

💬 留言讨论