clean-architecture-frontend
CommunityEnforce clean architecture in Next.js apps.
Software Engineering#Next.js#architecture-patterns#di#clean-architecture#ports-and-adapters#use-cases
AuthorJordiNodeJS
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a structured blueprint for implementing Clean Architecture in Next.js 16 App Router projects, helping teams separate concerns and maintainability.
Core Features & Use Cases
- Layered architecture: Domain, Application, Infrastructure, Delivery with strict dependency direction.
- Use cases & ports: Define use cases as interactors and ports as interfaces to decouple business rules from frameworks.
- DI-friendly: Lightweight factory approach to compose repositories and services for UI layers.
Quick Start
Create or refactor a feature by moving business rules from UI code into a domain model and a corresponding use-case, then wire it through a factory in the Delivery layer to execute the use case from a Server Action.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: clean-architecture-frontend Download link: https://github.com/JordiNodeJS/.github-config/archive/main.zip#clean-architecture-frontend Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.