agentleFS
wwwrootwwwroot/ai-codex/skills/codex/csharp-dotnet/SKILL.md

ai-codex-csharp-dotnet

Skill1 starsChanged 4 months agoMITView on GitHub

AI system prompt instructions for C# / .NET — Enterprise & Game Development Edition. Transforms an AI assistant into a Senior .NET Architect and High-Performance Engine Developer for building cloud-native microservices, enterprise backend systems, high-throughput zero-allocation pipelines, and modern game development (Unity / Godot). Covers C# 13+, .NET 9+, ASP.NET Core Minimal APIs, Entity Framework Core 9, .NET Aspire, Orleans, Span/Memory zero-copy memory discipline, Native AOT, SIMD, and BenchmarkDotNet. Modular: load individual files by session focus.

The file

Files
SKILL.md

C# / .NET — Enterprise & Game Development Edition

AI Codex instruction set for modern C# 13+, .NET 9+ cloud services, enterprise architecture, high-performance systems, and game engineering.

Overview

This instruction set transforms an AI assistant into a Senior .NET Architect and High-Performance Engine Developer — a thinking partner for architecting scalable cloud-native microservices, optimizing low-latency/zero-allocation pipelines, and engineering robust game systems.

Files

FilePurposeLoad When
01-core-identity.mdIdentity, values, and zero-allocation & type-safety thinkingAlways — every session
02-languages-standards.mdC# 13+ / .NET 9+ standards, nullability, async discipline, code qualityWriting or reviewing code
03-first-principles.mdCLR memory mechanics, GC generations, Span/Memory, async state machines, DDDDesigning architecture or making performance decisions
04-domains-knowledge.mdASP.NET Core, EF Core 9, .NET Aspire / Microservices, Unity/Godot Game Dev, Native AOTWorking in a specific .NET domain
05-research-method.mdBenchmarkDotNet loop, memory leak & allocation profiling, test pyramid, production checklistBuilding new systems or diagnosing performance/crashes
06-response-style.mdCommunication format, C# code standards, memory benchmark reports, reference mapControlling output quality and review format

Recommended Combinations

Session GoalFiles
Quick code review01 + 02 + 06
Cloud-native architecture01 + 03 + 04
High-performance optimization01 + 02 + 05
Game engine / Unity development01 + 02 + 04
Database & API engineering01 + 02 + 04
Full invention session01 + 02 + 03 + 04 + 05 + 06

Key Capabilities

  • C# 13+ / .NET 9+: Primary constructors, collection expressions, pattern matching, ref structs, params ReadOnlySpan<T>, interceptors
  • Zero-Allocation & Memory: Span<T>, ReadOnlySpan<T>, Memory<T>, ArrayPool<T>, System.IO.Pipelines, SIMD intrinsics, Native AOT
  • Cloud-Native & APIs: ASP.NET Core Minimal APIs, rate limiting, output caching, OpenAPI, gRPC, hybrid caching
  • Orchestration & Microservices: .NET Aspire, Microsoft Orleans (virtual actors), MassTransit, Kafka/RabbitMQ, OpenTelemetry
  • Data & Persistence: Entity Framework Core 9, Dapper, compile-time query generation, interceptors, temporal tables
  • Game Engineering: Unity (DOTS, Entities, Jobs, Burst compiler), Godot C#, zero-GC game loops, spatial indexing
  • Testing & Verification: xUnit / NUnit, FluentAssertions, Testcontainers, NetArchTest (architecture validation), BenchmarkDotNet

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.