Using Dotnet
novotnyllc/dotnet-artisan
Detects .NET intent for any C, ASP.NET Core, EF Core, Blazor, MAUI, Uno Platform, WPF, WinUI, SignalR, gRPC, xUnit, NuGet, or MSBuild request from prompt keywords and repository signals (.sln…
A skill your agent uses when writing, reviewing, testing, or shipping C / .NET code — ASP.NET Core APIs (minimal APIs vs controllers), EF Core data access, async correctness, solution layout in…
$ npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ericrisco/rsc-harness csharp-dotnet --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/csharp-dotnet .claude/skills/csharp-dotnet && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "csharp-dotnet" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/csharp-dotnet into .claude/skills/csharp-dotnet/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "csharp-dotnet", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ericrisco/rsc-harness/tree/main/skills/csharp-dotnetType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ericrisco/rsc-harness csharp-dotnet --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/csharp-dotnet .agents/skills/csharp-dotnet && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "csharp-dotnet" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/csharp-dotnet into .agents/skills/csharp-dotnet/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "csharp-dotnet", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ericrisco/rsc-harness csharp-dotnet --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/csharp-dotnet .cursor/skills/csharp-dotnet && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "csharp-dotnet" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/csharp-dotnet into .cursor/skills/csharp-dotnet/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "csharp-dotnet", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ericrisco/rsc-harness.git --path skills/csharp-dotnet--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ericrisco/rsc-harness csharp-dotnet --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/csharp-dotnet .gemini/skills/csharp-dotnet && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "csharp-dotnet" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/csharp-dotnet into .gemini/skills/csharp-dotnet/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "csharp-dotnet", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ericrisco/rsc-harness csharp-dotnetInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/csharp-dotnet .github/skills/csharp-dotnet && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "csharp-dotnet" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/csharp-dotnet into .github/skills/csharp-dotnet/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "csharp-dotnet", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ericrisco/rsc-harness csharp-dotnet --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/csharp-dotnet .opencode/skills/csharp-dotnet && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "csharp-dotnet" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/csharp-dotnet into .opencode/skills/csharp-dotnet/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "csharp-dotnet", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
csharp-dotnetA skill your agent uses when writing, reviewing, testing, or shipping C / .NET code — ASP.NET Core APIs (minimal APIs vs controllers), EF Core data access, async correctness, solution layout in…
Csharp Dotnet is an agent skill from ericrisco/rsc-harness. Use when writing, reviewing, testing, or shipping C / .NET code — ASP.NET Core APIs (minimal APIs vs controllers), EF Core data access, async correctness, solution layout in .cs/.csproj/.sln. NOT a Java/Spring backend (that is spring-boot), NOT a Node/TypeScript backend (that is nestjs), NOT framework-neutral REST naming (that is api-design).
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `evals/README.md`, `evals/cases.yaml` and `references/aspnetcore.md`).
It sits in Backend & APIs, covering API design and Backend development. It works with .NET, C#, ASP.NET Core and NestJS. The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.
Read from SKILL.md and the folder at commit 92fde8f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
dotnetFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Csharp Dotnet loads about 3.3k tokens when it runs, and up to ~6.3k if it reads all its reference files. Until then it costs about 90 tokens; SKILL.md has 1,028 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from ericrisco/rsc-harness at commit 92fde8f, republished under its MIT licence (© ericrisco). 1,028 words, ~3,295 tokens.
.claude/skills/csharp-dotnet/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.You write and review C#, ASP.NET Core APIs, and EF Core data access. You own the .NET idioms, the HTTP-contract patterns as expressed in .NET, async correctness, and the .NET-specific quality/security gates. You delegate everything language- agnostic to the right sibling.
Target: .NET 10 (LTS, released 2025-11-11, supported 3 years) with C# 14, EF Core
10, ASP.NET Core 10. .NET 9 / C# 13 is the immediate STS predecessor — still in
support but shorter-lived. Features gate on the target framework moniker (TFM): a
net10.0 project gets C# 14 by default; a net9.0 project caps at C# 13. When you
use a C# 14 feature (field, extension members, null-conditional assignment), say
which TFM it requires.
| Situation | Route to |
|---|---|
| Java / Spring Boot backend | spring-boot |
| Node / NestJS TypeScript backend | nestjs |
| Language-agnostic threat modeling, OWASP authz/abuse review | ../secure-coding/SKILL.md |
| Raw Postgres schema/index/query tuning | ../postgresdb/SKILL.md |
| Framework-neutral REST resource taxonomy | api-design |
| Dockerfile / CI pipeline / deploy target | ../deployment/SKILL.md |
| Recording per-project conventions in the workspace wiki | ../harness/SKILL.md |
The .NET expression of an API contract and async correctness live HERE. Resource
naming theory lives in api-design; the JVM and Node counterparts are spring-boot
and nestjs.
dotnet new sln -n Shop # solution
dotnet new webapi -n Shop.Api # minimal API (default in .NET 10)
dotnet new webapi -n Shop.Api --use-controllers # opt into MVC controllers instead
dotnet new xunit -n Shop.Api.Tests # test project
dotnet sln add Shop.Api Shop.Api.Tests # wire into the solution
dotnet add Shop.Api package Npgsql.EntityFrameworkCore.PostgreSQL
dotnet ef migrations add Initial -p Shop.Api # create a migration
dotnet ef database update -p Shop.Api # apply migrations
dotnet build -warnaserror # compile; analyzers + NRT as errors
dotnet test # run tests
dotnet format # apply style; --verify-no-changes in CI
dotnet publish -c Release # produce deployable outputRecommended shape:
Shop.sln
Directory.Packages.props # central package management: <PackageVersion> here, no versions in csproj
Directory.Build.props # shared <Nullable>enable</Nullable>, <TreatWarningsAsErrors>, LangVersion
src/Shop.Api/ # endpoints grouped by feature module (Products/, Orders/)
src/Shop.Domain/ # entities, value objects (no EF/ASP.NET dependency)
tests/Shop.Api.Tests/Central package management: turn it on with <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
and list versions once in Directory.Packages.props. Why: one source of truth, no
version drift across projects.
NRT on for every project — <Nullable>enable</Nullable> in Directory.Build.props.
Why: the compiler turns whole classes of NullReferenceException into build-time
warnings. Never disable it to silence a warning — fix the nullability.
DTO as a record, not a class:
// Bad: mutable class, no value equality, hand-written boilerplate
public class ProductDto { public int Id { get; set; } public string Name { get; set; } }
// Good: immutable record DTO
public record ProductDto(int Id, string Name, decimal Price);Why: value equality, with expressions, no boilerplate — and never reuse an EF entity
as the wire DTO (see anti-patterns).
Pattern matching over if-chains:
// Bad
if (shape is Circle) { var c = (Circle)shape; return Math.PI * c.R * c.R; }
// Good
return shape switch
{
Circle c => Math.PI * c.R * c.R,
Rectangle r => r.W * r.H,
_ => throw new ArgumentOutOfRangeException(nameof(shape)),
};field keyword — field-backed property without a hand-written backing field
(requires C# 14 / net10.0):
// Bad: explicit backing field just to trim a string
private string _name = "";
public string Name { get => _name; set => _name = value.Trim(); }
// Good (C# 14)
public string Name { get; set => field = value.Trim(); }Primary constructors, required/init, collection expressions:
public class OrderService(IOrderRepository repo, ILogger<OrderService> log) // primary ctor: DI in one line
{
public required string Region { get; init; } // must be set at construction, then immutable
private static readonly int[] DefaultTiers = [1, 2, 3]; // collection expression
}Prefer NRT annotations over defensive null checks: declare string? note when null is
valid and let the compiler force callers to handle it, instead of if (x == null)
guards scattered everywhere.
Dispose deterministically: using / await using (or using declarations) for
anything IDisposable/IAsyncDisposable. Why: leaked connections and handles.
This is the highest-leverage area to get right. Core rules in body; the full catalog (ConfigureAwait, ValueTask, IAsyncEnumerable, Channels, parallelism, deadlock cases) is in references/async.md — read it before any non-trivial async review.
async void except top-level event handlers. Why: exceptions escape onto the
thread pool and crash the process; the caller cannot await or catch it. Use async Task..Result / .Wait() / GetAwaiter().GetResult() on the request path. This
is the classic deadlock and the answer to "my endpoint hangs under load":// Bad: blocks the thread on an async call -> thread-pool starvation / deadlock under load
public IActionResult Get() => Ok(_svc.LoadAsync().Result);
// Good: await all the way up
public async Task<IActionResult> Get(CancellationToken ct) => Ok(await _svc.LoadAsync(ct));CancellationToken from the endpoint down into every async call —
SaveChangesAsync, queries, outbound HTTP. Why: a dropped token means the request
keeps running after the client gives up.ValueTask only for hot paths that usually complete synchronously; default to
Task. Never await a ValueTask twice.IAsyncEnumerable<T> for streaming results instead of materializing a huge list.Decision: minimal API for new services; controllers only when you need MVC machinery (model binding conventions, action filters at scale, views). Both can coexist. Why minimal by default: less ceremony, first-class in .NET 10.
Production minimal API shape — route group + DataAnnotations validation (built in for minimal API parameters in .NET 10) + ProblemDetails + OpenAPI 3.1:
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddOpenApi(); // OpenAPI 3.1, JSON Schema 2020-12
builder.Services.AddProblemDetails(); // RFC 9457 error bodies
builder.Services.AddDbContext<ShopDb>(o => o.UseNpgsql(builder.Configuration.GetConnectionString("Shop")));
var app = builder.Build();
app.MapOpenApi(); // serves the OpenAPI document
app.UseExceptionHandler(); // emits ProblemDetails on unhandled errors
var products = app.MapGroup("/products").WithTags("Products");
products.MapGet("/{id:int}", async (int id, ShopDb db, CancellationToken ct) =>
await db.Products.AsNoTracking()
.Where(p => p.Id == id)
.Select(p => new ProductDto(p.Id, p.Name, p.Price)) // project to DTO, no entity leak
.FirstOrDefaultAsync(ct) is { } dto
? Results.Ok(dto)
: Results.NotFound());
products.MapPost("/", async (CreateProduct req, ShopDb db, CancellationToken ct) =>
{ // DataAnnotations on CreateProduct are validated automatically in .NET 10
var entity = new Product { Name = req.Name, Price = req.Price };
db.Products.Add(entity);
await db.SaveChangesAsync(ct);
return Results.Created($"/products/{entity.Id}", new ProductDto(entity.Id, entity.Name, entity.Price));
});
app.Run();DI lifetimes: Singleton (one for the app), Scoped (one per request — DbContext
lives here; it is not thread-safe, so sharing one across requests corrupts change
tracking), Transient (new each resolve). Never inject a Scoped service into a
Singleton (captive dependency — see anti-patterns). Middleware ordering, endpoint
filters, the options pattern, and auth defaults are in references/aspnetcore.md.
// Bad: tracking + N+1 — loads orders, then one query per order's customer
var orders = await db.Orders.ToListAsync(ct);
foreach (var o in orders) { var name = o.Customer.Name; /* lazy/round-trip per row */ }
// Good: no-tracking read + single query via projection
var rows = await db.Orders.AsNoTracking()
.Select(o => new OrderRow(o.Id, o.Customer.Name)) // EF translates to one JOIN
.ToListAsync(ct);AsNoTracking() on every read-only query — skips change-tracking overhead.Select) or Include/ThenInclude; use AsSplitQuery()
when an Include cartesian explosion hurts.dotnet ef migrations add <Name> then review the generated Up/Down
before database update. Never hand-edit applied migrations.json column type, vector type + VECTOR_DISTANCE()
for embeddings/RAG, LeftJoin/RightJoin LINQ operators, and named query filters
(multiple filters per entity, selectively disabled).Raw SQL only via parameterized FromSql/ExecuteSql interpolated strings (EF
parameterizes the holes). Query patterns, migration workflow, the EF Core 10 features,
and raw-SQL safety in full are in references/efcore.md. Schema/index tuning is
../postgresdb/SKILL.md.
Keep only the .NET-specific controls here; threat modeling and OWASP review go to
../secure-coding/SKILL.md.
FromSql / ADO.NET
SqlParameter. Never concatenate user input into SQL. Why: SQL injection.dotnet user-secrets in dev, Key Vault / environment in prod. Never in
appsettings.json or source.WebApplicationFactory<Program> — boots the real pipeline
in-memory and lets you HttpClient your endpoints.scripts/verify.sh (format + build-warnaserror + test + vuln scan).| Anti-pattern | Why it bites | Do instead |
|---|---|---|
async void (non-event-handler) | Exceptions crash the process; uncatchable by caller | async Task |
.Result / .Wait() on request path | Deadlock / thread-pool starvation under load | await all the way |
| Scoped service injected into a Singleton | Captive dependency: stale/DbContext reused across requests | Inject IServiceScopeFactory, or make the consumer scoped |
| Reusing an EF entity as the wire DTO | Over-posting, serialization cycles, leaked columns | Separate record DTO + mapping |
| Tracking queries on read-only reads | Wasted memory/CPU on change tracking | AsNoTracking() |
| Lazy navigation in a loop | N+1 round-trips | Projection or Include |
Missing CancellationToken | Work continues after client disconnects | Flow the token to all I/O |
catch (Exception) { } swallow | Hides failures; corrupt state continues | Handle specifically or let UseExceptionHandler map it |
<Nullable>disable</Nullable> to mute a warning | Re-opens the NRE class of bugs | Keep NRT on; fix the nullability |
Record per-project conventions (target TFM, package manager, lint rules, deploy
target) in the workspace wiki via ../harness/SKILL.md, not inline assumptions. Before
calling a C# change done, run scripts/verify.sh from the solution/project root.
© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (scripts, references) in skills/csharp-dotnet of ericrisco/rsc-harness.
Open the folder on GitHubat commit 92fde8f
Csharp Dotnet next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Csharp Dotnet this skillericrisco/rsc-harness | 156 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Using Dotnetnovotnyllc/dotnet-artisan | 233 | — | ~2.3k | Automated safety check: Warn | MIT | |
| C# and .NET DeveloperJeffallan/claude-skills | 12k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Dotnet ExpertLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.7k | Automated safety check: Pass | MIT | |
| Testcontainers Guide Migratordocker/docs | 4.7k | — | ~5k | Automated safety check: Pass | Apache-2.0 | |
| Spring Bootpiomin/claude-ai-spring-boot | 1.3k | — | ~2k | Automated safety check: Pass | Apache-2.0 |
novotnyllc/dotnet-artisan
Detects .NET intent for any C, ASP.NET Core, EF Core, Blazor, MAUI, Uno Platform, WPF, WinUI, SignalR, gRPC, xUnit, NuGet, or MSBuild request from prompt keywords and repository signals (.sln…
Jeffallan/claude-skills
Guides C# work on .NET 8+: ASP.NET Core APIs, Entity Framework Core data access, Blazor apps and CQRS with MediatR, following a five-step build workflow.
LeoYeAI/openclaw-master-skills
A skill your agent uses when building .NET 8/9 applications, ASP.NET Core APIs, Entity Framework Core, MediatR CQRS, modular monolith architecture, FluentValidation, Result pattern, JWT…
docker/docs
Migrate a Testcontainers guide from testcontainers.com into the Docker docs site (docs.docker.com).
piomin/claude-ai-spring-boot
Spring Boot 3.x development - REST APIs, JPA, Security, Testing, and Cloud-native patterns.
jdubois/dr-jskill
Creates Java + Spring Boot projects: Web applications, full-stack apps with Vue.js or Angular or React or vanilla JS, PostgreSQL, REST APIs, and Docker.
ericrisco/rsc-harness
A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…
ericrisco/rsc-harness
A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…
ericrisco/rsc-harness
A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…
ericrisco/rsc-harness
A skill your agent uses when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual…
ericrisco/rsc-harness
A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…
ericrisco/rsc-harness
A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.
Works with
Categories
A skill your agent uses when writing, reviewing, testing, or shipping C / .NET code — ASP.NET Core APIs (minimal APIs vs controllers), EF Core data access, async correctness, solution layout in…. Csharp Dotnet is an agent skill from ericrisco/rsc-harness.sln.
Csharp Dotnet fits situations like: shipping C / .NET code — ASP.NET Core APIs (minimal APIs vs controllers); EF Core data access; async correctness; solution layout in .cs/.csproj/.sln.
Run `npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a claude-code`. Or copy the skill folder (skills/csharp-dotnet in ericrisco/rsc-harness) into .claude/skills/csharp-dotnet in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a codex`. Or copy the skill folder (skills/csharp-dotnet in ericrisco/rsc-harness) into .agents/skills/csharp-dotnet in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill csharp-dotnet -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/csharp-dotnet, .gemini/skills/csharp-dotnet, .github/skills/csharp-dotnet and .opencode/skills/csharp-dotnet in your project.
Going by SKILL.md and its folder, Csharp Dotnet needs a shell for the scripts in its folder and the command-line tools its instructions call (dotnet). Our summary lists: A Bash shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Csharp Dotnet is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Csharp Dotnet: Using Dotnet (novotnyllc/dotnet-artisan, 233 stars), C# and .NET Developer (Jeffallan/claude-skills, 12k stars), Dotnet Expert (LeoYeAI/openclaw-master-skills, 2.2k stars) and Testcontainers Guide Migrator (docker/docs, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 156 GitHub stars. The repository holds 229 skills in this directory. The repository was last updated on October 6, 2026.
Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.