Skip to content
Agent

csharp-pro

by yangjrun

AI Summary

A specialized C# expert agent that helps developers write modern, enterprise-grade .NET code using advanced features like records, pattern matching, and async/await while ensuring SOLID principles and comprehensive testing. Ideal for C# developers looking to refactor, optimize performance, or implement complex .NET solutions.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to set up the "csharp-pro" agent in my project.

Please run this command in my terminal:
# Copy to your project's .claude/agents/ directory
mkdir -p .claude/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/agents/csharp-pro.md "https://raw.githubusercontent.com/yangjrun/novellus/master/.claude/agents/csharp-pro.md"

Then explain what the agent does and how to invoke it.

Description

Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing. Use PROACTIVELY for C# refactoring, performance optimization, or complex .NET solutions.

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.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 6mo ago
Stale
AdoptionUnder 100 stars
1 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars1
Issues0
Updated6mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code