Langsung ke konten
Skillpedia
API & server (backend)48k · #4301

csharp-pro

Fungsinya

Agen AI ini membantu menulis kode C# modern, dengan memanfaatkan fitur-fitur canggih dan mengikuti praktik pemrograman terbaik. Agen ini juga dapat membantu menguji dan mengoptimalkan performa kode Anda.

Kapan dipakai

  • ✓Ketika Anda perlu menulis kode C# baru yang modern.
  • ✓Untuk meninjau atau memperbaiki kode C# yang sudah ada.
  • ✓Untuk mengoptimalkan kecepatan dan penggunaan memori program Anda.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/csharp-pro/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/csharp-pro/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Tinjau kode C# ini untuk memastikan kodenya benar, cepat, dan sudah diuji dengan baik.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agen ini memahami bahasa C# dan fitur .NET terbaru, seperti 'records' dan 'async/await'. Ia menerapkan prinsip desain yang baik dan menulis pengujian untuk memastikan semuanya berjalan sesuai harapan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Use this skill when

Implement or review C#/.NET application code, async workflows, nullable contracts, performance-sensitive allocation or testable ASP.NET/EF boundaries.

Do not use this skill when

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

Instructions

  • Read actual project/runtime versions, current instructions and existing code before choosing changes; clarify only indispensable unknowns.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

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. Use only language/runtime features supported by the actual project; distinguish a proposed optimization from a measured BenchmarkDotNet result
  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.

Example

User request:

Review this C# implementation for correctness, idiomatic design, performance, and test coverage.

Limitations

  • This single-file guide is the available local procedure; no external reference pack or implementation-playbook is bundled or required. Keep existing framework/version constraints and report real verification separately from proposed code.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Pertanyaan umum

Apa itu 'records' di C#?

'Records' adalah jenis class khusus di C# yang memudahkan pembuatan objek immutable (tidak dapat diubah), dan berguna untuk merepresentasikan data.

Apa arti 'async/await'?

'Async/await' adalah cara menulis kode untuk menjalankan tugas yang memakan waktu (seperti mengambil data dari internet) tanpa membuat program utama macet.

Apa itu 'unit tests'?

Unit test adalah potongan kode kecil yang memeriksa apakah bagian tertentu dari program Anda berfungsi dengan benar secara mandiri.

Detail

Deskripsi asli dari pembuat

Write modern C# code with advanced features like records, pattern matching, and async/await. Use for version-compatible .NET implementation and evidence-based testing/performance review.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4301
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa