

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456# C# / .NET Instructions78> Auto-loads when editing C# files. For comprehensive standards, load the skill.910**Skill**: [.github/skills/languages/csharp/SKILL.md](../skills/languages/csharp/SKILL.md)1112## Key Rules1314- Use file-scoped namespaces15- Use primary constructors where appropriate (.NET 8+)16- Prefer `record` for DTOs and immutable types17- Enable nullable reference types (`<Nullable>enable</Nullable>`)18- PascalCase for classes/methods/properties, _camelCase for private fields19- Always use `Async` suffix for async methods20- Use `ConfigureAwait(false)` in library code21- Never use `.Result` or `.Wait()` -- always await22- Catch specific exceptions, re-throw with `throw;`23- xUnit for tests, Arrange-Act-Assert pattern24- Name tests: `MethodName_Scenario_ExpectedResult`2526## Critical Rules (Embedded -- Always Active)2728### Security29- Validate/sanitize ALL inputs at controller/endpoint boundaries30- Use EF Core parameterized queries or Dapper `@param` syntax -- NEVER string concatenation31- Secrets via `IConfiguration` + Azure Key Vault -- NEVER hardcode32- Use `[Authorize]` attribute on all non-public endpoints3334### Testing35- 80%+ code coverage required36- Pyramid: 70% unit (`xUnit`), 20% integration (`WebApplicationFactory`), 10% e2e37- AAA pattern (Arrange-Act-Assert) in every test38- Use `Verify` or `FluentAssertions` for readable assertions3940### Error Handling41- Catch specific exceptions (`InvalidOperationException`, `ArgumentNullException`, etc.)42- Re-throw with `throw;` (not `throw ex;`) to preserve stack trace43- Use `ILogger<T>` with structured logging and correlation IDs44- Implement `IAsyncDisposable` for async resource cleanup4546
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| jnPiyush/AgentX.cursor/rules/000-agentx-core.mdc · 14 | Cursor rules | styleapido-notagent-behaviour | 55/100 | 14 days ago | |
| jnPiyush/AgentX.cursor/rules/ai.mdc · 14 | Cursor rules | no sections | 16/100 | 14 days ago | |
| jnPiyush/AgentX.cursor/rules/csharp.mdc · 14 | Cursor rules | no sections | 16/100 | 14 days ago | |
| jnPiyush/AgentX.cursor/rules/python.mdc · 14 | Cursor rules | testlint-format | 32/100 | 14 days ago | |
| jnPiyush/AgentX.cursor/rules/react.mdc · 14 | Cursor rules | no sections | 16/100 | 14 days ago | |
| jnPiyush/AgentX.github/copilot-instructions.md · 14 | Copilot instructions | stylegitdo-notagent-behaviour | 67/100 | 14 days ago | |
| jnPiyush/AgentX.github/instructions/ai.instructions.md · 14 | Copilot instructions | testing-strategydo-notagent-behaviour | 50/100 | 14 days ago | |
| jnPiyush/AgentX.github/instructions/memory.instructions.md · 14 | Copilot instructions | lint-formatperformance | 54/100 | 14 days ago | |
| jnPiyush/AgentX.github/instructions/python.instructions.md · 14 | Copilot instructions | testlint-formatsecuritydo-not+1 | 67/100 | 14 days ago | |
| jnPiyush/AgentX.github/instructions/react.instructions.md · 14 | Copilot instructions | testtypessecuritydo-not+1 | 63/100 | 14 days ago | |
| jnPiyush/AgentX.github/instructions/typescript.instructions.md · 14 | Copilot instructions | setuptestlint-formatstyle+5 | 92/100 | 14 days ago | |
| jnPiyush/AgentXAGENTS.md · 14 | AGENTS.md | lint-formatstylegitsecurity+2 | 69/100 | 14 days ago | |
| jnPiyush/AgentXCLAUDE.md · 14 | CLAUDE.md | lint-formatstylegitsecurity+2 | 81/100 | 14 days ago | |
| jnPiyush/AgentXvscode-extension/.github/AGENTS.md · 14 | AGENTS.md | lint-formatstylegitsecurity+2 | 69/100 | 14 days ago | |
| jnPiyush/AgentX.cursor/rules/typescript.mdc · 14 | Cursor rules | types | 16/100 | 14 days ago | |
| jnPiyush/AgentX.github/instructions/project-conventions.instructions.md · 14 | Copilot instructions | styledo-not | 50/100 | 11 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| louislam/uptime-kuma.github/copilot-instructions.md · 90k | Copilot instructions | setupbuildtestlint-format+9 | 100/100 | 14 days ago | |
| chihebnabil/lovable-boilerplate.github/instructions/global.instructions.md · 65 | Copilot instructions | buildlint-formatstylearch+4 | 100/100 | 14 days ago | |
| HerringtonDarkholme/megarepo.github/copilot-instructions.md · 17 | Copilot instructions | setupbuildtestlint-format+7 | 100/100 | 14 days ago | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 32k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 7 days ago | |
| bagisto/bagisto.github/copilot-instructions.md · 28k | Copilot instructions | setupbuildteststyle+5 | 97/100 | 14 days ago | |
| darkmatter/nixmac.github/copilot-instructions.md · 25 | Copilot instructions | setupbuildtestlint-format+8 | 96/100 | 14 days ago | |
| nerolis-lab/nerolis-lab.github/copilot-instructions.md · 32 | Copilot instructions | setupbuildtestlint-format+11 | 96/100 | 14 days ago | |
| thangaram611/second-brain.github/copilot-instructions.md · 0 | Copilot instructions | setupteststylearch+4 | 96/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/jnpiyush-agentx-github-instructions-csharp-instructions)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.