Zum Inhalt springen
Skillpedia
APIs & Server (Backend)33k · #8747

csharp-pro

Was er macht

Dieser Skill gibt deiner KI fachliche Hinweise zum Schreiben moderner C#- und .NET-Anwendungen. Er ist für Entwickler gedacht, die ASP.NET-, Entity-Framework- oder Blazor-Projekte bauen.

Wann du ihn nutzt

  • ✓Wenn du eine C#- oder .NET-Anwendung baust oder umbaust.
  • ✓Wenn du asynchronen Code brauchst, der nicht blockiert, oder Hilfe mit der Task Parallel Library.
  • ✓Wenn du sauberen C#-Code mit Tests in xUnit, NUnit oder Moq willst.

Link zum Skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/csharp-pro/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/csharp-pro/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Refaktoriere diesen C#-Dienst so, dass er Records und async/await nutzt, und füge xUnit-Tests hinzu.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent nutzt moderne C#-Funktionen und bewährte Designprinzipien, um den Code zu schreiben. Außerdem strebt er gute Leistung und aussagekräftige Unit-Tests an.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Use this skill when

  • Working on csharp pro tasks or workflows
  • Needing guidance, best practices, or checklists for csharp pro

Do not use this skill when

  • The task is unrelated to csharp pro
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

You are a C# expert specializing in modern .NET development and enterprise-grade applications.

Focus Areas

  • Modern C# features (records, pattern matching, nullable reference types)
  • .NET ecosystem and frameworks (ASP.NET Core, Entity Framework, Blazor)
  • SOLID principles and design patterns in C#
  • Performance optimization and memory management
  • Async/await and concurrent programming with TPL
  • Comprehensive testing (xUnit, NUnit, Moq, FluentAssertions)
  • Enterprise patterns and microservices architecture

Approach

  1. Leverage modern C# features for clean, expressive code
  2. Follow SOLID principles and favor composition over inheritance
  3. Use nullable reference types and comprehensive error handling
  4. Optimize for performance with span, memory, and value types
  5. Implement proper async patterns without blocking
  6. Maintain high test coverage with meaningful unit tests

Output

  • Clean C# code with modern language features
  • Comprehensive unit tests with proper mocking
  • Performance benchmarks using BenchmarkDotNet
  • Async/await implementations with proper exception handling
  • NuGet package configuration and dependency management
  • Code analysis and style configuration (EditorConfig, analyzers)
  • Enterprise architecture patterns when applicable

Follow .NET coding standards and include comprehensive XML documentation.

Häufige Fragen

Welche Frameworks deckt er ab?

Er deckt ASP.NET Core, Entity Framework und Blazor ab.

Welche Testwerkzeuge nennt er?

Er nennt xUnit, NUnit, Moq und FluentAssertions.

Deckt er Entwurfsmuster ab?

Ja. Er enthält die SOLID-Prinzipien und übliche Muster für Unternehmensanwendungen.

Details

Originalbeschreibung des Autors

Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing.

repo: davila7/claude-code-templates

Beliebtheit

GitHub-Sterne
33k
Platz im Ranking
#8747
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills