dotnet-best-practices
Ensure .NET/C# code meets best practices for the solution/project.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Ensure .NET/C# code meets best practices for the solution/project.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Diátaxis Documentation Expert. Creates high-quality software documentation using the Diátaxis framework.
Orchestrates end-to-end feature delivery for SoloDevBoard: planning, GitHub issue management, implementation gating, testing, documentation, and closure.
Guide for using the MudBlazor component library in Blazor Server applications. Use this when building or refactoring Blazor pages and components for SoloDevBoard. Covers setup, layout, component usage patterns, dialog and snackbar services, data grids, forms, colour pickers, theming, and bUnit testing with MudBlazor. Also use when troubleshooting z-index, popup rendering, or styling issues.
Manage the SoloDevBoard Roadmap GitHub Project (Project #8). Add issues to the board, set Phase/Priority/Status/Date fields, manage the Up Next queue, and keep the project in sync with the issue lifecycle. Use this skill whenever creating or updating GitHub issues for SoloDevBoard.
Create, update, and manage GitHub issues using MCP tools. Use this skill when users want to create bug reports, feature requests, or task issues, update existing issues, add labels/assignees/milestones, or manage issue workflows. Triggers on requests like "create an issue", "file a bug", "request a feature", "update issue X", or any GitHub issue management task.
Get best practices for XUnit unit testing, including data-driven tests
| name | dotnet-best-practices |
| description | Ensure .NET/C# code meets best practices for the solution/project. |
Your task is to ensure .NET/C# code in ${selection} meets the SoloDevBoard standards for .NET 10 and C# 14.
.NET 10 (net10.0)C# 14App, Application, Domain, Infrastructure)Domain has no external dependenciesApplication depends on Domain onlyInfrastructure depends on Application and DomainApp depends on ApplicationArgumentNullException.ThrowIfNull(...)ConfigureAwait(false) in reusable library code where appropriatexUnit for testsNSubstitute for mocking dependenciesAssert.* methods for all assertions. Do not add FluentAssertions, AwesomeAssertions, Shouldly, Moq, NUnit, or MSTest — see DEC-006 and DEC-016.MethodUnderTest_Scenario_ExpectedOutcomeprivate static to internal static over copy-pasting. New helpers are only justified when no equivalent exists.