csharp-developer

Generate C# code and configuration for .NET 8+ applications and APIs.

14|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/alexander-danilenko/ai-skills --skill csharp-developer-alexander-danilenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-developer
Source: https://github.com/alexander-danilenko/ai-skills/tree/main/skills/csharp-developer
Command: npx skills add https://github.com/alexander-danilenko/ai-skills --skill csharp-developer-alexander-danilenko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Accelerates development of production-grade C# applications by providing expert implementation guidance, architecture decisions, and code patterns that prevent common pitfalls in .NET projects.

Core Features & Use Cases

  • API and App Implementation: Create Minimal APIs, controller-based ASP.NET Core endpoints, and Blazor Server/WASM components with clear Program.cs and DI setup.
  • Data Layer & Migrations: Design EF Core DbContext, repositories, migration workflows, and query optimizations for reliable data access.
  • Performance & Modern C#: Apply Span<T>/Memory<T>, ValueTask patterns, AOT considerations, and C# 12 features like file-scoped namespaces and primary constructors.
  • Architecture & Testing: Implement CQRS with MediatR, strongly-typed configuration, Result patterns, and xUnit tests to reach high coverage.
  • Real-world example: Turn a monolithic ASP.NET Core project into a modular API with EF Core-backed repositories, endpoint route groups, and performance profiling guidance.

Quick Start

Create a minimal ASP.NET Core API with a Product entity, EF Core migrations, DI-based repository and service, and a basic xUnit test that verifies CRUD operations.

Frequently Asked Questions about csharp-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure an ASP.NET Core minimal API with EF Core and dependency injection?

Structure an ASP.NET Core minimal API by configuring services in Program.cs, injecting EF Core DbContext repositories, and defining endpoint route groups to achieve modular, maintainable API architectures.

What is the best way to implement CQRS with MediatR in a .NET 8 application?

Implement CQRS with MediatR in .NET 8 by separating command and query handlers, registering MediatR via dependency injection, and applying the Result pattern to handle operation outcomes cleanly.

Can I use Blazor Server and WASM components with ASP.NET Core minimal APIs?

Yes, Blazor Server and Blazor WASM components integrate with ASP.NET Core APIs by sharing Program.cs dependency injection configurations and leveraging strongly-typed configuration for seamless frontend-backend communication.

How do I optimize EF Core query performance and apply migrations in a .NET project?

Optimize EF Core query performance by designing efficient DbContext repositories and workflows, applying migrations methodically, and leveraging Span<T> and ValueTask patterns to reduce allocation overhead.

Why enforce nullable reference types and async cancellation support in modern C# development?

Enforce nullable reference types and async cancellation support in modern C# development to prevent NullReferenceExceptions at compile time and ensure responsive, safely cancellable asynchronous operations.

Do I need xUnit tests to verify CRUD operations in an ASP.NET Core API?

Yes, implementing xUnit tests verifies CRUD operations in an ASP.NET Core API, ensuring high test coverage and validating that EF Core-backed repositories and dependency injection configurations function correctly.