Runs single-file C# apps with the .NET CLI, for quick experiments that do not need a project.
By author · 18 skills
.NET Skills
Every skill by .NET in the directory. Each page has a summary, the install command and a link to the source.
Skills by .NET
Guides the creation of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata and error handling.
Speeds up slow Entity Framework Core queries so they generate less SQL and make fewer database round-trips.
Scans .NET code for about 50 performance anti-patterns across async, memory, strings, collections, LINQ and I/O.
Detects and fixes MSBuild anti-patterns in project, props and targets files.
Works out the right dotnet test command and filters for running .NET tests.
Makes .NET projects compatible with Native AOT and trimming by resolving IL analyzer warnings with annotations, refactoring and source-generated JSON.
Creates and reviews .NET P/Invoke and LibraryImport declarations for native libraries, including types, strings, memory ownership and handles.
Scaffolds new agent skills for the dotnet/skills repository, including frontmatter, directory structure, workflow guidance and validation.
Migrates existing C# projects to nullable reference types, resolving compiler warnings while preserving runtime behaviour and API intent.
Provides language-specific testing guidance for the .NET code-testing pipeline, including commands, conventions and common errors.
Detects MSBuild projects whose output or intermediate paths collide across projects, target frameworks, solutions or build configurations.
Creates VS Code custom agent files with personas, tool permissions, instructions and handoffs for specialised development workflows.
Guides creation, validation and packaging of reusable .NET dotnet new templates from existing projects, preserving project settings, parameters and post-actions.
Migrates MSTest v3 test projects to v4, updating packages, source APIs, target frameworks and runner or discovery settings.
Classifies existing tests in .NET and other frameworks, applies standard traits, and reports the suite's positive, negative and integration mix.
Grades curated test methods across .NET and other language frameworks, scoring assertions, structure and anti-patterns for concise PR-ready review tables.
Guides Blazor developers through prerendering fixes for duplicate loads, state persistence, interactive routing and browser-only dependencies.