Logo vun Csharp Dotnet Development

Csharp Dotnet Development

Communautéit
peterbamuhigire
csharp-dotnet-development

Use when building, reviewing, modernising, or debugging C# and .NET applications, including ASP.NET Core, EF Core, background services, concurrency, .NET MAUI, testing, packaging, and AI integration.

Iwwersiicht

Editeurpeterbamuhigire
Repositorychwezi-dev-engine
Skill-Nummcsharp-dotnet-development
Stären
29
Forks
6
Matgeliwwert Fichieren
8
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 8 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum peterbamuhigire op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Csharp Dotnet Development an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/languages/csharp-dotnet-development
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/languages/csharp-dotnet-development .claude/skills/csharp-dotnet-development
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Csharp Dotnet Development an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Csharp Dotnet Development automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Csharp Dotnet Development net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

C# And .NET Development

Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.

Use When

  • Building or reviewing C#/.NET code, services, APIs, workers, desktop/mobile apps, or libraries.
  • Choosing .NET target frameworks, SDK versions, project layout, dependency boundaries, or deployment shape.
  • Implementing ASP.NET Core endpoints, EF Core repositories, background jobs, async/parallel code, MAUI UI, Azure services, or .NET AI features.
  • Modernizing older .NET Framework, Web Forms, WPF, WinForms, or early .NET Core code to current .NET.

Do Not Use When

  • The work is only Avalonia UI; use avalonia-desktop-development for AXAML, Avalonia MVVM, styling, and packaging.
  • The work is only generic architecture, data modelling, security, or CI/CD with no .NET-specific decisions; use the specialist skill first and return here for implementation details.

Required Inputs

ArtefactRequired?Purpose
Target framework, SDK, hosting model, and deployment targetyesFix runtime and compatibility boundaries
Solution, failures, logs, and testsyesGround work in repository evidence
Integrations, security model, and scale assumptionsconditionalShape operational decisions

Workflow

  1. Identify the application shape: library, CLI, ASP.NET Core, worker, MAUI, desktop, Azure function, microservice, or AI-enabled service.
  2. Verify the target framework and SDK. Prefer current LTS for production unless the project is explicitly pinned or compatibility requires otherwise.
  3. Inspect project boundaries. Keep domain logic outside controllers, pages, XAML code-behind, EF DbContext, hosted services, and framework glue.
  4. Apply C# idioms from references/csharp-language-and-runtime.md before adding abstractions.
  5. Load only the relevant deep reference:
    • APIs/services: references/aspnet-core-and-services.md
    • EF Core/data: references/ef-core-data-access.md
    • MAUI UI: references/dotnet-maui-cross-platform-ui.md
    • Async/parallel work: references/concurrency-and-parallelism.md
    • Testing/release: references/testing-packaging-and-operations.md
    • AI integration: references/ai-in-dotnet.md
    • Source synthesis: references/source-study-notes.md
  6. Implement or review with security, cancellation, structured logging, observability, performance, and testability as first-class concerns.
  7. Validate with dotnet restore, dotnet build, dotnet test, analyzers, formatters, and a realistic runtime smoke test when a project is available.

Quality Standards

  • Treat nullable reference types, analyzers, warnings, and source-generated validation as quality gates, not optional polish.
  • Use dependency injection and options binding deliberately; keep service lifetimes correct and avoid service locator patterns.
  • Make all I/O async and cancellation-aware. Do not block on Task.Result, .Wait(), or .GetAwaiter().GetResult() in app code.
  • Validate every boundary: HTTP, CLI args, config, queues, files, webhooks, external API responses, and AI/tool outputs.
  • Prefer records/immutable value objects for data transfer and domain values; use classes for behaviour and identity.
  • Keep EF Core queries explicit, measured, and projection-focused; avoid lazy-loading surprises on request paths.
  • Add logging scopes, correlation IDs, health checks, metrics, and actionable errors before calling a service production-ready.
  • Use platform-specific UI only behind thin adapters; keep MAUI view models and domain services testable without device APIs.

Anti-Patterns

  • Fat controllers, fat pages, fat hosted services, or XAML code-behind containing domain rules.
  • async void outside UI event handlers, fire-and-forget tasks without supervised queues, or ignored CancellationToken.
  • Returning EF entities directly from public APIs when contracts, privacy, or versioning matter.
  • Global static state for clocks, configuration, database access, HTTP clients, or current user context.
  • Swallowing exceptions, logging without context, or exposing raw exception details to users.
  • Hand-written cryptography, custom authentication/session systems, or direct secret reads from source files.
  • Treating .NET Framework, .NET, .NET Core, ASP.NET, ASP.NET Core, MAUI, WPF, and Avalonia as interchangeable.

Outputs

  • Code changes, review findings, architecture decisions, migration plans, test strategy, release checklist, or implementation guidance.
  • Explicit assumptions about target framework, platform support, data stores, threading, deployment, and compatibility.
  • Validation evidence: commands run, tests added or skipped with reason, runtime smoke checks, and residual risk.

Evidence Produced

CategoryArtifactFormatExample
Correctness.NET verification logMarkdown or terminal summary with restore/build/test/analyzer/runtime smoke resultsdocs/dotnet/verification.md
CorrectnessBoundary mapMarkdown table of projects, responsibilities, dependencies, and forbidden referencesdocs/dotnet/project-boundaries.md
OperabilityRelease readiness checklistMarkdown checklist for config, health, telemetry, packaging, rollback, and ownerdocs/dotnet/release-readiness.md

References

  • references/csharp-language-and-runtime.md: load for language idioms, C# 12/13/14 features, project files, nullability, records, spans, exceptions, and runtime choices.
  • references/aspnet-core-and-services.md: load for APIs, minimal APIs, controllers, middleware, auth, OpenAPI, Blazor, SignalR, hosted services, and Azure functions.
  • references/ef-core-data-access.md: load for EF Core modelling, migrations, query performance, transactions, concurrency, JSON/vector features, and repository boundaries.
  • references/dotnet-maui-cross-platform-ui.md: load for .NET MAUI app structure, XAML, MVVM, platform services, device features, and packaging.
  • references/concurrency-and-parallelism.md: load for async workflows, channels, task parallelism, dataflow, cancellation, locking, and CPU-bound work.
  • references/testing-packaging-and-operations.md: load for test strategy, analyzers, CI, publishing, containers, NativeAOT, trimming, health checks, and observability.
  • references/ai-in-dotnet.md: load for Semantic Kernel, Microsoft.Extensions.AI, embeddings, RAG, tool calling, safety, and telemetry.
  • references/source-study-notes.md: load when you need the source-book map and synthesis boundaries used to prepare this skill.

Project Defaults

Prefer this baseline unless the target project already has stronger conventions:

  • Directory.Build.props with nullable enabled, implicit usings enabled, latest stable language version only when the SDK supports it, warnings treated seriously, and analyzers on.
  • One solution with explicit projects: Domain, Application, Infrastructure, Api/Worker/Maui, and Tests for non-trivial systems.
  • External dependencies behind interfaces or typed clients; contracts versioned separately from EF entities and UI models.
  • IOptions<T> with validated configuration; secrets from environment, user secrets for local development, or managed secret stores.
  • TimeProvider, ILogger<T>, IHttpClientFactory, IHostedService/BackgroundService, and CancellationToken instead of ad hoc infrastructure.
  • dotnet format, analyzers, unit tests, integration tests, and smoke tests in CI.

Review Checklist

  • Does each project have a clear reason to exist, and are dependencies one-way?
  • Are public contracts stable, documented, validated, and decoupled from persistence?
  • Are async calls cancellation-aware and free from sync-over-async?
  • Are secrets, auth, authorization, CORS, cookies, tokens, and data access scoped correctly?
  • Are database queries projected, indexed, bounded, and observable?
  • Are tests proving domain rules, API contracts, persistence behaviour, and critical failure paths?
  • Can production operators diagnose startup, dependency failure, queue backlog, request latency, and release version quickly?

Decision Rules

ConditionAction
Supported target framework existsImprove in place and preserve public contracts
Upgrade crosses compatibility boundariesStage migration with rollback points
Failure is runtime-specificReproduce against the pinned SDK first

Capability Contract

Read and search are required. Editing and execution require task authorisation; network access is optional for documentation and package verification.

Degraded Mode

If execution is unavailable, return a code review and exact verification commands without claiming build or test success.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Csharp Dotnet Development?

Use when building, reviewing, modernising, or debugging C# and .NET applications, including ASP.NET Core, EF Core, background services, concurrency, .NET MAUI, testing, packaging, and AI integration.

Firwat Csharp Dotnet Development op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Csharp Dotnet Development besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Csharp Dotnet Development an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/languages/csharp-dotnet-development an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Csharp Dotnet Development benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Csharp Dotnet Development benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Csharp Dotnet Development domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Csharp Dotnet Development gratis?

Jo. De Skill gëtt vum peterbamuhigire ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇