# Microsoft Code Reference (agent skill)

> Microsoft Code Reference is an agent skill (a SKILL.md file) from MicrosoftDocs/mcp. Find working code samples, verify API signatures, and fix Microsoft SDK errors using official docs. It works with Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot and has 1,936 GitHub stars across a repository of 2 listed skills.

Find working code samples, verify API signatures, and fix Microsoft SDK errors using official docs. Use whenever the user is writing, debugging, or reviewing code that touches any Microsoft SDK, .NET library, Azure client library, or Microsoft API—even if they don't ask for a "reference." Catches hallucinated methods, wrong signatures, and deprecated patterns. If the task involves producing or fixing Microsoft-related code, this is the right skill.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/MicrosoftDocs/mcp |
| Skill path | skills/microsoft-code-reference/SKILL.md |
| Skill name | microsoft-code-reference |
| GitHub stars | 1,936 |
| Installs on skills.sh | not listed |
| License | CC-BY-4.0 |
| Skills in repo | 2 |
| Plugin marketplace | microsoft-docs-marketplace |
| Official | no |
| Works with | Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot |
| Category | Coding |
| Last commit | Sep 10, 2026 |

## When it triggers

- "reference."

## Add this skill

### Claude Code

```sh
/plugin marketplace add MicrosoftDocs/mcp
/plugin install microsoft-docs@microsoft-docs-marketplace
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/MicrosoftDocs/mcp.git
cp -r mcp/skills/microsoft-code-reference .agents/skills/microsoft-code-reference   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/MicrosoftDocs/mcp.git
cp -r mcp/skills/microsoft-code-reference .cursor/skills/microsoft-code-reference   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/microsoftdocs-microsoft-code-reference
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
