Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
How it works
Ask it something hard.
📎 ai-skill-for-c-sharp.txtLOADED ✓
Review this EF Core repository and fix the N+1 queries and the async void methods, then write xUnit tests for it.
CLAUDE · WITH THIS SKILLYou get: a numbered review of the pasted repository ordered by impact (lazy-loaded navigation in a loop causing N+1, async void swallowing exceptions, DbContext resolved as Singleton) -> the repository rewritten with Include and Select projections, AsNoTracking on read paths, Task-returning methods with CancellationToken -> the corrected DI registration with a Scoped lifetime -> xUnit tests using the EF Core SQLite in-memory provider, FluentAssertions and a Theory with InlineData -> a note that .NET 8 with nullable enabled is assumed and the single next command: dotnet build then dotnet test.
Questions before you buy? A person answers, usually the same day: hello@kissmyskills.com
// the file itself
Read it before you buy it.
The first lines of the file your AI will read, exactly as delivered. Nothing rewritten for the page.
Use the name Once the file is loaded, talk to it by name: “Serge, check this page.” That is what the name is for. It also keeps several skills apart in one chat.
// the skill your AI runs on
You are a senior C# developer acting as the user's pair programmer, fluent in async, LINQ, nullable reference types, the dotnet CLI, ASP.NET Core and EF Core. You have been activated to write, review and debug C#.
KissMySkills.com | Install: paste this whole file into Claude Projects (Project instructions), a custom GPT (Instructions), a Gemini Gem, or your AI's system prompt. Then just ask questions the way you normally would. You are a senior C# developer acting as the user's pair programmer. You know modern C# and .NET: the language, the BCL, async, LINQ, the dotnet CLI, and how C# is used in ASP.NET Core, EF Core, console tools, Blazor, MAUI and Unity. You optimise for code that is correct under nullable reference types, readable, testable, and idiomatic for the .NET version in use. You are a helper inside the language, not a job-role persona: you write, review, explain and debug C# alongside the user. Tone: direct, practical, code first, one-line reason when a choice matters. · Language features: LINQ, async/await, pattern matching (is, switch expressions, property, positional and list patterns), records, init and required members, file-scoped namespaces, global usings, primary constructors, collection expressions, raw string literals. · Nullable reference types: ? annotations, ! (avoid), [NotNullWhen], ArgumentNullException.ThrowIfNull. · Types: class versus struct versus record, Span<T>, IEnumerable<T> versus IReadOnlyList<T>, immutable collections. · Async: Task and ValueTask, async void only for event handlers, CancellationToken everywhere, IAsyncEnumerable<T>, Task.WhenAll, SemaphoreSlim, Channel<T>, deadlocks from .Result and .Wait(). · LINQ: deferred execution, FirstOrDefault versus Single, multiple enumeration pitfalls, IQueryable translation limits in EF Core. · Tooling: dotnet new|build|run|test|add package|format|publish, .csproj properties (TargetFramework, LangVersion, Nullable, TreatWarningsAsErrors), Directory.Build.props, .editorconfig analyzers. · Testing: xUnit, NUnit, FluentAssertions, Moq, NSubstitute, WebApplicationFactory. · Ecosystem: ASP.NET Core minimal APIs and controllers, DI lifetimes (Singleton, Scoped, Transient), IOptions<T>, ILogger<T>, middleware; EF Core (DbContext, migrations, AsNoTracking, Include, N+1); System.Text.Json; HttpClientFactory; Unity has its own runtime constraints, so ask. · Gotchas: struct copies, StringComparison.Ordinal, decimal for money, HttpClient per request. · Ask for the .NET and C# version (dotnet --version, <TargetFramework>, <LangVersion>) when the answer depends on newer syntax. · Ask what the app is: ASP.NET Core, console, Blazor, MAUI, library, Unity. · Ask for the full compiler error or exception with stack trace and surrounding code when debugging.
74 lines · .txt · instant download
// what's inside
What's inside this skill
Modern C# with records, pattern matching and nullable reference types
Async fixes: .Result deadlocks, async void, cancellation and Channel
LINQ and EF Core queries that translate to SQL, with projections
xUnit tests, csproj, analyzers and dotnet CI steps ready to paste
Backend, ASP.NET Core, Blazor, MAUI and Unity developers who write C# every day and want a reviewer on every change.
// two ways to get it
Use it inside your AI, or download it once.
Library plan
This skill and 2,500+ others, inside your chat
$9/mocancel anytime, or $59 a year
All 2,500+ skills, prompt packs and agents, loaded the moment you ask
Nothing to download or paste: connect once in Claude, ChatGPT, Claude Code or Cursor
New skills every week and 10 catalog files a month to download
Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
// ask your assistant
Or let your AI set up this skill for you.
Go to kissmyskills.com/pages/connector and set up the "AI Skill for C#" skill (handle: ai-skill-for-c-sharp) for me
Paste it into Claude, ChatGPT, Claude Code, Cursor or Codex. Your AI walks you through connecting KissMySkills (about 3 minutes, 7-day free trial) and loads the skill. What your AI will read →
What you're actually buying
This Claude/ChatGPT skill gives you a C# AI pair programmer for daily .NET work: it writes services and models with records, required members and nullable annotations, fixes async problems such as .Result deadlocks and missing CancellationTokens, writes LINQ and EF Core queries that actually translate to SQL, produces xUnit tests with FluentAssertions and NSubstitute, and sets up .csproj, Directory.Build.props and .editorconfig analyzers.
It knows pattern matching, records, collection expressions, primary constructors, Span and Memory, Task and ValueTask, Channel and BackgroundService, dependency injection lifetimes, ASP.NET Core minimal APIs, EF Core migrations, System.Text.Json and the dotnet CLI, plus the classic C# gotchas around structs, closures, DateTime and decimal. It does not build or run your solution; it writes and reviews, and you confirm with dotnet build and dotnet test.
Works the same way in Claude, ChatGPT and Gemini. One purchase, download the file, install in under 2 minutes, then paste your C# or the CS error you are stuck on. Pairs with Vesna, .NET Developer, the persona skill; this one is the helper inside C#.
// how to install
Under 2 minutes
Four steps. Any AI chat.
01
Download the file
After checkout, the download link lands in your inbox. Save the .txt file anywhere on your device.
02
Open your AI chat
Any AI chat you already use: Claude, ChatGPT, Gemini, Grok, Copilot or another.
03
Paste the prompt
Open the .txt file, copy the prompt section and paste it into Claude or ChatGPT - or add it to a Project so it is always there.
04
Start working
Your AI is now configured as a specialist. Ask it anything inside its domain.
No technical knowledge required.
With Library there is nothing to download. Connect your AI once, then ask for any skill by name.
It makes Claude or ChatGPT act as a C# AI pair programmer inside your daily .NET work. It writes idiomatic C# classes, services and records, fixes compiler errors and exceptions, untangles async and concurrency problems, writes LINQ and EF Core queries, sets up projects and CI with the dotnet CLI, writes xUnit tests, and reviews your C# code with fixes ordered by impact.
Does it build or run my C# project for me?+
No. The skill does not execute dotnet build, dotnet test or dotnet ef commands. It writes and reviews the C# code, tells you exactly which command to run next, and marks any assumption about your .NET version, C# language version or nullable settings so you can confirm locally.
Which .NET and C# versions does it cover?+
It covers modern C# from LINQ and async through records, pattern matching, required members, primary constructors and collection expressions, and it asks for your TargetFramework and LangVersion before relying on a newer feature. It will not invent C# APIs, NuGet packages or MSBuild properties.
Does it help with ASP.NET Core, EF Core and Unity C#?+
Yes for ASP.NET Core and EF Core: minimal APIs, controllers, DI lifetimes, middleware, DbContext, migrations and query translation are core scenarios. For Unity it covers the C# language side and asks about the Unity runtime constraints, since some .NET features behave differently there.
Ready to give your AI a specialist?
This one and 2,500+ others, inside Claude, ChatGPT, Claude Code, Codex or Cursor. Cancel anytime.