clean-architecture

Scaffold .NET Clean Architecture projects and audit architecture conformance.

Updated Jan 4, 2026
One-click install
npx skills add https://github.com/waelouf/cc-powerup-clean-architecture --skill clean-architecture-waelouf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-architecture
Source: https://github.com/waelouf/cc-powerup-clean-architecture/tree/main/skills/clean-architecture
Command: npx skills add https://github.com/waelouf/cc-powerup-clean-architecture --skill clean-architecture-waelouf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables developers to build, migrate, and maintain production-ready .NET Clean Architecture applications leveraging Domain-Driven Design, patterns such as Repository, Specification, and Service layers, while providing offline guidance and code generation.

Core Features & Use Cases

  • Scaffold complete Clean Architecture projects from scratch with interactive wizards supporting different API styles (FastEndpoints, Minimal APIs, Controllers).
  • Generate full CRUD features across all layers (Domain, Infrastructure, API) with tests, and ready-to-run code.
  • Assist legacy migrations by analyzing code structure and guiding step-by-step refactoring to clean architecture.
  • Audit projects for architecture violations and anti-patterns, with actionable fixes and pattern guidance.
  • Learn and apply best practices from the eShopOnWeb reference application with offline resources.

Quick Start

Start a new project with: /clean-arch:new and follow the interactive prompts to scaffold, then add features with /clean-arch:add-feature, and validate with /clean-arch:audit.

Frequently Asked Questions about clean-architecture

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

FAQPage Schema
How do I scaffold a .NET Clean Architecture project from scratch?

Generate full CRUD features across Domain, Infrastructure, and API layers with tests using the add-feature command. It produces ready-to-run code following Repository, Specification, and Service layer patterns.

Can I migrate legacy code to a clean architecture?

Migrate legacy code to clean architecture by analyzing existing structure and guiding step-by-step refactoring. It provides offline pattern libraries and templates to ensure reliable layer separation during migration.

How do I audit my .NET project for clean architecture violations?

Audit .NET projects for architecture violations and anti-patterns using the audit command. It identifies conformance issues across layers and provides actionable fixes with pattern guidance.

Does this clean architecture toolkit work with Domain-Driven Design?

This clean architecture toolkit works with Domain-Driven Design, incorporating patterns like Repository, Specification, and Service layers. It references the eShopOnWeb application for offline best practices.

What is the best way to generate CRUD features across clean architecture layers?

Generate full CRUD features across Domain, Infrastructure, and API layers with tests using the add-feature command. It produces ready-to-run code following Repository, Specification, and Service layer patterns.