sickn33/agentic-awesome-skills/csharp
Claude Code and agent skill by sickn33/agentic-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Language-specific super-code guidelines for csharp.
Install
npx vskill@latest install sickn33/agentic-awesome-skills/csharpSKILL.md
C#: Idiomatic Efficiency Reference
Apply only within the requested scope and current project conventions. Preserve behavior, ownership, error handling, accessibility and security; examples are independent fragments, not equivalent rewrites in every context. Verify language/library versions and run relevant checks. Required tests and user-facing progress/results take precedence over brevity rules. Do not install dependencies or delete files merely to follow these examples.
When to Use
- Use this skill when the task matches this description: Language-specific super-code guidelines for csharp.
Table of Contents
- LINQ & Collections
- Null Handling
- Async/Await
- Records & Pattern Matching
- Error Handling
- Resource Management
- Anti-patterns specific to C#
1. LINQ & Collections {#linq}
Prefer method syntax for chains of 2+ operations. Query syntax is fine for complex joins.
2. Null Handling {#nulls}
Enable nullable reference types (`<Nullable>enable</Nullable>`) project-wide.
3. Async/Await {#async}
Add `ConfigureAwait(false)` in library code. Omit in app/UI code.
4. Records & Pattern Matching {#records}
5. Error Handling {#errors}
6. Resource Management {#resources}
7. Anti-patterns specific to C# {#antipatterns}
| Anti-pattern | Preferred | |
|---|---|---|
string.Format("{0}", x) | $"{x}" string interpolation | |
List<T> as public API return | IReadOnlyList<T> or IEnumerable<T> | |
async void | async Task | |
.Result / .Wait() on Task | await | |
throw ex | throw (preserves stack trace) | |
Manual IEquatable on data types | record | |
object parameters | generics with constraints | |
DateTime.Now | DateTime.UtcNow or DateTimeOffset | |
| Mutable public fields | properties with { get; set; } or { get; init; } | |
catch (Exception) { } (swallow all) | catch specific exceptions, rethrow unknown | |
IDisposable without using | using declaration |
Limitations
- These are language-specific guidelines and do not cover overall architectural decisions.
- Over-compression might reduce readability; apply judgement.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/super-code/csharp/SKILL.md
Popularity
- Repository stars
- 47,054
- Repository forks
- 6,853
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/agentic-awesome-skills/csharp)