exec-csharp
Skill4 starsChanged 4 days agoMITView on GitHub
C#/.NET execution idioms to embed into Codex prompts when the target project is C# — nullable reference types, async correctness, and .NET conventions.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accounting-bookkeepingSkill
- agent-context-persistenceSkill
- asoSkill
- brainstorm-argumentationSkill
- brainstorm-debateSkill
- brainstorm-lensesSkill
- causal-inferenceSkill
- context-disciplineSkill
- creative-briefSkill
- customer-support-opsSkill
- data-quality-checksSkill
- design-fundamentalsSkill
- ecommerce-operationsSkill
- event-taxonomySkill
- exec-coding-standardsSkill
- exec-cppSkill
- exec-deliverableSkill
- exec-github-actionsSkill
- exec-goSkill
- exec-jvmSkill
- exec-phpSkill
- exec-pythonSkill
- exec-rubySkill
- exec-rustSkill
- exec-self-testingSkill
- exec-swiftSkill
- exec-typescriptSkill
- executor-fallbackSkill
- exec-visualizationSkill
- fast-pathSkill
- final-reviewSkill
- financial-auditSkill
- hr-recruitingSkill
- influencer-strategySkill
- interview-ask-backSkill
- interview-elicitationSkill
- jev-assistSkill
- json-data-wranglingSkill
- legal-contract-basicsSkill
- localization-copySkill
- manufacturing-ops-planningSkill
- marketing-attributionSkill
- media-planningSkill
- okr-planningSkill
- pack-game-analyticsSkill
- parallel-executionSkill
- performance-marketingSkill
- personal-financeSkill
- plan-architectureSkill
- plan-backlogSkill
- plan-research-firstSkill
- preflightSkill
- profile-contentSkill
- profile-designSkill
- profile-pilotSkill
- profile-planSkill
- real-estate-analysisSkill
- review-conformanceSkill
- review-dualSkill
- The first 60 shown.
The file
Files
C# / .NET Idioms (embed when project is C#)
C#/.NET standards:
- Nullable reference types: honor the project's <Nullable> setting; no ! null-forgiving to silence
warnings — narrow or guard instead. Validate args with ArgumentNullException.ThrowIfNull at boundaries.
- Async: async all the way — no .Result/.Wait()/.GetAwaiter().GetResult() (deadlock risk); pass and
honor CancellationToken through call chains; ConfigureAwait(false) in library code; return Task,
never async void except event handlers.
- Errors: throw specific exceptions with context; catch the narrowest type you can handle; never
swallow; use try/finally or using/await using for IDisposable/IAsyncDisposable resources.
- Immutability: prefer records and init-only setters for DTOs; expose IReadOnlyList/IReadOnlyDictionary,
not mutable collections; readonly fields where possible.
- Idioms: LINQ over manual loops when clearer; pattern matching and switch expressions; string
interpolation over concatenation; var when the type is obvious. Dispose enumerators/streams.
- DI & config: constructor injection via the built-in container; bind config with IOptions<T>; no
service-locator or static state for dependencies. Follow the project's layering.
- Follow .editorconfig / analyzers already configured; match namespace and folder structure.
- Tests: the repo's framework (xUnit/NUnit/MSTest) + assertion lib (FluentAssertions if present);
Arrange-Act-Assert; descriptive Method_Scenario_Expected names consistent with existing tests.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

