← Back to Skills Marketplace
tianqizhang

Microsoft Code Reference

by Tianqi Zhang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
814
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install microsoft-code-reference
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install microsoft-code-reference
  3. After installation, invoke the skill by name or use /microsoft-code-reference
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug microsoft-code-reference
Version 1.0.1
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 814 downloads so far.

How do I install Microsoft Code Reference?

Run "/install microsoft-code-reference" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Microsoft Code Reference free?

Yes, Microsoft Code Reference is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Microsoft Code Reference support?

Microsoft Code Reference is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Microsoft Code Reference?

It is built and maintained by Tianqi Zhang (@tianqizhang); the current version is v1.0.1.

💬 Comments