Логотип 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, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 8

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: peterbamuhigire. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Csharp Dotnet Development в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/languages/csharp-dotnet-development
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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

Включите навык Csharp Dotnet Development в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Csharp Dotnet Development, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Csharp Dotnet Development не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл 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.

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Csharp Dotnet Development в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Csharp Dotnet Development — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Csharp Dotnet Development в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/languages/csharp-dotnet-development. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Csharp Dotnet Development?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Csharp Dotnet Development?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Csharp Dotnet Development: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Csharp Dotnet Development?

Да. Навык опубликован на GitHub автором peterbamuhigire по лицензии MIT. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇