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) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أعد هيكلة خدمة 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
- Leverage modern C# features for clean, expressive code
- Follow SOLID principles and favor composition over inheritance
- Use nullable reference types and comprehensive error handling
- Optimize for performance with span, memory, and value types
- Implement proper async patterns without blocking
- 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.
الشعبية
- نجوم GitHub
- 33k
- الترتيب
- #8747
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
owasp-security
33kتعلّم وكيلك إرشادات OWASP الأمنية لتطبيقات الويب وواجهات API والموبايل والحاويات ووكلاء الذكاء الاصطناعي، ليكشف نقاط الضعف الشائعة ويقترح الإصلاحات.
agent-management
33kتتيح لوكيلك إنشاء وكلاء ذكاء اصطناعي وسردهم وإسباتهم وإيقاظهم وإعادة تسميتهم وحذفهم عبر أداة سطر الأوامر AI Maestro، مع إدارة دورة حياة كل وكيل.
agent-messaging
33kتتيح لوكيلك إرسال الرسائل الموقعة بين وكلاء الذكاء الاصطناعي واستقبالها والرد عليها، باستخدام بروتوكول المراسلة بين الوكلاء، في الغالب على جهازك.
docs-search
33kتتيح لوكيلك البحث في توثيق الشيفرة المُنشأ تلقائياً عن توقيعات الدوال وتعريفات الكلاسات والتعليقات، فيتحقق من الواجهة البرمجية الفعلية قبل تعديل الشيفرة.
مهارات مشابهة
api-connector-builder
280kيبني وكيلك اتصالات API جديدة على النمط الموجود، ويفيد عندما تحتاج إلى تكامل إضافي دون ابتكار طريقة جديدة للعمل.
api-design
280kيساعد وكيلك على تصميم واجهات REST API وفق أفضل الممارسات، ويوضح كيف تتواصل وكيف تُعرض الأخطاء وكيف تُنظَّم البيانات.
backend-patterns
280kيساعد وكيلك على أنماط بنية الخادم وتحسين قاعدة البيانات، ويفيد في بناء الشيفرة التي تعمل على الخادم أو مراجعتها.