csharp-pro — Claude Code skill: features and installation
Get guidance on modern C# and .NET work, from async code to unit tests. Use it when building or checking an application.
npx claude-code-templates@latest --skill development/csharp-proWhat csharp-pro does
This skill guides Claude Code through modern C# tasks, including records, pattern matching, nullable reference types, async code, and SOLID principles. Its scope also covers ASP.NET Core, Entity Framework, and Blazor. For expanded examples, open resources/implementation-playbook.md.
For testing work, it can guide unit tests with xUnit or NUnit and mocking with Moq or FluentAssertions. Other possible outputs include NuGet setup, EditorConfig and analyzer configuration, plus BenchmarkDotNet performance tests. The guidance is scoped to C# and .NET tasks, so it does not serve as a general guide for other stacks.
What it helps with
- use modern C# features in existing code
- review async methods for blocking behavior
- shape an application around SOLID principles
- write mocked unit tests
- set up performance benchmarks for .NET code
Example prompts for the agent
- Refactor this code with modern C# features, including records and nullable reference types.
- Review this async method for blocking calls and improve its exception handling.
- Add unit tests for this service using Moq and xUnit.
How to install csharp-pro
1claude-code-templates
npx claude-code-templates@latest --skill development/csharp-pro2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill csharp-pro -a claude-code3Manually: put the files in place
~/.claude/skills/csharp-pro/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/csharp-pro/
Manually: put the files in place
.agents/skills/csharp-pro/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/csharp-pro/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates csharp-pro2Manually: put the files in place
.github/skills/csharp-pro/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/csharp-proManually: put the files in place
.devin/skills/csharp-pro/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.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 do I install csharp-pro in Claude Code?
Run npx claude-code-templates@latest --skill development/csharp-pro.
What does csharp-pro do?
It guides C# and .NET development, covering async methods, architectural choices, and unit tests.
Which testing tools does it cover?
Its guidance includes xUnit and NUnit for tests, with Moq and FluentAssertions for mocking and assertions.