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
npx skills add rmyndharis/antigravity-skills --skill csharp-pro -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/csharp-pro/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/csharp-pro/
1Skills CLI (Vercel)
npx skills add rmyndharis/antigravity-skills --skill csharp-pro -a codex2Manually: put the files in place
.agents/skills/csharp-pro/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rmyndharis/antigravity-skills --skill csharp-pro -a cursor2Manually: put the files in place
.cursor/skills/csharp-pro/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rmyndharis/antigravity-skills skills/csharp-pro2Manually: put the files in place
.github/skills/csharp-pro/SKILL.md1Skills CLI (Vercel)
npx skills add rmyndharis/antigravity-skills --skill csharp-pro -a gemini-cli2Platform CLI
gemini skills install https://github.com/rmyndharis/antigravity-skills --path skills/csharp-proManually: put the files in place
.devin/skills/csharp-pro/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rmyndharis/antigravity-skills --skill csharp-pro -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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