
aaronontheweb/dotnet-skills
3 skills3.6k installs3k starsGitHub
Install
npx skills add https://github.com/aaronontheweb/dotnet-skillsSkills in this repo
1Modern Csharp Coding StandardsModern C# Coding Standards is an agent skill from the dotnet-skills pack that encodes opinionated .NET guidance for indie builders shipping APIs and backends. It argues against reflection-heavy mapping libraries that compile cleanly but produce wrong data at runtime, and it documents banned tools alongside concrete patterns such as explicit record-to-DTO mapping methods. The skill also addresses reflection avoidance, .NET 8 UnsafeAccessorAttribute, and common C# anti-patterns called out in the SKILL body. Use it whenever your agent is generating or refactoring C# so reviews catch mapper drift before deploy. It pairs naturally with code review and quality passes in Ship, not only active feature work in Build.1.4kinstalls2Efcore Patternsefcore-patterns is an agent skill that encodes Entity Framework Core best practices for solo and indie builders shipping .NET APIs and services. It walks through configuring read-heavy workloads with NoTracking by default, opting into tracking only when you intend to persist changes, and using query splitting when eager-loading several related collections. The skill stresses operational safety around schema changes: generate and apply migrations through EF tooling, avoid editing generated migration code by hand, and isolate migration execution in a dedicated host rather than blocking application boot. It also covers retry-friendly database access via execution strategies and how to mark entities for update when queries are untracked. Reach for it when starting a new DbContext, debugging change-tracking surprises, integrating with .NET Aspire, or tuning LINQ that fans out across navigations. The patterns favor predictable production behavior over ORM defaults that silently track every read.1.1kinstalls3Csharp Concurrency Patternscsharp-concurrency-patterns is a reference agent skill for solo and indie builders shipping .NET backends who have outgrown basic async/await but are not ready to guess at stream backpressure or actor boundaries. It organizes four advanced areas—Akka.NET Streams for batching, debouncing, throttling, and ordered parallel maps; Reactive Extensions for composing UI and event streams; Akka.NET actors for stateful concurrency; and async local function patterns that keep control flow readable. Each section states when to reach for that tool (for example backpressure and complex transformations versus simpler Task-based code) and includes concrete C# snippets such as grouped-within windows, throttle rates, and fixed parallelism via SelectAsync. Use it while implementing ingestion pipelines, rate-limited APIs, or desktop apps with reactive UIs. It does not replace foundational async tutorials; it accelerates choosing the right .NET concurrency primitive and structuring pipelines you can test and maintain in a small team codebase.1.1kinstalls