RD

ronnythedev/dotnet-clean-architecture-skills

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

77 stars 品質 53 トレンド 18

27 生産グレードの.NETコードを生成するためのAI対応スキル — クリーンアーキテクチャ, CQRS, DDD. Claudeコード、GitHub Copilot、Cursorで動作します.

概要

コーディングアシスタントを教えることで、制作グレードの.NETコードを生成する方法 — クリーンアーキテクチャ、CQRS、DDD — パターンを毎回説明せずに。 クロードコード | コーデックス | GitHub Copilot | カーソル 「名前、価格、カテゴリで製品主体を作成する」 アシスタントは、パブリックセッター、バリデーションなし、イベントなし、矛盾するパターンで基本的なクラスを生成します。 「スキル04-dotnet-domain-entity-generatorを利用し、Name(必須、最大200)、価格(陽性小数)、およびカテゴリIdの外部キーで製品群を作成します。」 アシスタントは、プライベートセッター、 Create() Factory メソッド、ドメインイベント、タイプされたエラー、リポジトリインターフェイスで適切な DDD のエンティティティティティを生成し、コードベースで既にパターンをマッチングします。 インタラクティブインストーラ: エージェント(クロードコード、コーデックス、カーソル、GitHub Copilot)を選択し、必要なスキルをチェリーピックします。 クローンは必要ありません。 完全なCLI ドキュメントのnpmで dotnet-clean-archを参照してください。 直接クローンするか、またはリンクを交わすかを好むか?

概要(AI 翻訳)

29 AI対応スキル コーディングアシスタントを教えることにより、プロダクショングレードの.NETコードを生成する方法 — クリーンアーキテクチャ、CQRS、DDD — パターンを毎回説明することなく。

クラッドコード | コーデックス | GitHub Copilot | キュラー

前の (明白なプロンプト)

「商品名、価格、カテゴリーで商品を作る」

アシスタントは、パブリックセッター、バリデーションなし、イベントなし、矛盾するパターンで基本的なクラスを生成します。

アフター(スキルインストール)

「スキルを使う04-dotnet-domain-entity-generator」は、名前(必須、最大200)、価格(正解)、カテゴリIdの外部キーで製品集計ルートを作成します。

あなたのアシスタントは、プライベートセッター、 [Create() ファクトリーメソッド、ドメインイベント、タイプされたエラー、リポジトリインターフェイスで適切な DDD のエンティティティティを生成します。コードベースで既にパターンをマッチングします。

##30秒でスタート

インタラクティブインストーラ: エージェント(クロードコード、コーデックス、カーソル、GitHub Copilot)を選択し、必要なスキルをチェリーピックします。 クローンは必要ありません。 完全なCLI ドキュメントのnpmのdotnet-clean-archを参照してください。

直接クローンするか、またはリンクを交わすかを好むか? 代替品のためのインストールを参照してください。.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

.NET Clean Architecture Skills

29 AI-ready skills that teach your coding assistant how to generate production-grade .NET code — Clean Architecture, CQRS, DDD — without explaining the patterns every time.

Works with: Claude Code | Codex | GitHub Copilot | Cursor

Before (plain prompt)

“Create a Product entity with name, price, and category”

Your assistant generates a basic class with public setters, no validation, no events, inconsistent patterns.

After (with skills installed)

“Using skill 04-dotnet-domain-entity-generator, create a Product aggregate root with Name (required, max 200), Price (positive decimal), and a CategoryId foreign key”

Your assistant generates a proper DDD entity with private setters, a Create() factory method, domain events, typed errors, and a repository interface — matching the patterns already in your codebase.

Get started in 30 seconds

npx dotnet-clean-arch

Interactive installer: pick your agent (Claude Code, Codex, Cursor, GitHub Copilot), cherry-pick the skills you want, done. No clone required. See dotnet-clean-arch on npm for full CLI docs.

Prefer to clone or symlink directly? See Installation below for alternatives.

Then follow Recipe 0: Scaffold a New Project or jump to Recipe 1: Add a CRUD Feature if you already have a solution.


Skills Index

Why the dotnet- prefix? Every skill in this collection is namespaced with dotnet- so the pack is identifiable in mixed-pack environments and addressable in conversation. Instead of remembering an exact skill name, you can say “use the dotnet- skill for CQRS commands” and the agent will narrow down the candidates. The prefix also prevents collisions with other skill packs that might use generic names like repository-pattern or unit-testing. Skill folders follow the pattern -dotnet-/, where the numeric prefix establishes a stable learning order and the dotnet- portion matches the name field in each skill’s frontmatter.

Core Architecture Skills

# Skill Description Key Templates
1 dotnet-clean-architecture Project scaffolding Solution structure, layer setup, DI configuration
2 dotnet-cqrs-command-generator Write operations Commands, Handlers, Validators
3 dotnet-cqrs-query-generator Read operations Queries, Dapper SQL, Response DTOs
4 dotnet-domain-entity-generator Domain modeling Entities, Value Objects, Factory methods
5 dotnet-repository-pattern Data access abstraction Repository interfaces, EF Core implementations
6 dotnet-ef-core-configuration Database mapping Fluent API, Relationships, Indexes
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add ronnythedev/dotnet-clean-architecture-skills
MCP 初心者?mcpskill.org のガイドから始めましょう →