Loading...
Loading...
Compare original and translation side by side
Load [skill:dotnet-tooling] version detection guidance to read TFMs from,.csproj, andDirectory.Build.props. Adapt all guidance to the detected .NET version (net8.0, net9.0, net10.0, net11.0).global.json
加载[skill:dotnet-tooling]版本检测指导,从、.csproj和Directory.Build.props中读取TFM。根据检测到的.NET版本(net8.0、net9.0、net10.0、net11.0)调整所有指导内容。global.json
dotnet runreferences/file-based-apps.mddotnet runreferences/file-based-apps.md| If the request involves... | Invoke |
|---|---|
| Web APIs, EF Core, gRPC, SignalR, middleware, security hardening | [skill:dotnet-api] |
| Blazor, MAUI, Uno Platform, WPF, WinUI, WinForms | [skill:dotnet-ui] |
| Unit tests, integration tests, E2E, Playwright, benchmarks | [skill:dotnet-testing] |
| CI/CD, GitHub Actions, Azure DevOps, containers, NuGet publishing | [skill:dotnet-devops] |
| Project setup, MSBuild, Native AOT, CLI apps, SDK versions | [skill:dotnet-tooling] |
| Crash dumps, WinDbg, hang analysis, memory diagnostics (Windows) | [skill:dotnet-debugging] |
| Crash dumps, dotnet-dump, lldb, container diagnostics (Linux/macOS) | [skill:dotnet-debugging] |
| Missing .NET SDK, install dotnet, workloads | [skill:dotnet-tooling] (references/dotnet-sdk-install.md) |
| Quick script, utility, single-file tool | [skill:dotnet-api] (references/file-based-apps.md) |
| Excel, Word, PowerPoint, PDF, spreadsheet, document generation | [skill:dotnet-api] (references/office-documents.md) |
| New project (unclear domain) | [skill:dotnet-tooling], then route to the owning domain skill |
| 如果请求涉及... | 调用 |
|---|---|
| Web API、EF Core、gRPC、SignalR、中间件、安全加固 | [skill:dotnet-api] |
| Blazor、MAUI、Uno Platform、WPF、WinUI、WinForms | [skill:dotnet-ui] |
| 单元测试、集成测试、E2E、Playwright、基准测试 | [skill:dotnet-testing] |
| CI/CD、GitHub Actions、Azure DevOps、容器、NuGet发布 | [skill:dotnet-devops] |
| 项目设置、MSBuild、原生AOT、CLI应用、SDK版本 | [skill:dotnet-tooling] |
| 崩溃转储、WinDbg、挂起分析、内存诊断(Windows) | [skill:dotnet-debugging] |
| 崩溃转储、dotnet-dump、lldb、容器诊断(Linux/macOS) | [skill:dotnet-debugging] |
| 缺少.NET SDK、安装dotnet、工作负载 | [skill:dotnet-tooling](references/dotnet-sdk-install.md) |
| 快速脚本、实用工具、单文件工具 | [skill:dotnet-api](references/file-based-apps.md) |
| Excel、Word、PowerPoint、PDF、电子表格、文档生成 | [skill:dotnet-api](references/office-documents.md) |
| 新项目(领域不明确) | [skill:dotnet-tooling],然后路由到对应的领域skill |
| When the task involves... | Also load |
|---|---|
| Performance optimization or profiling | [skill:dotnet-tooling] (profiling, performance-patterns references) |
| Testing a specific framework (minimal API, Blazor, EF Core) | The framework's domain skill ([skill:dotnet-api] or [skill:dotnet-ui]) for context |
| Authentication or security hardening in a UI app | [skill:dotnet-api] (security, auth middleware references) |
| Multi-targeting or platform-specific project setup | [skill:dotnet-tooling] (project structure, TFM configuration) |
| Building a new app (any "build me" request) | [skill:dotnet-tooling] (project setup) + [skill:dotnet-testing] (test strategy) |
| CI/CD that runs tests | [skill:dotnet-testing] (test framework configuration) |
| 当任务涉及... | 同时加载 |
|---|---|
| 性能优化或性能分析 | [skill:dotnet-tooling](性能分析、性能模式参考内容) |
| 测试特定框架(Minimal API、Blazor、EF Core) | 对应框架的领域skill([skill:dotnet-api]或[skill:dotnet-ui])以获取上下文 |
| UI应用中的身份验证或安全加固 | [skill:dotnet-api](安全、认证中间件参考内容) |
| 多目标或特定平台的项目设置 | [skill:dotnet-tooling](项目结构、TFM配置) |
| 构建新应用(任何“帮我构建”的请求) | [skill:dotnet-tooling](项目设置) + [skill:dotnet-testing](测试策略) |
| 运行测试的CI/CD | [skill:dotnet-testing](测试框架配置) |
| Skill | Summary | Differentiator |
|---|---|---|
| [skill:using-dotnet] | Process gateway for .NET routing discipline | Must execute immediately before this skill |
| [skill:dotnet-csharp] | C# language patterns, coding standards, async/await, DI, LINQ, domain modeling | Language-level guidance, always loaded as baseline |
| [skill:dotnet-api] | ASP.NET Core, EF Core, gRPC, SignalR, resilience, security, Aspire | Backend services and data access |
| [skill:dotnet-ui] | Blazor, MAUI, Uno Platform, WPF, WinUI, WinForms, accessibility | All UI frameworks and cross-platform targets |
| [skill:dotnet-testing] | xUnit v3, integration/E2E, Playwright, snapshots, benchmarks | Test strategy, frameworks, and quality gates |
| [skill:dotnet-devops] | GitHub Actions, Azure DevOps, containers, NuGet, observability | CI/CD pipelines, packaging, and operations |
| [skill:dotnet-tooling] | Project setup, MSBuild, Native AOT, profiling, CLI apps, version detection | Build system, performance, and developer tools |
| [skill:dotnet-debugging] | WinDbg MCP, crash dumps, hang analysis, memory diagnostics | Live and post-mortem dump analysis |
| dotnet-advisor | This skill -- routes to domain skills above | Entry point, loaded after [skill:using-dotnet] |
| Skill | 概述 | 差异化优势 |
|---|---|---|
| [skill:using-dotnet] | .NET路由规则的处理网关 | 必须在此skill之前立即执行 |
| [skill:dotnet-csharp] | C#语言模式、编码标准、async/await、DI、LINQ、领域建模 | 语言层面的指导,始终作为基线加载 |
| [skill:dotnet-api] | ASP.NET Core、EF Core、gRPC、SignalR、弹性、安全、Aspire | 后端服务与数据访问 |
| [skill:dotnet-ui] | Blazor、MAUI、Uno Platform、WPF、WinUI、WinForms、可访问性 | 所有UI框架与跨平台目标 |
| [skill:dotnet-testing] | xUnit v3、集成/E2E、Playwright、快照、基准测试 | 测试策略、框架与质量门禁 |
| [skill:dotnet-devops] | GitHub Actions、Azure DevOps、容器、NuGet、可观测性 | CI/CD流水线、打包与运维 |
| [skill:dotnet-tooling] | 项目设置、MSBuild、原生AOT、性能分析、CLI应用、版本检测 | 构建系统、性能与开发者工具 |
| [skill:dotnet-debugging] | WinDbg MCP、崩溃转储、挂起分析、内存诊断 | 实时与事后转储分析 |
| dotnet-advisor | 本skill——路由到上述领域skill | 入口点,在[skill:using-dotnet]之后加载 |