CS

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.zip

Installs 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.
188 charsno explicit “when” trigger
Intermediate

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

You give it
Legacy C# code or architectural requirements
You get back
Refactored C# code with XML documentation and performance benchmarks

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

  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.

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

Defined goals and constraintsClear success criteria

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.

SkillInstallsUpdatedSafetyDifficulty
csharp-pro (this skill)94moNo flagsIntermediate
csharp-developer432moNo flagsAdvanced
backend-testing31moNo flagsIntermediate
orchardcore-module-creator16moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

mobile-design

sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or native mobile apps.

149231

unity-developer

sickn33

Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance issues, game mechanics, or cross-platform builds.

142357

architect-review

sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

109320

angular

sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern patterns.

100129

frontend-slides

sickn33

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

95195

minecraft-bukkit-pro

sickn33

Master Minecraft server plugin development with Bukkit, Spigot, and Paper APIs. Specializes in event-driven architecture, command systems, world manipulation, player management, and performance optimization. Use PROACTIVELY for plugin architecture, gameplay mechanics, server-side features, or cross-version compatibility.

9078

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.

43151

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

316

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.

13

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

00

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

00

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.

328

Search skills

Search the agent skills registry