# csharp-pro

Get guidance on modern C# and .NET work, from async code to unit tests. Use it when building or checking an application.

- skill · `type=skill` · Claude Code · 205 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/csharp-pro
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/csharp-pro

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

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/csharp-pro
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill csharp-pro -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/csharp-pro/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/csharp-pro/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/csharp-pro/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/csharp-pro/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates csharp-pro
```

2. **Manually: put the files in place**
- File: `.github/skills/csharp-pro/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/csharp-pro
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/csharp-pro/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/csharp-pro

## When to use it
- 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
- 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.

## Similar
- [migrate-to-shoehorn](https://affpapa.org/en/nevibecode/skills/migrate-to-shoehorn.md) — skill · 475388 installs
- [write-swift](https://affpapa.org/en/nevibecode/skills/write-swift.md) — skill · 119300 installs
- [megacave](https://affpapa.org/en/nevibecode/skills/megacave.md) — skill · 25400 installs
- [find-docs](https://affpapa.org/en/nevibecode/skills/find-docs.md) — skill · 9400 installs
- [typescript-advanced-types](https://affpapa.org/en/nevibecode/skills/typescript-advanced-types.md) — skill · 92169 installs
- [smart-explore](https://affpapa.org/en/nevibecode/skills/smart-explore.md) — skill · 7300 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 495 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
