Microsoft Development
Optimized for current Microsoft Graph, Entra ID, PowerShell 7.x, and Microsoft 365 integration workflows.
Use this skill when the answer should come from Microsoft documentation rather than memory or third-party summaries.
- Leverage native parallel subagent dispatch and 200k+ context windows where available.
Current MCP Reality
Microsoft's Learn Docs MCP server is publicly documented and currently exposes these core tools:
microsoft_docs_search
microsoft_docs_fetch
microsoft_docs_extract_code_examples
microsoft_docs_search_by_product
Microsoft's getting-started docs also describe installation through npx -y @microsoft/learn-docs-mcp.
Activation Conditions
Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
- Verifying Azure SDK usage, limits, or configuration
- Looking up .NET, Graph, Windows, or Microsoft 365 APIs
- Pulling official code examples before implementation
- Checking product-specific guidance for Azure, Power BI, or Power Platform
Recommended Workflow
- Search first with
microsoft_docs_search.
- Narrow by product with
microsoft_docs_search_by_product when results are broad.
- Fetch the relevant page with
microsoft_docs_fetch for details.
- Extract code examples with
microsoft_docs_extract_code_examples if the user needs working snippets.
- Prefer official code and limits over recollection.
Query Patterns
"Azure Container Apps scale rules"
"BlobClient UploadAsync Azure.Storage.Blobs"
product="power-bi" query="row level security dax"
product="microsoft-graph" query="send mail application permissions"
Guardrails
- Use Microsoft Learn MCP for Microsoft-specific answers before browsing elsewhere.
- Treat package versions, quotas, and service capabilities as time-sensitive.
- If Learn MCP is unavailable in the current client, use the included scripts and references as local fallbacks, then browse official docs.
Cross-Client Portability
This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.
- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the
workflow in project instructions when folder discovery is unavailable.
- Claude Code: keep the folder in a local skills directory or a compatible plugin source.
- Codex: install or sync the folder into
$CODEX_HOME/skills/microsoft-development and restart Codex after major changes.
MCP Availability And Fallback
Preferred MCP Server: Microsoft Learn Docs MCP
- Fallback prompt: "Use the Microsoft Development skill without MCP. Follow the documented local or manual fallback, show the selected tool surface, and report the verification evidence."
- Use Microsoft Learn in a browser and local SDK or CLI documentation when the docs MCP server is unavailable.
- Verify generated commands or samples with the native toolchain (
dotnet, az, PowerShell, etc.) before shipping them.
- Do not claim an MCP operation was used when the active host does not expose it.
Anti-Patterns
- Changing infrastructure before inspecting the current state: Cloud drift and hidden dependencies make blind edits risky.
- Hardcoding credentials or environment assumptions: Rollouts stop being reproducible and secrets become harder to rotate.
- Skipping rollback, observability, or validation planning: You only notice the missing safeguards after the deployment is already live.
Verification Protocol
Before claiming "skill applied successfully":
- Pass/fail: The Microsoft Development implementation names the target runtime, framework version, and affected files.
- Pass/fail: Build, lint, test, or equivalent local validation is run for the changed surface.
- Pass/fail: Edge cases for errors, dependency drift, and environment differences are addressed or explicitly out of scope.
- Pressure-test scenario: Apply the workflow to a change that passes happy-path tests but fails one boundary condition.
- Success metric: Zero untested success claims; every implementation claim maps to a command or artifact.
Before and After Example
# Before
az deployment group create `
--resource-group app-rg `
--template-file main.bicep
# After
$deploymentName = "api-$(Get-Date -Format yyyyMMddHHmmss)"
az deployment group create `
--name $deploymentName `
--resource-group app-rg `
--template-file main.bicep `
--parameters environment=prod `
--what-if
Moves from an opaque deployment command to a traceable and reviewable workflow with named deployments, explicit parameters, and a preflight diff.
Common Pitfalls
- Treating vendor examples as drop-in production code: Official snippets usually prove an API, not your project’s retry, logging, or auth requirements.
- Skipping service-specific limits and permissions review: Azure and Microsoft 365 failures often come from quotas or scopes rather than syntax.
- Relying on memory instead of current docs: Microsoft SDK behavior and surface area change often enough that stale recall is risky.
References & Resources
Documentation
Scripts
- Azure Health Check - Validate Azure login and inspect common resource health in a resource group
Examples
Related Skills
- azure-integrations: Use it when the workflow also needs Azure deployment and infrastructure automation.
- powerbi-modeling: Use it when the workflow also needs Power BI semantic model design and DAX work.
- sql-development: Use it when the workflow also needs SQL query, schema, and performance tuning work.
- documentation-authoring: Use it when the workflow also needs drafting structured technical or product documents.
1---2name: microsoft-development3description: Microsoft docs lookup, code samples, and SDK reference for Azure, .NET, Microsoft 365, Windows, and Power Platform via Microsoft Learn MCP. Use for API reference or official MS documentation retrieval.4---5# Microsoft Development
6
7> Optimized for current Microsoft Graph, Entra ID, PowerShell 7.x, and Microsoft 365 integration workflows.
8
9Use this skill when the answer should come from Microsoft documentation rather than memory or third-party summaries.
10
11- Leverage native parallel subagent dispatch and 200k+ context windows where available.
12
13
14## Current MCP Reality
15
16Microsoft's Learn Docs MCP server is publicly documented and currently exposes these core tools:
17
18- `microsoft_docs_search`
19- `microsoft_docs_fetch`
20- `microsoft_docs_extract_code_examples`
21- `microsoft_docs_search_by_product`
22
23Microsoft's getting-started docs also describe installation through `npx -y @microsoft/learn-docs-mcp`.
24
25## Activation Conditions
26
27Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
28
29- Verifying Azure SDK usage, limits, or configuration
30- Looking up .NET, Graph, Windows, or Microsoft 365 APIs
31- Pulling official code examples before implementation
32- Checking product-specific guidance for Azure, Power BI, or Power Platform
33
34## Recommended Workflow
35
361. Search first with `microsoft_docs_search`.
372. Narrow by product with `microsoft_docs_search_by_product` when results are broad.
383. Fetch the relevant page with `microsoft_docs_fetch` for details.
394. Extract code examples with `microsoft_docs_extract_code_examples` if the user needs working snippets.
405. Prefer official code and limits over recollection.
41
42## Query Patterns
43
44- `"Azure Container Apps scale rules"`
45- `"BlobClient UploadAsync Azure.Storage.Blobs"`
46- `product="power-bi" query="row level security dax"`
47- `product="microsoft-graph" query="send mail application permissions"`
48
49## Guardrails
50
51- Use Microsoft Learn MCP for Microsoft-specific answers before browsing elsewhere.
52- Treat package versions, quotas, and service capabilities as time-sensitive.
53- If Learn MCP is unavailable in the current client, use the included scripts and references as local fallbacks, then browse official docs.
54
55<!-- MCP:START -->
56
57<!-- PORTABILITY:START -->
58## Cross-Client Portability
59
60This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.
61
62- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the
63 workflow in project instructions when folder discovery is unavailable.
64- Claude Code: keep the folder in a local skills directory or a compatible plugin source.
65- Codex: install or sync the folder into
66 `$CODEX_HOME/skills/microsoft-development` and restart Codex after major changes.
67
68<!-- PORTABILITY:END -->
69
70## MCP Availability And Fallback
71
72Preferred MCP Server: Microsoft Learn Docs MCP
73
74- Fallback prompt: "Use the Microsoft Development skill without MCP. Follow the documented local or manual fallback, show the selected tool surface, and report the verification evidence."
75- Use Microsoft Learn in a browser and local SDK or CLI documentation when the docs MCP server is unavailable.
76- Verify generated commands or samples with the native toolchain (`dotnet`, `az`, PowerShell, etc.) before shipping them.
77- Do not claim an MCP operation was used when the active host does not expose it.
78
79<!-- MCP:END -->
80
81## Anti-Patterns
82
83- Changing infrastructure before inspecting the current state: Cloud drift and hidden dependencies make blind edits risky.
84- Hardcoding credentials or environment assumptions: Rollouts stop being reproducible and secrets become harder to rotate.
85- Skipping rollback, observability, or validation planning: You only notice the missing safeguards after the deployment is already live.
86
87## Verification Protocol
88
89Before claiming "skill applied successfully":
90
911. Pass/fail: The Microsoft Development implementation names the target runtime, framework version, and affected files.
922. Pass/fail: Build, lint, test, or equivalent local validation is run for the changed surface.
933. Pass/fail: Edge cases for errors, dependency drift, and environment differences are addressed or explicitly out of scope.
944. Pressure-test scenario: Apply the workflow to a change that passes happy-path tests but fails one boundary condition.
955. Success metric: Zero untested success claims; every implementation claim maps to a command or artifact.
96
97## Before and After Example
98
99```powershell
100# Before
101az deployment group create `
102 --resource-group app-rg `
103 --template-file main.bicep
104
105# After
106$deploymentName = "api-$(Get-Date -Format yyyyMMddHHmmss)"
107az deployment group create `
108 --name $deploymentName `
109 --resource-group app-rg `
110 --template-file main.bicep `
111 --parameters environment=prod `
112 --what-if
113```
114
115Moves from an opaque deployment command to a traceable and reviewable workflow with named deployments, explicit parameters, and a preflight diff.
116
117## Common Pitfalls
118
119- Treating vendor examples as drop-in production code: Official snippets usually prove an API, not your project’s retry, logging, or auth requirements.
120- Skipping service-specific limits and permissions review: Azure and Microsoft 365 failures often come from quotas or scopes rather than syntax.
121- Relying on memory instead of current docs: Microsoft SDK behavior and surface area change often enough that stale recall is risky.
122
123## References & Resources
124
125### Documentation
126- [Azure Services Quick Reference](./references/azure-services-quickref.md) - Common Azure services, SDK packages, and decision points
127- [.NET Patterns](./references/dotnet-patterns.md) - Practical .NET design and dependency-injection patterns
128- [Microsoft Learn MCP](./references/microsoft-learn-mcp.md) - Current tool names, install command, and query workflow
129
130### Scripts
131- [Azure Health Check](./scripts/azure-health-check.ps1) - Validate Azure login and inspect common resource health in a resource group
132
133### Examples
134- [Azure Function API Example](./examples/azure-function-api-example.md) - Example serverless API workflow tied back to official Microsoft docs
135
136## Related Skills
137
138- [azure-integrations](../azure-integrations/SKILL.md): Use it when the workflow also needs Azure deployment and infrastructure automation.
139- [powerbi-modeling](../powerbi-modeling/SKILL.md): Use it when the workflow also needs Power BI semantic model design and DAX work.
140- [sql-development](../sql-development/SKILL.md): Use it when the workflow also needs SQL query, schema, and performance tuning work.
141- [documentation-authoring](../documentation-authoring/SKILL.md): Use it when the workflow also needs drafting structured technical or product documents.