agent-instructions
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what…
Use when building on .NET 8+ with C# 12. Covers nullable reference types, records, async/await correctness, minimal APIs, dependency injection, and EF Core query performance. Trigger on "async deadlock in my asp.net app", "turn on nullable reference types", "ef core is doing n+1
Claude Code
$ npx -y skills add nimadorostkar/Claude-Skills-collection --skill csharp-dotnet --agent claude-code
Codex
$ npx skills add nimadorostkar/Claude-Skills-collection --skill csharp-dotnet -a codex -y
Cursor
$ npx skills add nimadorostkar/Claude-Skills-collection --skill csharp-dotnet -a cursor -y
Gemini CLI
$ npx skills add nimadorostkar/Claude-Skills-collection --skill csharp-dotnet -a gemini-cli -y
GitHub Copilot
$ npx skills add nimadorostkar/Claude-Skills-collection --skill csharp-dotnet -a github-copilot -y
OpenCode
$ npx skills add nimadorostkar/Claude-Skills-collection --skill csharp-dotnet -a opencode -y
Windsurf
$ npx skills add nimadorostkar/Claude-Skills-collection --skill csharp-dotnet -a windsurf -y
name: csharp-dotnet description: Use when building on .NET 8+ with C# 12. Covers nullable reference types, records, async/await correctness, minimal APIs, dependency injection, and EF Core query performance. Trigger on "async deadlock in my asp.net app", "turn on nullable reference types", "ef core is doing n+1 queries", "set up a minimal api in .net 8". Do not use for tuning the database itself — see the database-performance skill. metadata: category: languages version: 1.0.0 tags: [csharp, dotnet, async, efcore, minimal-api]
Build .NET applications that are null-safe by contract, correctly asynchronous end to end, and free of the ORM traps that quietly turn one query into a thousand.
1. **Enable the gates** — Nullable reference types and warnings-as-errors, project-wide. 2. **Model** — Records for immutable values; `required` members instead of constructor sprawl. 3. **Thread cancellation** — Every async method takes a `CancellationToken` and passes it down. 4. **Shape the queries** — Project to DTOs; never materialize entities you will not mutate. 5. **Gate** — Build with warnings as errors, run analyzers, run the test suite.
**Minimal API endpoint with cancellation and projection:**
app.MapGet("/orders/{id:guid}", async (
Guid id,
AppDbContext db,
CancellationToken ct) =>
{
var order = await db.Orders
.AsNoTracking()
.Where(o => o.Id == id)
.Select(o => new OrderSummary(
o.Id,
o.Customer.Name,
o.Lines.Count,
o.Lines.Sum(l => l.Price * l.Quantity)))
.SingleOrDefaultAsync(ct);
return order is null
? Results.Problem(statusCode: 404, title: "Order not found")
: Results.Ok(order);
});A curated library of 137 production-grade skills for Claude and other AI coding agents. Every skill follows one structure, speaks with one voice, and earns its place by changing what the agent does.
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what…
Use when an agent needs state that survives a session or a context compaction. Covers what to persist, file-based memory,…
Use when automating agent behavior with lifecycle hooks. Covers hook events, deterministic enforcement of rules the model should…
Use when packaging skills, commands, hooks, and MCP servers into a distributable plugin. Covers manifest structure, bundling,…
Use when writing a new skill for an AI agent. Covers scoping, description writing for reliable triggering, progressive…
Use when reviewing or improving an existing agent skill. Covers triggering accuracy, content quality, redundancy with the base…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.