AgentSkillsCN

microsoft-docs

查询Microsoft官方文档,深入理解相关概念、查找教程,了解各项服务的工作原理。适用于Azure、.NET、Microsoft 365、Windows、Power Platform以及所有Microsoft技术。从learn.microsoft.com及其他Microsoft官方网站获取准确、最新的信息——包括架构概览、快速入门指南、配置手册、使用限制与最佳实践。**专为Unity/C#开发量身定制。**

SKILL.md
--- frontmatter
name: microsoft-docs
description: Query official Microsoft documentation to understand concepts, find tutorials, and learn how services work. Use for Azure, .NET, Microsoft 365, Windows, Power Platform, and all Microsoft technologies. Get accurate, current information from learn.microsoft.com and other official Microsoft websites—architecture overviews, quickstarts, configuration guides, limits, and best practices. **OnoCoro Customized for Unity/C# Development.**
compatibility: Requires Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp)

Microsoft Docs (OnoCoro Customized)

Query official Microsoft documentation to understand concepts, find tutorials, and learn how services work. This skill is customized for OnoCoro C# development with Unity 6.3 and PLATEAU SDK integration.

Tools

ToolUse For
microsoft_docs_searchFind documentation—concepts, guides, tutorials, configuration
microsoft_docs_fetchGet full page content (when search excerpts aren't enough)

When to Use

  • Understanding C# concepts — "How does async/await work in C#?", "What are nullable reference types?"
  • Learning Unity APIs — "Unity Transform overview", "How does Instantiate work?"
  • PLATEAU SDK documentation — "PLATEAU SDK CityGML loading", "Coordinate transformation"
  • Finding tutorials — "quickstart", "getting started", "step-by-step"
  • Configuration options — "Unity project settings", ".NET configuration"
  • Limits & quotas — "Unity Scene size limits", "Asset loading quotas"
  • Best practices — "C# code style guidelines", "Unity performance best practices"

Query Effectiveness

Good queries are specific:

code
# ❌ Too broad
"C# async"
"Unity Transform"

# ✅ Specific
"C# async await patterns best practices"
"Unity Transform.Find performance guidelines"
"Microsoft.Extensions.DependencyInjection C# example"
"Entity Framework Core mapping strategies"

Include context:

  • Version when relevant (.NET 8, C# 12, Unity 6.3)
  • Task intent (quickstart, tutorial, overview, limits, performance)
  • Platform for multi-platform docs (Windows, Linux, .NET Standard)

OnoCoro-Specific Queries

Recovery Phase Development

code
microsoft_docs_search(query: "C# null-safety best practices .NET 8")
microsoft_docs_search(query: "Unity Serializable fields guidelines")
microsoft_docs_search(query: ".NET exception handling patterns")
microsoft_docs_search(query: "C# async/await best practices Recovery phase")

PLATEAU SDK & Geospatial

code
microsoft_docs_search(query: "C# coordinate transformation libraries")
microsoft_docs_search(query: ".NET geographic coordinate systems")
microsoft_docs_search(query: "C# mesh generation Unity Procedural")

Asset Management

code
microsoft_docs_search(query: "C# resource management patterns .NET")
microsoft_docs_search(query: "C# caching strategies performance")
microsoft_docs_search(query: "Unity prefab instantiation best practices")

When to Fetch Full Page

Fetch after search when:

  • Tutorials — need complete step-by-step instructions
  • Configuration guides — need all options listed
  • Deep dives — user wants comprehensive coverage
  • Search excerpt is cut off — full context needed
  • Performance considerations — need complete tuning guide

Why Use This

  • Accuracy — live docs, not training data that may be outdated
  • Completeness — tutorials have all steps, not fragments
  • Authority — official Microsoft documentation
  • OnoCoro Context — customized for C#/Unity/.NET development in Recovery phase

Examples

Finding C# Best Practices

code
Question: "How should I handle null checking in Recovery phase code?"

Action:
1. microsoft_docs_search(query: "C# null-safety guidelines .NET best practices")
2. microsoft_docs_fetch(url: "[result URL]") if more detail needed
3. Apply pattern to code review

Understanding Unity + C# Integration

code
Question: "What's the best way to manage Serializable fields in Unity?"

Action:
1. microsoft_docs_search(query: "C# Serializable attributes Unity guidelines")
2. microsoft_docs_fetch(url: "[result URL]")
3. Review [AGENTS.md](../../../AGENTS.md) for OnoCoro compliance

PLATEAU Data Processing

code
Question: "How do I efficiently transform geographic coordinates in C#?"

Action:
1. microsoft_docs_search(query: ".NET geographic coordinate transformation libraries")
2. microsoft_docs_search(query: "C# numeric precision coordinate systems")
3. Reference [docs/architecture.md](../../../docs/architecture.md) for integration

Note: This skill is optimized for OnoCoro development. For general .NET/Azure documentation, refer to official learn.microsoft.com.

Last Updated: 2026-01-20