本文へスキップ
Skillpedia
APIとサーバー(バックエンド)33k · #8747

csharp-pro

できること

このスキルにより、AIは最新のC#と.NETアプリケーションを書くための専門的な指針を使えます。ASP.NET、Entity Framework、Blazorのプロジェクトを作る開発者向けです。

使う場面

  • ✓C#または.NETのアプリケーションを作成またはリファクタリングするとき。
  • ✓ブロックしない非同期コードや、Task Parallel Libraryについての助けが必要なとき。
  • ✓xUnit、NUnit、Moqを使ったテスト付きの、きれいなC#コードがほしいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/csharp-pro/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このC#のサービスを、レコードとasync/awaitを使うように書き直して、xUnitのテストを追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、最新の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
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル