Csharp Dotnet Developmentのロゴ

Csharp Dotnet Development

コミュニティ
peterbamuhigire
csharp-dotnet-development

Use when building, reviewing, modernising, or debugging C# and .NET applications, including ASP.NET Core, EF Core, background services, concurrency, .NET MAUI, testing, packaging, and AI integration.

概要

公開者peterbamuhigire
リポジトリchwezi-dev-engine
スキル名csharp-dotnet-development
スター
29
フォーク
6
同梱ファイル
8
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 8個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    peterbamuhigireがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルCsharp Dotnet DevelopmentをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/languages/csharp-dotnet-development
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/languages/csharp-dotnet-development .claude/skills/csharp-dotnet-development
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCsharp Dotnet Developmentを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にCsharp Dotnet Developmentを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Csharp Dotnet Developmentは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

C# And .NET Development

Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.

Use When

  • Building or reviewing C#/.NET code, services, APIs, workers, desktop/mobile apps, or libraries.
  • Choosing .NET target frameworks, SDK versions, project layout, dependency boundaries, or deployment shape.
  • Implementing ASP.NET Core endpoints, EF Core repositories, background jobs, async/parallel code, MAUI UI, Azure services, or .NET AI features.
  • Modernizing older .NET Framework, Web Forms, WPF, WinForms, or early .NET Core code to current .NET.

Do Not Use When

  • The work is only Avalonia UI; use avalonia-desktop-development for AXAML, Avalonia MVVM, styling, and packaging.
  • The work is only generic architecture, data modelling, security, or CI/CD with no .NET-specific decisions; use the specialist skill first and return here for implementation details.

Required Inputs

ArtefactRequired?Purpose
Target framework, SDK, hosting model, and deployment targetyesFix runtime and compatibility boundaries
Solution, failures, logs, and testsyesGround work in repository evidence
Integrations, security model, and scale assumptionsconditionalShape operational decisions

Workflow

  1. Identify the application shape: library, CLI, ASP.NET Core, worker, MAUI, desktop, Azure function, microservice, or AI-enabled service.
  2. Verify the target framework and SDK. Prefer current LTS for production unless the project is explicitly pinned or compatibility requires otherwise.
  3. Inspect project boundaries. Keep domain logic outside controllers, pages, XAML code-behind, EF DbContext, hosted services, and framework glue.
  4. Apply C# idioms from references/csharp-language-and-runtime.md before adding abstractions.
  5. Load only the relevant deep reference:
    • APIs/services: references/aspnet-core-and-services.md
    • EF Core/data: references/ef-core-data-access.md
    • MAUI UI: references/dotnet-maui-cross-platform-ui.md
    • Async/parallel work: references/concurrency-and-parallelism.md
    • Testing/release: references/testing-packaging-and-operations.md
    • AI integration: references/ai-in-dotnet.md
    • Source synthesis: references/source-study-notes.md
  6. Implement or review with security, cancellation, structured logging, observability, performance, and testability as first-class concerns.
  7. Validate with dotnet restore, dotnet build, dotnet test, analyzers, formatters, and a realistic runtime smoke test when a project is available.

Quality Standards

  • Treat nullable reference types, analyzers, warnings, and source-generated validation as quality gates, not optional polish.
  • Use dependency injection and options binding deliberately; keep service lifetimes correct and avoid service locator patterns.
  • Make all I/O async and cancellation-aware. Do not block on Task.Result, .Wait(), or .GetAwaiter().GetResult() in app code.
  • Validate every boundary: HTTP, CLI args, config, queues, files, webhooks, external API responses, and AI/tool outputs.
  • Prefer records/immutable value objects for data transfer and domain values; use classes for behaviour and identity.
  • Keep EF Core queries explicit, measured, and projection-focused; avoid lazy-loading surprises on request paths.
  • Add logging scopes, correlation IDs, health checks, metrics, and actionable errors before calling a service production-ready.
  • Use platform-specific UI only behind thin adapters; keep MAUI view models and domain services testable without device APIs.

Anti-Patterns

  • Fat controllers, fat pages, fat hosted services, or XAML code-behind containing domain rules.
  • async void outside UI event handlers, fire-and-forget tasks without supervised queues, or ignored CancellationToken.
  • Returning EF entities directly from public APIs when contracts, privacy, or versioning matter.
  • Global static state for clocks, configuration, database access, HTTP clients, or current user context.
  • Swallowing exceptions, logging without context, or exposing raw exception details to users.
  • Hand-written cryptography, custom authentication/session systems, or direct secret reads from source files.
  • Treating .NET Framework, .NET, .NET Core, ASP.NET, ASP.NET Core, MAUI, WPF, and Avalonia as interchangeable.

Outputs

  • Code changes, review findings, architecture decisions, migration plans, test strategy, release checklist, or implementation guidance.
  • Explicit assumptions about target framework, platform support, data stores, threading, deployment, and compatibility.
  • Validation evidence: commands run, tests added or skipped with reason, runtime smoke checks, and residual risk.

Evidence Produced

CategoryArtifactFormatExample
Correctness.NET verification logMarkdown or terminal summary with restore/build/test/analyzer/runtime smoke resultsdocs/dotnet/verification.md
CorrectnessBoundary mapMarkdown table of projects, responsibilities, dependencies, and forbidden referencesdocs/dotnet/project-boundaries.md
OperabilityRelease readiness checklistMarkdown checklist for config, health, telemetry, packaging, rollback, and ownerdocs/dotnet/release-readiness.md

References

  • references/csharp-language-and-runtime.md: load for language idioms, C# 12/13/14 features, project files, nullability, records, spans, exceptions, and runtime choices.
  • references/aspnet-core-and-services.md: load for APIs, minimal APIs, controllers, middleware, auth, OpenAPI, Blazor, SignalR, hosted services, and Azure functions.
  • references/ef-core-data-access.md: load for EF Core modelling, migrations, query performance, transactions, concurrency, JSON/vector features, and repository boundaries.
  • references/dotnet-maui-cross-platform-ui.md: load for .NET MAUI app structure, XAML, MVVM, platform services, device features, and packaging.
  • references/concurrency-and-parallelism.md: load for async workflows, channels, task parallelism, dataflow, cancellation, locking, and CPU-bound work.
  • references/testing-packaging-and-operations.md: load for test strategy, analyzers, CI, publishing, containers, NativeAOT, trimming, health checks, and observability.
  • references/ai-in-dotnet.md: load for Semantic Kernel, Microsoft.Extensions.AI, embeddings, RAG, tool calling, safety, and telemetry.
  • references/source-study-notes.md: load when you need the source-book map and synthesis boundaries used to prepare this skill.

Project Defaults

Prefer this baseline unless the target project already has stronger conventions:

  • Directory.Build.props with nullable enabled, implicit usings enabled, latest stable language version only when the SDK supports it, warnings treated seriously, and analyzers on.
  • One solution with explicit projects: Domain, Application, Infrastructure, Api/Worker/Maui, and Tests for non-trivial systems.
  • External dependencies behind interfaces or typed clients; contracts versioned separately from EF entities and UI models.
  • IOptions<T> with validated configuration; secrets from environment, user secrets for local development, or managed secret stores.
  • TimeProvider, ILogger<T>, IHttpClientFactory, IHostedService/BackgroundService, and CancellationToken instead of ad hoc infrastructure.
  • dotnet format, analyzers, unit tests, integration tests, and smoke tests in CI.

Review Checklist

  • Does each project have a clear reason to exist, and are dependencies one-way?
  • Are public contracts stable, documented, validated, and decoupled from persistence?
  • Are async calls cancellation-aware and free from sync-over-async?
  • Are secrets, auth, authorization, CORS, cookies, tokens, and data access scoped correctly?
  • Are database queries projected, indexed, bounded, and observable?
  • Are tests proving domain rules, API contracts, persistence behaviour, and critical failure paths?
  • Can production operators diagnose startup, dependency failure, queue backlog, request latency, and release version quickly?

Decision Rules

ConditionAction
Supported target framework existsImprove in place and preserve public contracts
Upgrade crosses compatibility boundariesStage migration with rollback points
Failure is runtime-specificReproduce against the pinned SDK first

Capability Contract

Read and search are required. Editing and execution require task authorisation; network access is optional for documentation and package verification.

Degraded Mode

If execution is unavailable, return a code review and exact verification commands without claiming build or test success.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Csharp Dotnet Development」では何ができますか?

Use when building, reviewing, modernising, or debugging C# and .NET applications, including ASP.NET Core, EF Core, background services, concurrency, .NET MAUI, testing, packaging, and AI integration.

TypingMindでCsharp Dotnet Developmentを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Csharp Dotnet Developmentはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCsharp Dotnet Developmentをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/languages/csharp-dotnet-developmentを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Csharp Dotnet Developmentを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Csharp Dotnet Developmentは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCsharp Dotnet Developmentを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Csharp Dotnet Development」は無料ですか?

はい。peterbamuhigireがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇