clean-architecture

Guide Clean Architecture, DDD, and SOLID implementation across layered boundaries.

4|Updated Sep 2, 2019
One-click install
npx skills add https://github.com/AlexanderV/Seqeron --skill clean-architecture-alexanderv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-architecture
Source: https://github.com/AlexanderV/Seqeron/tree/main/.claude/skills/clean-architecture
Command: npx skills add https://github.com/AlexanderV/Seqeron --skill clean-architecture-alexanderv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides comprehensive guidance to implement Clean Architecture, DDD, and SOLID principles, reducing cognitive load and architectural drift.

Core Features & Use Cases

  • Layered guidance across Domain, Application, Infrastructure, and Presentation aligned to Clean Architecture.
  • DDD tactical patterns: Entities, Value Objects, Aggregates, Repositories, and Domain Events, plus a catalog of design patterns.
  • CQRS and related pattern guidance for commands, queries, ports/adapters, and testing strategies.
  • Practical project structure, decision trees, and anti-patterns to aid architecture reviews and refactoring.

Quick Start

Analyze a project to identify current boundaries and apply the Dependency Rule to outline an initial structure and decisions.

Frequently Asked Questions about clean-architecture

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

FAQPage Schema
How do I structure my software project using Clean Architecture and DDD patterns?

Structure your software project using Clean Architecture by separating Domain, Application, Infrastructure, and Presentation layers. This Skill guides implementing DDD tactical patterns like Entities, Aggregates, and Repositories to enforce inward dependencies and deliver modular, testable code.

What is the best way to refactor a monolithic application into hexagonal architecture?

The best way to refactor into hexagonal architecture is analyzing current boundaries and applying the Dependency Rule. This Skill outlines initial structures and decision trees for ports and adapters, reducing architectural drift during refactoring.

When do I need CQRS and domain events in my software design?

You need CQRS and domain events when separating command and query responsibilities for scalable software. This Skill provides guidance on applying these patterns alongside SOLID principles during design reviews and new feature development across domains.

Can I use onion architecture for an existing codebase with high coupling?

You can use onion architecture for existing codebases by enforcing layered boundaries and inward dependencies. This Skill identifies anti-patterns and provides practical project structures to resolve decision fatigue and reduce coupling.

Why does architectural drift happen and how do SOLID principles prevent it?

Architectural drift happens when layered boundaries are not enforced, and SOLID principles prevent it by guiding consistent pattern choices. This Skill enforces inward dependencies and provides anti-pattern catalogs to maintain modular software.