Subagent Directive: Subagent: Csharp Pro
Subagent Directive: Subagent: Csharp Pro is a verified SUBAGENT blueprint on Promptally in Specialized Subagents optimized for leading AI models. 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. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | SUBAGENT (Specialized Subagents) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 339 |
| Source file | csharp-pro.agent.md |
| Access tier | Free public (MIT) |
Pre-Filled Template
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 1. Leverage modern C# features for clean, expressive code 2. Follow SOLID principles and favor composition over inheritance 3. Use nullable reference types and comprehensive error handling 4. Optimize for performance with span, memory, and value types 5. Implement proper async patterns without blocking 6. 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.
How to use this subagent
- Review the pre-filled example and source files above.
- Copy the template or download
csharp-pro.agent.md, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Subagent Directive: Subagent: Csharp Pro?
Open the subagent on Promptally, review the pre-filled example, then copy the template or download csharp-pro.agent.md and paste it into your model, IDE or workflow tool. Subagent Directive: Subagent: Csharp Pro is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Subagent Directive: Subagent: Csharp Pro free?
Yes. Subagent Directive: Subagent: Csharp Pro is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Subagent Directive: Subagent: Csharp Pro need?
Subagent Directive: Subagent: Csharp Pro is a static blueprint with no dynamic variables. Copy it and use it as-is.