csharp-conventions
БесплатноБез исполняемых скриптовНе проверенC# code conventions covering .NET 8+/C# 12, nullable reference types, Roslyn analyzers, xUnit, record types, async/await discipline, and dependency security…
от Goldziher★ 182 звезды на GitHubОб этом скилле
- .NET 8+ C# 12, file-scoped namespaces, primary constructors,
<Nullable>enable</Nullable>. - Formatting:
dotnet format+ Roslyn analyzers,<TreatWarningsAsErrors>true</TreatWarningsAsErrors>. - Style enforcement:
.editorconfigfor consistent rules across team. Use an analyzer set (e.g., StyleCop.Analyzers or Roslynator). - Testing: xUnit with
[Theory]/[InlineData], an assertion library (e.g., FluentAssertions), a coverage tool (e.g., coverlet) at 80%+. - Benchmarking: a benchmark harness (e.g., BenchmarkDotNet) for performance testing — never
Stopwatchloops. recordtypes for immutable data,requiredproperties, pattern matching in switch expressions.- Async:
async/awaitthroughout — never.Resultor.Wait(),ValueTaskfor hot paths, avoid deadlocks. - Security:
dotnet list package --vulnerablefor CVE scanning. Zero tolerance for critical/high. - Dependencies: NuGet
PackageReference, commitpackages.lock.json,Directory.Build.propsfor shared config. - Collection expressions (
[1, 2, 3]),requiredmodifier, raw string literals for multi-line. - Anti-patterns:
dynamic,objectparams, unguardedcatch (Exception),#pragma warning disable.
Установить csharp-conventions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл csharp-conventions?
C# code conventions covering .NET 8+/C# 12, nullable reference types, Roslyn analyzers, xUnit, record types, async/await discipline, and dependency security. Load when writing or reviewing C# code.
Как установить скилл csharp-conventions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл csharp-conventions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic