Skip to main content
skill CX Codex

csharp-pro — Claude Code skill: what it does, how to install

csharp-pro — a skill for Claude Code, Codex, and Cursor. Guides the AI agent in modern C# development, architecture design, and .NET runtime performance tuning.

MIT 136 installs ★ 2,070 updated 2026-11-07

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add rmyndharis/antigravity-skills --skill csharp-pro -a claude-code
Open on GitHub

What csharp-pro does

Runs across Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. It steers the assistant toward modern syntax, prioritizing records, pattern matching, nullable reference types, and non-blocking asynchronous flows with Task Parallel Library.

Covered frameworks include ASP.NET Core, Entity Framework, and Blazor. Testing practices rely on xUnit or NUnit combined with Moq and FluentAssertions, while performance evaluation uses BenchmarkDotNet.

Every generated implementation expects XML documentation comments and standard EditorConfig formatting rules.

What it helps with

  • refactor legacy C# routines into modern syntax using pattern matching and records
  • cut allocations using Span, Memory, and stack-allocated value types
  • configure performance microbenchmarks with BenchmarkDotNet
  • write test suites with Moq mocks and FluentAssertions

Example prompts for the agent

  • Refactor this data model to C# positional records and pattern matching expressions
  • Benchmark this string parsing algorithm using BenchmarkDotNet
  • Add xUnit tests using Moq and FluentAssertions for the payment processor

How to install csharp-pro

1Skills CLI (Vercel)

npx skills add rmyndharis/antigravity-skills --skill csharp-pro -a claude-code

2Manually: put the files in place

~/.claude/skills/csharp-pro/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/csharp-pro/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about csharp-pro

How to install csharp-pro in Claude Code?

Run npx skills add rmyndharis/antigravity-skills --skill csharp-pro -a claude-code in your terminal. The file is placed at ~/.claude/skills/csharp-pro/SKILL.md.

What does csharp-pro do?

It configures coding standards for modern C# and .NET, covering SOLID architecture, async handling, testing, and memory optimization.

Which test libraries does the skill include?

The instructions target xUnit and NUnit along with Moq and FluentAssertions.

Source text

SKILL.md · MIT
---
name: csharp-pro
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 for C#
  refactoring, performance optimization, or complex .NET solutions.
metadata:
  model: inherit
---

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

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.

© rmyndharis · MIT · rmyndharis/antigravity-skills

Similar skills

All skills for Programming languages →

From the same set17

The whole set →
bash-pro The bash-pro Claude Code skill guides Bash scripting for automation, CI/CD, and system tasks. It helps structure argument handling, error recovery, and script checks. CX Codex +1 123installs quant-analyst quant-analyst — a skill for Claude Code and Codex designed for financial modeling and backtesting. Handles portfolio optimization, risk metrics, and time series analysis. CX Codex +1 123installs unity-developer unity-developer — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode that brings Unity 6 LTS expertise into the agent context: rendering pipelines, C# performance patterns, and cross-platform builds. CX Codex +1 3,000installs dotnet-architect dotnet-architect — a skill for Claude Code, Codex, Cursor, GitHub Copilot, and Gemini CLI that gives the agent the role of a senior .NET backend architect: C#, ASP.NET Core, Entity Framework, Dapper, and enterprise patterns. CX Codex +1 353installs java-pro The java-pro skill for Claude Code supports Java 21+ work, Spring Boot 3.x design, and JVM performance tasks. Ask for implementation steps, architecture choices, or code checks. CX Codex +1 237installs agent-orchestration-improve-agent The agent-orchestration-improve-agent Claude Code skill helps improve existing AI agents. It examines failures, refines prompts, and tests changes against representative cases. CX Codex +1 141installs minecraft-bukkit-pro The minecraft-bukkit-pro skill for Claude Code supports Minecraft plugin work with Bukkit, Spigot, and Paper. It covers event logic, commands, world changes, and server performance. CX Codex +1 131installs ios-developer ios-developer — a skill for Claude Code guides the assistant through native iOS app development. Activates when designing architectures, building UI screens, or configuring deployment workflows. CX Codex +1 114installs

Project sponsors

Companies that keep this analytics open