csharp-pro
Provides expert guidance on modern C# features, SOLID principles, and enterprise architecture patterns for .NET development.
Install
mkdir -p .claude/skills/csharp-pro && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/896" && unzip -o skill.zip -d .claude/skills/csharp-pro && rm skill.zipInstalls to .claude/skills/csharp-pro
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing.Key capabilities
- →Implement modern C# features like records and pattern matching
- →Apply SOLID principles and enterprise design patterns
- →Optimize performance using Span, Memory, and value types
- →Develop concurrent applications using async/await and TPL
- →Configure NuGet packages and dependency management
- →Generate unit tests with xUnit, NUnit, Moq, and FluentAssertions
How it works
The agent applies .NET coding standards and enterprise patterns to modernize codebases while utilizing performance-focused types and asynchronous programming models.
Inputs & outputs
When to use csharp-pro
- →Refactor legacy code using modern C# features
- →Implement SOLID principles in an ASP.NET app
- →Optimize performance with Span and Memory
- →Write unit tests with xUnit and FluentAssertions
About this skill
Use this skill when
- Working on csharp pro tasks or workflows
- Needing guidance, best practices, or checklists for csharp pro
Do not use this skill when
- The task is unrelated to csharp pro
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
You are a C# expert specializing in modern .NET development and enterprise-grade applications.
Focus Areas
- Modern C# features (records, pattern matching, nullable reference types)
- .NET ecosystem and frameworks (ASP.NET Core, Entity Framework, Blazor)
- SOLID principles and design patterns in C#
- Performance optimization and memory management
- Async/await and concurrent programming with TPL
- Comprehensive testing (xUnit, NUnit, Moq, FluentAssertions)
- Enterprise patterns and microservices architecture
Approach
- Leverage modern C# features for clean, expressive code
- Follow SOLID principles and favor composition over inheritance
- Use nullable reference types and comprehensive error handling
- Optimize for performance with span, memory, and value types
- Implement proper async patterns without blocking
- Maintain high test coverage with meaningful unit tests
Output
- Clean C# code with modern language features
- Comprehensive unit tests with proper mocking
- Performance benchmarks using BenchmarkDotNet
- Async/await implementations with proper exception handling
- NuGet package configuration and dependency management
- Code analysis and style configuration (EditorConfig, analyzers)
- Enterprise architecture patterns when applicable
Follow .NET coding standards and include comprehensive XML documentation.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
When not to use it
- →Tasks unrelated to C# or .NET development
- →Situations requiring environment-specific validation or expert review
Prerequisites
Limitations
- →Output cannot replace human expert review or environment-specific testing
- →Requires explicit input regarding safety boundaries and permissions
How it compares
Unlike manual coding, this agent enforces specific .NET architectural standards and provides automated verification through unit testing and benchmark configurations.
Compared to similar skills
csharp-pro side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| csharp-pro (this skill) | 9 | 4mo | No flags | Intermediate |
| csharp-developer | 43 | 2mo | No flags | Advanced |
| backend-testing | 3 | 1mo | No flags | Intermediate |
| orchardcore-module-creator | 1 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by sickn33
View all by sickn33 →You might also like
csharp-developer
zenobi-us
Expert C# developer specializing in modern .NET development, ASP.NET Core, and cloud-native applications. Masters C# 12 features, Blazor, and cross-platform development with emphasis on performance and clean architecture.
backend-testing
exceptionless
Backend testing with xUnit, Foundatio.Xunit, integration tests with AppWebHostFactory, FluentClient, ProxyTimeProvider for time manipulation, and test data builders. Keywords: xUnit, Fact, Theory, integration tests, AppWebHostFactory, FluentClient, ProxyTimeProvider, TimeProvider, Foundatio.Xunit, TestWithLoggingBase, test data builders
orchardcore-module-creator
OrchardCMS
Creates new OrchardCore modules with proper structure, manifest, startup, and patterns. Use when the user needs to create a new module, add content parts, fields, drivers, handlers, or admin functionality.
tdd-workflow
DreamLab2025
Use this skill when writing new features, fixing bugs, or refactoring code in Verendar. Enforces test-driven development with 80%+ coverage using xUnit, FluentAssertions, NSubstitute, and Testcontainers. Activate proactively whenever the user is about to write new application code, fix a bug, or add
add-feature
adamint
Adds new features to the application including API endpoints, React pages, components, and curriculum content. USE FOR: implementing new features, adding API endpoints, creating React components, adding curriculum content, writing unit/API tests. DO NOT USE FOR: E2E browser tests (use add-e2e-tests
performance-benchmark
dotnet
Generate and run ad hoc performance benchmarks to validate code changes. Use this when asked to benchmark, profile, or validate the performance impact of a code change in dotnet/runtime.