Skillpedia
واجهات API والخوادم (backend)33k · #8747

csharp-pro

ما الذي تفعله

تمنح هذه المهارة وكيلك إرشادات خبيرة لكتابة تطبيقات .NET حديثة بلغة C#. وهي للمطورين الذين يبنون مشاريع ASP.NET أو Entity Framework أو Blazor.

متى تستخدمها

  • ✓عندما تبني تطبيق C# أو .NET أو تعيد هيكلته.
  • ✓عندما تحتاج إلى كود غير متزامن لا يعطّل التنفيذ، أو مساعدة في Task Parallel Library.
  • ✓عندما تريد كود C# نظيفًا مع اختبارات باستخدام xUnit أو NUnit أو Moq.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/csharp-pro/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أعد هيكلة خدمة C# هذه لتستخدم السجلات وasync/await، وأضف اختبارات xUnit.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يستخدم الوكيل ميزات C# الحديثة ومبادئ تصميم سليمة لكتابة الكود. ويسعى أيضًا إلى أداء جيد واختبارات وحدة ذات معنى.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من 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.

الأسئلة الشائعة

أي أطر تغطيها؟

تغطي ASP.NET Core وEntity Framework وBlazor.

أي أدوات اختبار تذكرها؟

تذكر xUnit وNUnit وMoq وFluentAssertions.

هل تغطي أنماط التصميم؟

نعم، تتضمن مبادئ SOLID وأنماط المؤسسات الشائعة.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
33k
الترتيب
#8747
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة