Borrowing it
Nothing to install: this file belongs to Dynokostya/just-works. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Dynokostya/just-works/main/.claude/skills/csharp-coding/SKILL.mdgit clone --depth 1 https://github.com/Dynokostya/just-worksWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dynokostya/just-works/csharp-coding)<a href="https://agentmods.dev/skills/dynokostya/just-works/csharp-coding"><img src="https://agentmods.dev/badge/skills/dynokostya/just-works/csharp-coding/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dynokostya/just-works/csharp-coding"><img src="https://agentmods.dev/badge/skills/dynokostya/just-works/csharp-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.01249 |
| Opus 5.5 | $0.00019 | $0.00500 |
| Sonnet 5.5 | $0.00009 | $0.00250 |
| Haiku 4.5 | $0.00005 | $0.00125 |
Grade A, and why
csharp-coding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
C# Coding
Project conventions override these defaults. Read 2-3 nearby files first, and check the project's own target in the .csproj: TargetFramework, LangVersion, nullable setting, analyzer config. Use only language and library features that target supports (C# 13 needs .NET 9, C# 14 needs .NET 10).
Never rules
- Never write an empty
catch, or acatch (Exception)that neither rethrows nor logs. Catch specific types; at a boundary, log and rethrow or convert to a meaningful error. - Never
throw ex. It resets the stack trace. Usethrow;, or wrap with an inner exception:throw new XException("msg", ex). - Never use
DateTime.Nowfor stored or compared timestamps. It is server-local time and breaks across time zones and DST. Take time from an injectedTimeProvider(.NET 8+) so tests can control it; otherwise useDateTimeOffset.UtcNoworDateTime.UtcNow. Local time is for display only. - Never
async voidexcept event handlers. It cannot be awaited and its exceptions crash the process. - Never block on a task with
.Result,.Wait(), or.GetAwaiter().GetResult(). It deadlocks in UI and ASP.NET Core contexts. Useawait. If a synchronous caller truly cannot be made async,Task.Run(() => MethodAsync()).GetAwaiter().GetResult()avoids the deadlock (the work runs on a thread-pool thread with noSynchronizationContext); add a comment saying why. - Never use
Randomfor tokens, keys, or session IDs. UseRandomNumberGenerator.GetBytes()/GetInt32(). - Never concatenate or interpolate values into SQL. Use parameters (
SqlCommand.Parametersor the ORM's parameterization). - Avoid mutable
staticfields that hold request or user state; they are shared across threads. Use DI,IOptions<T>, or a thread-safe type (ConcurrentDictionary,Lock-guarded state). Constants,static readonlyvalues, and lazily built immutable caches are fine.
Resource cleanup
Use using / await using declarations for IDisposable and IAsyncDisposable objects you create. HttpClient is the exception: do not create and dispose one per call (it exhausts ports). Create clients through IHttpClientFactory, or share a long-lived instance with PooledConnectionLifetime set. Implement IDisposable only when the class owns unmanaged resources or other disposables.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed · -237 lines · -7 tokens per session 5e058c52f6d8
- 2mo ago First seen · 315 lines · 54 tokens per session scan A aee3baa57fc8
csharp-coding is a skill published in the GitHub repository Dynokostya/just-works (14 stars, last pushed 10d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,249 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
csharp-coding compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| csharp-codingDynokostya/just-works | Skill | 14 | 10d ago | Apache-2.0 | A | 47 | Claude Code |
| build-and-testmicrosoft/agent-framework | Skill | 15k | yesterday | MIT | A | 26 | Claude Code, Codex |
| agui-dotnet-streaming-chatag-ui-protocol/ag-ui | Skill | 17k | yesterday | MIT | A | 223 | Claude Code |
| azure-mgmt-apicenter-dotnetmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 97 | Claude Code |
| migrate-xunit-to-xunit-v3dotnet/skills | Skill | 5.8k | yesterday | MIT | A | 149 | Claude Code |
| migrate-dotnet8-to-dotnet9dotnet/skills | Skill | 5.8k | yesterday | MIT | A | 176 | Claude Code |
| template-instantiationdotnet/skills | Skill | 5.8k | yesterday | MIT | A | 168 | Claude Code |