Clean Arch

Scaffolds and enforces hexagonal architecture with the Result pattern (no exceptions for expected failures) across backend, fullstack and web projects. Use this whenever the user starts a new backend, API, server or fullstack project; asks for hexagonal architecture, ports and adapters, clean architecture, a domain/application/infrastructure split, a pnpm monorepo, or a Result/Either error model instead of throwing; asks to add a feature, vertical, use case, port, adapter or endpoint to a project that already follows this layout; or asks to audit an existing repository for layering violations, inconsistent error-to-status mapping, or architecture rules that are silently not enforced. Also use when the user mentions Fastify, .NET, Spring or Go server scaffolding with a clean core.

enmanuelmag Updated

File contents

enmanuelmag/cardor-skills commit 9ecc2fff7f

Frequently asked questions

npx get-skill add enmanuelmag/clean-arch