.NET Core Эксперт
Эксперт в разработке приложений на .NET 8: создаю минималистичные API, чистую архитектуру и масштабируемые микросервисы. Идеально для высоконагруженных и поддерживаемых решений.
Ставится на компьютере
С телефона скилл не поставить: Claude Code работает на Windows, macOS и Linux. Отправьте ссылку себе и откройте её на компьютере.
Способ установки
Откройте Терминал и вставьте команду:
curl -fsSL https:/ / claudeskills.ru/ install/ dotnet-core-expert | bashСкилл ляжет в папку ~/.claude/skills/dotnet-core-expert/. Если Claude Code уже открыт, а папки skills раньше не было, наберите в нём /reload-skills. Посмотреть скрипт
Карточка
dotnet-core-expert- Jeffallan
- на английском, задачу ставите по-русски
- SKILL.md
- references/ · 5 файлов
Похожие скиллы
- РазработкаC# Разработчик
Для разработки приложений на C# с .NET 8+, ASP.NET Core, Blazor и Entity Framework Core
csharp-developer· Jeffallan - РазработкаJava Архитектор
Для архитекторов и тимлидов: проектирование масштабируемых Spring Boot приложений и микросервисов
java-architect· Jeffallan - РазработкаDjango Эксперт
Для разработки Django-приложений и REST API с DRF. Работа с моделями и ORM.
django-expert· Jeffallan - РазработкаSpring Boot Разработчик
Для приложений на Spring Boot 3.x, микросервисов и реактивной Java.
spring-boot-engineer· Jeffallan - Разработка
- РазработкаАрхитектор микросервисов
Для проектирования распределённых систем и микросервисов с Claude Code
microservices-architect· Jeffallan
Статьи по теме
- Что такое Claude Skills и зачем они нужныClaude Skills — модульные навыки для ИИ-ассистента Claude. Узнайте, что это, как установить, создать свой skill и использовать в Claude Code. Примеры и инструкции.
- Настройка скиллов Claude: как устроен SKILL.md и где хранить скиллыНастройка скиллов Claude: из чего состоит SKILL.md, куда класть папку, как написать description и проверить, что скилл срабатывает. CLAUDE.md — отдельно.
- Claude Code в России: как пользоваться и работает ли в 2026Работает ли Claude Code в России: страны нет в списке Anthropic, оплата доступ не открывает. Как использовать Claude Code из поддерживаемой страны и где оплата.
Текст инструкции · SKILL.md
Оригинал инструкции (англ.)
Это оригинал автора на английском. Переводить его не нужно: Claude читает инструкцию сам, а задачу вы ставите ему по-русски.
Core Workflow
- Analyze requirements — Identify architecture pattern, data models, API design
- Design solution — Create clean architecture layers with proper separation
- Implement — Write high-performance code with modern C# features; run
dotnet buildto verify compilation — if build fails, review errors, fix issues, and rebuild before proceeding - Secure — Add authentication, authorization, and security best practices
- Test — Write comprehensive tests with xUnit and integration testing; run
dotnet testto confirm all tests pass — if tests fail, diagnose failures, fix the implementation, and re-run before continuing; verify endpoints withcurlor a REST client
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Minimal APIs | references/minimal-apis.md | Creating endpoints, routing, middleware |
| Clean Architecture | references/clean-architecture.md | CQRS, MediatR, layers, DI patterns |
| Entity Framework | references/entity-framework.md | DbContext, migrations, relationships |
| Authentication | references/authentication.md | JWT, Identity, authorization policies |
| Cloud-Native | references/cloud-native.md | Docker, health checks, configuration |
Constraints
MUST DO
- Use .NET 8 and C# 12 features
- Enable nullable reference types:
<Nullable>enable</Nullable>in the.csproj - Use async/await for all I/O operations — e.g.,
await dbContext.Users.ToListAsync() - Implement proper dependency injection
- Use record types for DTOs — e.g.,
public record UserDto(int Id, string Name); - Follow clean architecture principles
- Write integration tests with
WebApplicationFactory<Program> - Configure OpenAPI/Swagger documentation
MUST NOT DO
- Use synchronous I/O operations
- Expose entities directly in API responses
- Skip input validation
- Use legacy .NET Framework patterns
- Mix concerns across architectural layers
- Use deprecated EF Core patterns
Code Examples
Minimal API Endpoint
// Program.cs
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Services.AddMediatR(cfg => cfg.RegisterServicesFromAssembly(typeof(Program).Assembly));
var app = builder.Build();
app.UseSwagger();
app.UseSwaggerUI();
app.MapGet("/users/{id}", async (int id, ISender sender, CancellationToken ct) =>
{
var result = await sender.Send(new GetUserQuery(id), ct);
return result is null ? Results.NotFound() : Results.Ok(result);
})
.WithName("GetUser")
.Produces<UserDto>()
.ProducesProblem(404);
app.Run();
MediatR Query Handler
// Application/Users/GetUserQuery.cs
public record GetUserQuery(int Id) : IRequest<UserDto?>;
public sealed class GetUserQueryHandler : IRequestHandler<GetUserQuery, UserDto?>
{
private readonly AppDbContext _db;
public GetUserQueryHandler(AppDbContext db) => _db = db;
public async Task<UserDto?> Handle(GetUserQuery request, CancellationToken ct) =>
await _db.Users
.AsNoTracking()
.Where(u => u.Id == request.Id)
.Select(u => new UserDto(u.Id, u.Name))
.FirstOrDefaultAsync(ct);
}
EF Core DbContext with Async Query
// Infrastructure/AppDbContext.cs
public sealed class AppDbContext(DbContextOptions<AppDbContext> options) : DbContext(options)
{
public DbSet<User> Users => Set<User>();
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.ApplyConfigurationsFromAssembly(typeof(AppDbContext).Assembly);
}
}
// Usage in a service
public async Task<IReadOnlyList<UserDto>> GetAllAsync(CancellationToken ct) =>
await _db.Users
.AsNoTracking()
.Select(u => new UserDto(u.Id, u.Name))
.ToListAsync(ct);
DTO with Record Type
public record UserDto(int Id, string Name);
public record CreateUserRequest(string Name, string Email);
Output Templates
When implementing .NET features, provide:
- Project structure (solution/project files)
- Domain models and DTOs
- API endpoints or service implementations
- Database context and migrations if applicable
- Brief explanation of architectural decisions
Maintained by @jeffallan (откроется в новой вкладке), Principal Consultant at Synergetic Solutions (откроется в новой вкладке)