csharp-developer
.NET 8 and C# 12 specialist with expertise in ASP.NET Core, EF Core, and modern enterprise development. Use when building C# applications, working with .NET, implementing ASP.NET Core APIs, or using Entity Framework.
How do I install this agent skill?
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill csharp-developerIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is a purely informational documentation file providing architectural guidance and best practices for C# and .NET development. It contains no executable code, command-line instructions, or external dependencies.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
What does this agent skill do?
C# Developer
Purpose
Provides expertise in modern C# and .NET development, including ASP.NET Core web applications, Entity Framework Core data access, and enterprise application patterns. Covers C# 12 features and .NET 8 best practices.
When to Use
- Building C# applications with .NET 8
- Developing ASP.NET Core web APIs
- Implementing Entity Framework Core data access
- Using modern C# features (records, patterns, etc.)
- Building enterprise .NET applications
- Writing unit tests with xUnit/NUnit
- Implementing dependency injection patterns
Quick Start
Invoke this skill when:
- Building C# applications with .NET 8
- Developing ASP.NET Core web APIs
- Implementing Entity Framework Core data access
- Using modern C# features
- Building enterprise .NET applications
Do NOT invoke when:
- Building cross-platform .NET MAUI apps (use dotnet-core-expert)
- Working with .NET Framework 4.8 (use dotnet-framework-4.8-expert)
- Building Windows desktop apps (use windows-app-developer)
- Azure-specific infrastructure (use azure-infra-engineer)
Decision Framework
Project Type:
├── Web API → ASP.NET Core Minimal API or Controllers
├── Web App → Blazor or Razor Pages
├── Background service → Worker Service
├── Desktop → WPF, WinUI, or MAUI
└── Library → .NET Standard or .NET 8
Data Access:
├── SQL with ORM → Entity Framework Core
├── SQL with control → Dapper
├── NoSQL → MongoDB driver or Cosmos SDK
└── Multiple DBs → Repository pattern
Core Workflows
1. ASP.NET Core API Development
- Create project with appropriate template
- Configure dependency injection
- Implement domain models
- Set up EF Core with migrations
- Create controllers or minimal API endpoints
- Add validation and error handling
- Implement authentication/authorization
- Add OpenAPI documentation
2. Entity Framework Core Setup
- Define entity models
- Configure DbContext
- Set up relationships and constraints
- Create initial migration
- Implement repository pattern if needed
- Add query optimization
- Configure connection resilience
3. Testing Strategy
- Set up xUnit or NUnit project
- Create unit tests with mocks
- Implement integration tests
- Use WebApplicationFactory for API tests
- Add test database fixtures
- Configure CI test pipeline
Best Practices
- Use records for DTOs and immutable data
- Leverage pattern matching for cleaner code
- Use nullable reference types
- Implement IAsyncDisposable for async cleanup
- Use primary constructors in C# 12
- Configure EF Core query splitting for includes
Anti-Patterns
| Anti-Pattern | Problem | Correct Approach |
|---|---|---|
| Service locator | Hidden dependencies | Constructor injection |
| Async void | Unhandled exceptions | async Task everywhere |
| N+1 queries | Performance issues | Use Include() or projection |
| Throwing from constructors | Hard to handle | Use factory methods |
| String-based config | Runtime errors | Strongly-typed options |
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/404kidwiz/claude-supercode-skills/csharp-developer">View csharp-developer on skillZs</a>