dotnet-clean-architecture

Scaffold .NET 8 Minimal API modules with Clean Architecture boundaries.

171|10|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/fmflurry/settings-opencode --skill dotnet-clean-architecture-fmflurry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-clean-architecture
Source: https://github.com/fmflurry/settings-opencode/tree/main/.claude/skills/dotnet-clean-architecture
Command: npx skills add https://github.com/fmflurry/settings-opencode --skill dotnet-clean-architecture-fmflurry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a ready-to-use scaffold for building modular .NET 8 Minimal API applications that adhere to Clean Architecture (Application, Core, Infrastructure), Hexagonal port/adapter boundaries, and module isolation, reducing setup time and ensuring architectural consistency.

Core Features & Use Cases

  • Automatic module skeletons including Module, Core, and Infrastructure layers, plus reflection-based module discovery.
  • Guidance for creating endpoints, use cases, and adapters with strict port/adapter boundaries.
  • Ideal for creating new features, refactoring toward modularity, or introducing hexagonal boundaries in existing projects.

Quick Start

Generate a complete .NET 8 Minimal API module scaffold following Clean Architecture for a new module.

Frequently Asked Questions about dotnet-clean-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a .NET 8 Minimal API project using Clean Architecture boundaries?

To scaffold .NET 8 Minimal API projects with Clean Architecture, this tool automatically generates Application, Core, and Infrastructure layers while enforcing module isolation and endpoint use-case patterns.

What is the best way to enforce zero infrastructure dependencies in a Clean Architecture core?

Enforcing zero infrastructure dependencies in Clean Architecture core requires applying strict module contracts and Hexagonal port/adapter boundaries, which this scaffolding tool implements natively during module generation.

Can I use this to add new features to existing modular .NET applications?

Yes, you can use this scaffolding tool to add new features to existing modular .NET applications by generating isolated modules equipped with reflection-based discovery and dedicated Module class registration.

How does reflection-based module discovery work in .NET Minimal API architectures?

Reflection-based module discovery in .NET Minimal API architectures works by scanning assemblies for dedicated Module classes that handle dependency injection registration, automatically isolating endpoints and use cases.

Does this scaffolding tool support Hexagonal architecture boundaries and adapters?

Yes, this scaffolding tool supports Hexagonal architecture by generating strict port/adapter boundaries, ensuring Core layers remain isolated from infrastructure integrations while standardizing endpoint and use-case patterns.