npx skills add sickn33/agentic-awesome-skills --skill csharp --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# C#: Idiomatic Efficiency Reference ## When to Use - Use this skill when the task matches this description: Language-specific super-code guidelines for csharp. ## Table of Contents 1. [LINQ & Collections](#linq) 2. [Null Handling](#nulls) 3. [Async/Await](#async) 4. [Records & Pattern Matching](#records) 5. [Error Handling](#errors) 6. [Resource Management](#resources) 7. [Anti-patterns specific to C#](#antipatterns) --- ## 1. LINQ & Collections {#linq} ```csharp // ❌ Imperative accumulation var result = new List<string>(); foreach (var item in items) { if (item.IsActive) result.Add(item.Name.ToUpper()); } // ✅ var result = items .Where(i => i.IsActive) .Select(i => i.Name.ToUpper()) .ToList(); ``` ```csharp // ❌ Manual grouping var grouped = new Dictionary<string, List<Item>>(); foreach (var item in items) { if (!grouped.ContainsKey(item.Category)) grouped[item.Category] = new List<Item>(); grouped[item.Category].Add(item); } // ✅ var grouped = items.GroupBy(i => i.Category) .ToDictionary(g => g.Key, g => g.ToList()); ``` ```csharp // ❌ Checking Any() then First() if (items.Any(i => i.IsValid)) { var first = items.First(i => i.IsValid); } // ✅ var first = items.FirstOrDefault(i =
- When to Use
- Table of Contents
- 1. LINQ & Collections {#linq}
- 2. Null Handling {#nulls}
- 3. Async/Await {#async}
- 4. Records & Pattern Matching {#records}
- 5. Error Handling {#errors}
- 6. Resource Management {#resources}
- 7. Anti-patterns specific to C# {#antipatterns}
- Limitations
What does the csharp skill do?
Language-specific super-code guidelines for csharp.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill csharp --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.